blob: 32da933f8bd50e94b794a930a3aee1d8d719abc5 [file] [log] [blame]
{
"name": "VRFoundationToolkit",
"version": "0.1.3",
"summary": "Extends NSFoundation with categories, macros & classes. Effective Obj-C developer's mini-toolkit)",
"description": "Extends NSFoundation with categories, macros & classes.\n\n## Categories\n* __NSArray+VRArgument__ - sequentially passes each element of array to provided selector of target object or class.\n* __NSArray+VRCheckMembers__ - checks if all members of array are of specified class.\n* __NSArray+VRIndexes__ - returns indexes set of passed objects. \n* __NSBundle+VRDisplayName__ - obtains localized display name of bundle with fallback to non-nil string precompiler constant if name is not accessible.\n* __NSDate+VRDurations__ - calculates how much days, hours, minutes between two dates. Returns end of day. Compare two dates by specified NSCalendarUnit units. Return NSDateComponents for specified NSCalendarUnit units. Returns default NSCalendar.\n* __NSFileManager+VRDocumentsDirectory__ - quick access for Documents directory and Temporary directory paths. Random file names generation. etc.\n* __NSMutableDictionary+VRExchangeKeys__ - exchanges keys in dictionary.\n* __NSObject+VRPropertiesProcessing__ - process object properties with blocks. Hash, equality & encode/decode by properties for any object.\n* __NSObject+VRProtocolConformation__ - checks if object/class responds to all selectors required by protocol. Useful as precondition check of object in delegate setter.\n* __RTProtocol+VRMethods__ - returns methods defined in protocol.\n* __NSString+VRmd5__ - MD5 hash on string.\n* __NSTimer+VRWithBlock__ - timer that executes block instead of selector.\n* __NSOperationQueue+VRNamedBlock__ - add named block operation to queue.\n\n## Macros\n* __VREnumXXX__ - generates enums with utility functions. NSStringFromXXX returns enum constant by value. isValidXXX checks range of enum value.\n* __VRLOGxxx__ - multilevel logging & assertion macros. Could be connected to preferable logging system. VRPRECONDITIONxxx macros to implement light design by contract.\n* __VRKeyName__ - stringifyes expression to key for `-[NSCoder encodeObject:withKey:]`. Useful to make names via help of XCode autocompletion.\n* __VRSingleton__ - return singleton.\n* __VROBJCTYPExxx__ - returns Objective-C type string representation of the passed variable (or type). VRIS_TYPE_EQUAL_TO_TYPE(V1, V2) compares Objective-C types of two passed values/types.\n* __VRBundledName__ - returns NSString with reverse dns bundle name followed by passed NAME at the end of the string.\n* __VRRandom__ - returns random float value calculated via result from random().\n \n## Classes\n* __VRURLConnectionChecker__ - checks if default site or specified URL is accessible with completion and error blocks.\n\n## Functions\n* __NSComparisonInvertedResult__ - inverts the comparison result.\n* __VRCanPerform__ - checks if object conforms to protocol & responds to selector. Usefull for precondition check in delegate setters.",
"homepage": "https://github.com/IvanRublev/VRFoundationToolkit",
"license": "MIT",
"authors": {
"Ivan Rublev": "ivan@ivanrublev.me"
},
"source": {
"git": "https://github.com/IvanRublev/VRFoundationToolkit.git",
"tag": "0.1.3"
},
"requires_arc": true,
"platforms": {
"ios": "6.0",
"osx": "10.8"
},
"source_files": "VRFoundationToolkit",
"frameworks": "Foundation",
"dependencies": {
"libextobjc": [
"~> 0.4"
],
"MAObjCRuntime": [
]
},
"subspecs": [
{
"name": "RTProtocol+VRMethods",
"source_files": "VRFoundationToolkit/RTProtocol+VRMethods/*.{h,m}"
},
{
"name": "LogAndPreconditionCheck",
"source_files": "VRFoundationToolkit/LogAndPreconditionCheck/*.{h,m}",
"dependencies": {
"VRFoundationToolkit/RTProtocol+VRMethods": [
]
}
},
{
"name": "PropertiesProcessing",
"source_files": "VRFoundationToolkit/NSObject+VRPropertiesProcessing/*.{h,m}",
"dependencies": {
"VRFoundationToolkit/LogAndPreconditionCheck": [
]
}
},
{
"name": "ConnectionChecker",
"source_files": "VRFoundationToolkit/VRURLConnectionChecker/*.{h,m}",
"dependencies": {
"VRFoundationToolkit/LogAndPreconditionCheck": [
]
}
},
{
"name": "NSArray+VRArgument",
"source_files": "VRFoundationToolkit/NSArray+VRArgument/*.{h,m}",
"dependencies": {
"VRFoundationToolkit/LogAndPreconditionCheck": [
]
}
}
]
}