> Am 18.06.2018 um 17:32 schrieb amon <a...@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.

_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to