Re: [iPhone] Breaking content of NSMutable array into two arrays.

2010-09-02 Thread Tharindu Madushanka
Hi, Yes it's about a class. Thanks. :) Tharindu. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscrib

Re: [iPhone] Breaking content of NSMutable array into two arrays.

2010-09-01 Thread Wyatt Webb
On Sep 1, 2010, at 5:26 AM, Tharindu Madushanka wrote: > Hi, > > I have a NSMutableArray that holds objects and they are sorted according to > an integer value, either 1 (One constant), 2 (another constant). > > User { > NSString *name; > NSInteger state; > } > > Now i want to split the content

[iPhone] Breaking content of NSMutable array into two arrays.

2010-09-01 Thread Tharindu Madushanka
Hi, I have a NSMutableArray that holds objects and they are sorted according to an integer value, either 1 (One constant), 2 (another constant). User { NSString *name; NSInteger state; } Now i want to split the content into two arrays. I saw this method.. - (NSArray *)filteredArrayUsingPredic