Re: Node hierarchy with subclasses
Re: Node hierarchy with subclasses
- Subject: Re: Node hierarchy with subclasses
- From: John Harte <email@hidden>
- Date: Sat, 30 Jan 2010 22:32:59 -0500
On Jan 29, 2010, at 9:38 AM, Jerry Krinock wrote:
>> The problem is that when a subclass A is selected, the UI elements bound to subclass B no longer have valid bindings so generate an error. How can I solve this?
>
> In your tab view's delegate, implement tabView:willSelectTabViewItem:, and in it, invoke -unbind: as needed on the currently-selected object.
You can also uncheck the "Raises For Not Applicable Keys" in the bindings inspector pain in Interface Builder for your text fields.
_______________________________________________
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