NSTableView vs. NSUserDefaults
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