• 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: Node hierarchy with subclasses
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Node hierarchy with subclasses (From: BareFeet <email@hidden>)
 >Re: Node hierarchy with subclasses (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Detect Tap on Word in UILabel?
  • Next by Date: Crash in NSControl's sizeToFit
  • Previous by thread: Re: Node hierarchy with subclasses
  • Next by thread: ABNewPersonViewController and ABPersonViewController background color
  • Index(es):
    • Date
    • Thread