• 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
NSArrayController/Shared Defaults fun & games
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Binding name must be same as ivar name?
  • Next by Date: NSArrayController/Shared Defaults fun & games [solved]
  • Previous by thread: Re: Binding NSMovieView to resize
  • Next by thread: NSArrayController/Shared Defaults fun & games [solved]
  • Index(es):
    • Date
    • Thread