RE: IB Plugin help
RE: IB Plugin help
- Subject: RE: IB Plugin help
- From: "Jon C. Munson II" <email@hidden>
- Date: Fri, 3 Apr 2009 14:40:38 -0400
- Organization: JTA Enterprises LLC
Namaste!
I've muddled along as far as I can go and I need further assistance.
Here's what I've done so far:
1. Created a plug-in project.
2. Edited the class description file to contain two entries, my plug-in
class and the superclass of NSFormatter (I was able to find and looked at
the same file for both NSDateFormatter and NSNumberFormatter).
3. changed the ...View default .h and .m files to ...Formatter .h and .m,
and updated any other files pointing at same. Also set the base class to
NSFormatter from NSView (which was the default template value).
4. Edited the library nib - removed the Example button, button view, label
& line for such, leaving the "template" view stuff up top. Dropped an
ImageWell on the template view and pointed that to a custom icon. Added an
object and set that to my ...Formatter class. Bound the representedObject
of the view (containing the ImageWell) to that object.
5. Edited the inspector nib - removed everything but the first label and
text field, changing the label to read "Length". Set the Value binding of
the text field to "inspectedObjectsController.selection.length".
6. Edited the ...Integration file, replacing the comments with my length (
@"Length" ) property.
Compiled and "ran" the plug-in.
IB pops up and the library displays an entry for my plug-in. However, I get
a disclosure triangle (no objects show below), that leads to "My Company" (a
book), and then to "Objects" (another book).
What am I missing???
Thanks!
Peace, Love, and Light,
/s/ Jon C. Munson II
_______________________________________________
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