Re: Filter array using NSPredicate

2010-10-05 Thread Koh Nyap-Hong
Hi, I prefer the HOM approach, more OO-ish. I will try it up. Thanks for the info. On Tue, Oct 5, 2010 at 2:44 AM, Niels Grewe niels.gr...@halbordnung.dewrote: On Tue, Oct 05, 2010 at 12:07:33AM +0800, Koh Nyap-Hong wrote: Yes, basically what I want to do with NSPredicate can actually

Re: Filter array using NSPredicate

2010-10-04 Thread Koh Nyap-Hong
rich...@tiptree.demon.co.uk wrote: On 3 Oct 2010, at 14:29, Koh Nyap-Hong wrote: Hi List, I with to filter array using NSPredicate (seems a lot more easier than while loop with NSEnumerator), after read through some cocoa examples online, I run a simple test using the following codes