Skip navigation.
 
mlRe: Adding design-time 'live' functionality to IB palette items
FROM : James DiPalma
DATE : Thu Jan 30 08:30:50 2003

> From: Christopher Barnes <<email_removed>>
>
> What I want is something similar to NSTabView, where double-clicking
> the
> view causes the NSTabView to be selected, while single-clicking on a
> tab
> activates selects that particular NSTabViewItem.


What you are looking for is an "editor"; look at IBEditors.h for
methods that your editor should implement and in IBObjectProtocol.h for
this method:

- (NSString *)editorClassName;

Which can be put into a protocol on your object (or wherever you put
-inspectorClassName).

I don't think you'll find much documentation on getting an editor to
work, and its been a long time since I wrote NSTabView's editor, but
you can probably get something working. Start by getting your editor to
init and see what happens. If you want to open sub editors, also look
at IBDocument.h.

Good luck,


           -jim
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlAdding design-time 'live' functionality to IB palette items Christopher Barnes Jan 29, 23:43
mlRe: Adding design-time 'live' functionality to IB palette items James DiPalma Jan 30, 08:30
mlRe: Adding design-time 'live' functionality to IB palette items Christopher Barnes Jan 31, 08:24