NSExpression and CAST (NSPredicate)
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'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