CYFixtureHelper Class Reference
| Inherits from | NSObject |
| Declared in | CYFixtureHelper.h CYFixtureHelper.m |
Class Methods
dictionaryFromFixtureByName:
Returns an NSDictionary of the contents in the fileName.json if the file is found in the [NSBundle mainBundle]
+ (NSDictionary *)dictionaryFromFixtureByName:(NSString *)fileNameParameters
- fileName
NSStringThe name of the.jsonfile the read
Return Value
An NSDictionary of the contents in the fileName.json if the file is found in the [NSBundle mainBundle]
Declared In
CYFixtureHelper.hdictionaryFromFixtureByName:inBundle:
Returns an NSDictionary of the contents in the fileName.json if the file is found in an NSBundle named bundleName
+ (NSDictionary *)dictionaryFromFixtureByName:(NSString *)fileName inBundle:(NSString *)bundleNameParameters
- fileName
NSStringThe name of the.jsonfile the read
- bundleName
NSStringThe name of theNSBundleto search for thefileName.json
Return Value
An NSDictionary of the contents in the fileName.json if the file is found in an NSBundle named bundleName
Declared In
CYFixtureHelper.h