Re: Core Data Issue with Binding
Re: Core Data Issue with Binding
- Subject: Re: Core Data Issue with Binding
- From: Kyle Sluder <email@hidden>
- Date: Wed, 10 Feb 2010 12:03:27 -0800
On Wed, Feb 10, 2010 at 9:26 AM, Matthew Miller <email@hidden> wrote:
> @property (nonatomic, retain) NSDate *DateOfBirth;
> @property (nonatomic, retain) NSString *FirstName;
> @property (nonatomic, retain) NSString *LastName;
> @property (nonatomic, retain) NSNumber *DraftClass;
> @property (nonatomic, retain) NSNumber *DraftPick;
> @property (nonatomic, assign) BOOL Retired;
> @property (nonatomic, retain) NSSet *PlaysFor;
> @property (nonatomic, retain) Program *School;
>
> @property (readonly) NSString *DisplayName;
These are not KVC-compliant property names. You must rename these with
lowercase initial letters, like "dateOfBirth", "firstName", etc.
> I've created a second NSArrayController and I've tried everything to get it to allow me to add RosterSpot data to the selected Player. I've tried to bind the "Managed Object Context" to the Players NSArrayController with Controller Key "selection" and the Model Key "Plays For". I've tried setting the Content Set (under Content Controller) to Players.selection.PlaysFor. No luck. I can't seem to bind that RosterSpot information.
You're thrashing. Why would you bind the managedObjectContext binding
to a selection? You need to bind it to the MOC in which you want to
insert your managed objects.
--Kyle Sluder
_______________________________________________
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