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 *)filteredArrayUsingPredicate:(NSPredicate *)*predicate

Could I use this method for my purpose, could someone give me an example
usage of predicate or some other mean to do my task

*Thank you and Kind Regards,

Tharindu Madushanka
*

*
_______________________________________________

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/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to