Re: Adding to-many objects programmatically
Re: Adding to-many objects programmatically
- Subject: Re: Adding to-many objects programmatically
- From: mmalc Crawford <email@hidden>
- Date: Sat, 16 Jan 2010 19:29:34 -0800
On Jan 16, 2010, at 12:17 am, Roland King wrote:
> Cast to the actual type before calling the method.
> Instead of [ managedObject method1 ]
> do
> [ (Employee*)managedObject method1 ]
>
No; the OP stated, "I don't use custom classes", so this won't work.
Follow the pattern described in the documentation:
<http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CoreData/Articles/cdAccessorMethods.html#//apple_ref/doc/uid/TP40002154-SW1>
mmalc
_______________________________________________
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