Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.gnustep.bug > #4060

[bug #46418] NSPredicate is missing a predicateWithBlock implementation

From Vincent Woo <INVALID.NOREPLY@gnu.org>
Newsgroups gnu.gnustep.bug
Subject [bug #46418] NSPredicate is missing a predicateWithBlock implementation
Date 2015-11-10 23:33 +0000
Message-ID <mailman.2102.1447198423.7904.bug-gnustep@gnu.org> (permalink)

Show all headers | View raw


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/

Back to gnu.gnustep.bug | Previous | Next | Find similar


Thread

[bug #46418] NSPredicate is missing a predicateWithBlock implementation Vincent Woo <INVALID.NOREPLY@gnu.org> - 2015-11-10 23:33 +0000

csiph-web