• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSExpression and CAST (NSPredicate)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSExpression and CAST (NSPredicate)


  • Subject: NSExpression and CAST (NSPredicate)
  • From: Chris Idou <email@hidden>
  • Date: Sun, 16 Nov 2008 16:12:57 -0800 (PST)

NSExpression contains the following mysterious information:

"All methods must take 0 or more id arguments and return an id value, although you can use the CAST expression to convert datatypes with lossy string representations (for example, CAST(####, "NSDate")). The CAST
expression is extended in Mac OS X v10.5 to provide support for casting
to classes for use in creating receivers for function expressions."

The Predicate programming guide doesn't seem to shed any more light on it.

Can anybody tell me any more about the mysterious CAST expressions?




      Make the switch to the world&#39;s best email. Get Yahoo!7 Mail! http://au.yahoo.com/y7mail
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: RE: Core data save error with multiple persistent stores
  • Next by Date: Re: XML Datasource question on persistence
  • Previous by thread: Re: XML Datasource question on persistence
  • Next by thread: newbie NSMutable dictionary subclass question
  • Index(es):
    • Date
    • Thread