• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSPersistentDocument Tutorial
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSPersistentDocument Tutorial
      • From: Adam P Jenkins <email@hidden>
  • Prev by Date: Re: NSURLDownload and userInfo
  • Next by Date: Setting the badgeValue in ToolbarItem in ViewController file.
  • Previous by thread: [SOLVED] Re: What is [NSTextStorage fontSetChanged]?
  • Next by thread: Re: NSPersistentDocument Tutorial
  • Index(es):
    • Date
    • Thread