Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: NSViewController Binding Problem continued
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSViewController Binding Problem continued



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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.