• 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: Adding design-time 'live' functionality to IB palette items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding design-time 'live' functionality to IB palette items


  • Subject: Re: Adding design-time 'live' functionality to IB palette items
  • From: James DiPalma <email@hidden>
  • Date: Wed, 29 Jan 2003 23:30:50 -0800

From: Christopher Barnes <email@hidden>

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@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Adding design-time 'live' functionality to IB palette items
      • From: Christopher Barnes <email@hidden>
References: 
 >Adding design-time 'live' functionality to IB palette items (From: Christopher Barnes <email@hidden>)

  • Prev by Date: Performance
  • Next by Date: how do I do something after user has hit "OK" in standard save panel?
  • Previous by thread: Adding design-time 'live' functionality to IB palette items
  • Next by thread: Re: Adding design-time 'live' functionality to IB palette items
  • Index(es):
    • Date
    • Thread