NSPersistentDocument Tutorial
NSPersistentDocument Tutorial
- Subject: NSPersistentDocument Tutorial
- From: Ian Jackson <email@hidden>
- Date: Wed, 12 Mar 2008 22:15:29 +1300
I was happily plugging through the NSPersistentDocument Tutorial, when
I got to the "Creating a Custom Class" chapter. The first strange
thing is that when I created the files, the next instruction is to
change the class name for the Employee entity from NSManagedObject to
Employee, but this had already happened without me doing anything.
That seemed like a good thing. I edited the class files as instructed,
and came to the bit that says in the nib file, to change the model key
path for the pop-up menu binding in contentValues to fullNameAndID.
But the fullNameAndID option is not there. I tried dragging the
Employee.h file into interface builder, but it didn't help (to start
with it crashed IB in fact, when I had the bindings pane open). Is
there a key part to this that I'm missing, getting IB to recognise
that the Employee entity should be read from the Employee class?
Thanks in advance,
Ian.
_______________________________________________
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