Re: NSViewController Binding Problem continued
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