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

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.stanford.edu!not-for-mail
From Vincent Woo <INVALID.NOREPLY@gnu.org>
Newsgroups gnu.gnustep.bug
Subject [bug #46418] NSPredicate is missing a predicateWithBlock implementation
Date Tue, 10 Nov 2015 23:33:37 +0000
Lines 49
Approved bug-gnustep@gnu.org
Message-ID <mailman.2102.1447198423.7904.bug-gnustep@gnu.org> (permalink)
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain;charset=UTF-8
X-Trace usenet.stanford.edu 1447198424 10503 208.118.235.17 (10 Nov 2015 23:33:44 GMT)
X-Complaints-To action@cs.stanford.edu
To Vincent Woo <vincent@coderpad.io>, bug-gnustep@gnu.org
Envelope-to bug-gnustep@gnu.org
X-PHP-Originating-Script 0:sendmail.php
X-Savane-Server savannah.gnu.org:443 [208.118.235.70]
X-Savane-Project gnustep
X-Savane-Tracker bugs
X-Savane-Item-ID 46418
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36
X-Apparently-From 108.60.106.66 (Savane authenticated user akanet)
In-Reply-To
X-detected-operating-system by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value).
X-Received-From 2001:4830:134:6::a
X-BeenThere bug-gnustep@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNUstep programming environment <bug-gnustep.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-gnustep>, <mailto:bug-gnustep-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-gnustep>
List-Post <mailto:bug-gnustep@gnu.org>
List-Help <mailto:bug-gnustep-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-gnustep>, <mailto:bug-gnustep-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.gnustep.bug:4060

Show key headers only | 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