discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GSPredicate


From: Fred Kiefer
Subject: Re: GSPredicate
Date: Mon, 18 Jun 2018 17:37:34 +0200


> Am 18.06.2018 um 17:32 schrieb amon <amon@vnl.com>:
> 
> Just to bring this back to my original question:
> 
> NSUInteger i;
> NSMutableArray *a;
> NSEnumerationOptions opts;
> GSPredicateBlock      predicate;
> 
> i = [a indexOfObjectWithOptions: opts passingTest: predicate];
> 
> What is the code to set up predicate using the GSBlock macro?
> Can someone show me what the above would look like as a working
> bit of code?

Just replacing predicate with the one example I gave should work.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]