Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Object Identity Tests in Core Data



As far as I can tell, the predicate language doesn't really work with pointers as much as strings and scalar fields.


I'm curious, what gives you this impression?

I guess it's that I didn't find documentation on what kinds of types are available in predicates. I don't really know in what contexts these things are expected to run, but it seems reasonable that there may be places (a SQL database, say) where pointers don't make sense, and hence the language is restricted to make conversion easy.


I'm still not 100% convinced that there is only one NSManagedObject instance for each object in my Core Data database; it seems like it should work that way, but I didn't really see that in the documentation.

Will this work?

Yes, it should work fine.

Cool.



Niko
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Object Identity Tests in Core Data (From: Niko Matsakis <email@hidden>)
 >Re: Object Identity Tests in Core Data (From: Chris Hanson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.