URL:
<http://savannah.gnu.org/bugs/?46418>
Summary: NSPredicate is missing a predicateWithBlock
implementation
Project: GNUstep
Submitted by: akanet
Submitted on: Tue 10 Nov 2015 11:33:36 PM GMT
Category: Base/Foundation
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Here's the Apple reference on the method:
https://developer.apple.com/library/ios/documentation/Cocoa/Reference/Foundation/Classes/NSPredicate_Class/#//apple_ref/occ/clm/NSPredicate/predicateWithBlock:
It indicates this has been available since at least OSX 10.6.
GNUStep's NSPredicate implementation seems to be missing this currently:
https://github.com/gnustep/base/blob/master/Headers/Foundation/NSPredicate.h
I don't think it should be super hard to implement, but unfortunately I don't
know very much ObjC. There's an open TODO on Etoile to add this, so perhaps
someone from that project might be able to step in?
https://github.com/etoile/CoreObject/blob/master/TODO.md#future-work-minor-features-refactoring-cleanup
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46418>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep