MRManagedObjectWithArray
This class adds support for ordered arrays (NSMutableArray) to Cocoa Core Data. more…
This class adds support for ordered arrays (NSMutableArray) to Cocoa Core Data. more…
This code is tested, but it still has bugs. I would not suggest using this in a production environment
Directions For Use
MRManagedObjectWithArray class.
MRManagedObjectWithArrayTransformer) for each array that you wish to add.
applicationDidFinishLaunching, register the custom Value Transformer by calling
[MRManagedObjectWithArrayTransformer registerTransformer];
arrayForKey and mutableArrayForKey methods.
For example,
// In person.h @property (nonatomic, retain) id beers; .. // In person.m @dynamic beers; .. .. // Now use and abuse! Person * you = [TheAlphaAndTheOmega sharedInstance]; [[you mutableArrayForKey:@“beers”] addObject:[Beer pint]]; if( [[you arrayForKey:@“beers”] count] > 7 ) NSThink(@“I'm drunk!”);
Cloning this repository:
git clone git://gitorious.org/mrmanagedobjectwitharray/code.git code cd code
Add this repository as a remote to an existing local repository:
git remote add code git://gitorious.org/mrmanagedobjectwitharray/code.git git fetch code git checkout -b my-local-tracking-branch code/master_or_other_branch

Thursday February 10 2011
Project
02:59
The Knicker Kicker updated project MRManagedObjectWithArray
Professional Gitorious services - Git hosting at your company, custom features, support and more. gitorious.com.
