NSArrayController/Shared Defaults fun & games
NSArrayController/Shared Defaults fun & games
- Subject: NSArrayController/Shared Defaults fun & games
- From: Duncan Campbell <email@hidden>
- Date: Fri, 25 Feb 2005 15:25:02 +1100
I have an NSArrayController bound to Shared User Defaults that i am
using for a prefs panel.
I have bound everything to an NSTableView and am able to
add/edit/delete without problems.
My problem comes when I try to do this manually - I want to click an
"add" button, enter my data in a seperate screen containing
NSTextViews, NSCombo's whatever, and then have the NSArrayController
[add:] method run with my new data, only I don't know what to send the
add: method manually.
My sheet controls are not databound, so want to do this bit manually.
When I do: NSArrayContoller add:myDictionary i just get an empty
dictionary added to the shared user defaults...
Anyone have any ideas?
Cheers.
---------------------------------------------------------------
Duncan Campbell
http://www.duncanandsarah.com/duncan
---------------------------------------------------------------
I have a very small mind and must live with it.
-- E. Dijkstra
_______________________________________________
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