• 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, IB & NSUserDefaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView, IB & NSUserDefaults


  • Subject: Re: NSTableView, IB & NSUserDefaults
  • From: "David Symonds" <email@hidden>
  • Date: Tue, 27 Nov 2007 12:07:06 +1100

On Nov 27, 2007 1:44 AM, Chris Heimark <email@hidden> wrote:
> HI:
>
> I was finally able to get NSUserDefaults binding to (MOSTLY) work
> with an NSTableView without resorting to any code at all. It is
> really neat how the bindings work for an NSTableView are setup. I
> just had to make sure that the NSTableView dataSource was pointing at
> shared defaults, table references were specified, etc. And I don't
> even need to have the delegate of the NSTableView pointing at my
> application controller.

If you're using NSTableView bindings, you shouldn't need to use the
dataSource outlet, which is probably the source (pardon the pun) of
your problem here. Try going back to just the bindings, and bind each
NSTableColumn to the correct object/controller with the relevant key
as the binding model path.


Dave.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSTableView, IB & NSUserDefaults (From: Chris Heimark <email@hidden>)
 >Re: NSTableView, IB & NSUserDefaults (From: Chris Heimark <email@hidden>)

  • Prev by Date: NSBrowser drawInteriorWithFrame called before willDisplayCell, causing display problems
  • Next by Date: Re: Core Data and RDBs
  • Previous by thread: Re: NSTableView, IB & NSUserDefaults
  • Next by thread: error converting HTML into an attributed string
  • Index(es):
    • Date
    • Thread