• 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: NSViewController Binding Problem continued
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSViewController Binding Problem continued


  • Subject: Re: NSViewController Binding Problem continued
  • From: Jonathan Dann <email@hidden>
  • Date: Sat, 19 Jul 2008 00:21:03 +0100

Hi Ivy,

Can you tell us what the bound object the table receives is? If you could call this method (which, in its current state, would go in an NSTableView subclass) somewhere:

- (NSArrayController *)arrayController;
{
return [[[self tableColumnWithIdentifier:@"myColumn"] infoForBinding:NSValueBinding] valueForKey:NSObservedObjectKey];
}


then print the results to the console. Calling it at the end of awakeFromNib: with a -performSelector:withObject:afterDelay: (not necessary but just to be sure!) should do the trick. Is what you get back an array controller?

Jonathan

www.espresso-served-here.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: 
 >NSViewController Binding Problem continued (From: Ivy Feraco <email@hidden>)
 >Re: NSViewController Binding Problem continued (From: Ron Lue-Sang <email@hidden>)
 >Re: NSViewController Binding Problem continued (From: "Hamish Allan" <email@hidden>)
 >Re: NSViewController Binding Problem continued (From: Cathy Shive <email@hidden>)

  • Prev by Date: Re: tidying HTML up
  • Next by Date: Re: NSMutableDictionary autorelease chrashes application
  • Previous by thread: Re: NSViewController Binding Problem continued
  • Next by thread: Re: NSViewController Binding Problem continued
  • Index(es):
    • Date
    • Thread