• 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
NSTableView vs. NSUserDefaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView vs. NSUserDefaults


  • Subject: NSTableView vs. NSUserDefaults
  • From: Kelly Brown <email@hidden>
  • Date: Fri, 15 Apr 2005 00:04:11 -0400


I've run through every tutorial I can find and not one of them shows how to hook the tablview into the defaults with cocoa bindings.


I have a NSArrayController which is bound to a NSObjectController. I not really sure why this is necessary and why you can't just bind it to a NSController but that's what the tutorial tells me I must do so that's what I do. In turn the NSObjectController is connected through the content outlet to a my NSController. The single column in the NSTableView is bound to the NSObjectController and everything works fine. I can add/delete and everything is ducky.

Trying to bind any bit of it, including just the NSArrayController, to a NSUserDefaults or NSUserDefaultsController gets me nothing but errors. Is there any example out there that can walk me through this or am i just going to have to break down and code the preferences manually.

I had such high hopes for bindings and getting this to work is killing me.

Kelly Brown

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSTableView vs. NSUserDefaults
      • From: Johnny Deadman <email@hidden>
  • Prev by Date: Re: parameterized object creation
  • Next by Date: Re: NSTableView vs. NSUserDefaults
  • Previous by thread: NSCoder encodeX:forKey vs encodeX:
  • Next by thread: Re: NSTableView vs. NSUserDefaults
  • Index(es):
    • Date
    • Thread