Re: Grief with porting IB palettes to plugins
Re: Grief with porting IB palettes to plugins
- Subject: Re: Grief with porting IB palettes to plugins
- From: Dave Camp <email@hidden>
- Date: Fri, 2 Nov 2007 14:20:39 -0700
Got my first plugin working :) As Rainer pointed out previously, I
needed to implement requiredFrameworks in the IBPlugin subclass.
I also modified ClockControlPalette and it too now works.
I'm going to file bugs against that sample code as well as the
docs. The IB Plugin "Quick Start" section really should include the
following additional steps:
6. In the new project window, double-click your framework target to
open the inspector window for that target.
7. In the Properties tab of the inspector window, type a custom
bundle identifier name in the Identifier field. Ensure the
identifier name differs from the one used for the plug-in target.
8. In your IBPlugin subclass, provide an implementation of
requiredFrameworks as follows:
- (NSArray *)requiredFrameworks {
return [NSArray arrayWithObject:[NSBundle
bundleWithIdentifier:@"framework.identifier.here"]];
}
Or, it should at least point to the chapter on the Simulator which
mentions the requiredFrameworks API.
Any chance you can post the working ClockControlPalette sample
someplace where others can download it?
Thanks,
Dave
_______________________________________________
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