Re: IB3 Plugin Troubles
Re: IB3 Plugin Troubles
- Subject: Re: IB3 Plugin Troubles
- From: Brandon Walkin <email@hidden>
- Date: Fri, 1 Aug 2008 03:46:47 -0400
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.
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