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

Re: NSTableView vs. NSUserDefaults


  • Subject: Re: NSTableView vs. NSUserDefaults
  • From: Johnny Deadman <email@hidden>
  • Date: Fri, 15 Apr 2005 00:38:59 -0400

You need to explain what you are trying to do, since it is not at all obvious.

On 15-Apr-05, at 12:04 AM, Kelly Brown wrote:


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:
40johnbrownlow.com


This email sent to email@hidden


_______________________________________________ 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: Dan Saul <email@hidden>
References: 
 >NSTableView vs. NSUserDefaults (From: Kelly Brown <email@hidden>)

  • Prev by Date: NSTableView vs. NSUserDefaults
  • Next by Date: Re: What writes out a pref file?
  • Previous by thread: NSTableView vs. NSUserDefaults
  • Next by thread: Re: NSTableView vs. NSUserDefaults
  • Index(es):
    • Date
    • Thread