On Mon, Feb 23, 2009 at 1:35 PM, Jon C. Munson II <jmun...@his.com> wrote: > You'll have to use KVC in that case. At least, I did. I tried both the dot > and standard accessor to be sure.
You can usually cast the result yourself, since typically the entityName argument for +[NSEntityDescription insertNewObjectForEntityForName:inManagedObjectContext:] is a string literal. If you haven't subclassed NSManagedObject, you can use mogenerator. And unlike the dot syntax, sending messages to objects that may not understand them isn't an error, as long as the compiler can see the declaration of the method signature from where it stands. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com