• 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: IB3 Plugin Troubles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB3 Plugin Troubles


  • Subject: Re: IB3 Plugin Troubles
  • From: Jonathan Hess <email@hidden>
  • Date: Fri, 1 Aug 2008 11:17:39 -0700

Thanks Brandon -

I'll file  a bug report about this.

Jon Hess

On Aug 1, 2008, at 12:46 AM, Brandon Walkin wrote:


On 1-Aug-08, at 3:02 AM, Jonathan Hess wrote:

Yes.

@implementation AGSegmentedControl ( AGSegmentedControlIBIntegration )
- (BOOL)isChildInitiallySelectable:(id)child;
{
return NO;
}
@end

That looks right to me. Technically, I would validate that child is one of your segments, and if not, call super. IB is free, through your base class, to add some new relationship that may want to interact differently as far as isChildInitiallySelectable is concerned.

Actually, the method selector isn't quite right. It should be ibIsChildInitiallySelectable. That's your problem.

Good Luck -
Jon Hess

Hi Jon,

Just letting you know, there's a typo in the NSObject IB Kit reference where "ib" is omitted from the ibIsChildInitiallySelectable method signature. I ended up running into the same issue as Seth since I copied and pasted the method signature into Xcode.

Here's a screenshot of the text I'm referring to: http://skitch.com/bwalkin/1ewj/typo

Cheers,
Brandon Walkin

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: IB3 Plugin Troubles (From: Jonathan Hess <email@hidden>)
 >Re: IB3 Plugin Troubles (From: Brandon Walkin <email@hidden>)

  • Prev by Date: Re: Unable to set breakpoints in custom executable
  • Next by Date: Editor windows moved offscreen
  • Previous by thread: Re: IB3 Plugin Troubles
  • Next by thread: Re: IB3 Plugin Troubles
  • Index(es):
    • Date
    • Thread