• 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: IB Palette with a Window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB Palette with a Window


  • Subject: Re: IB Palette with a Window
  • From: Vince DeMarco <email@hidden>
  • Date: Sat, 17 Nov 2001 12:40:04 -0800

On Friday, November 16, 2001, at 07:37 pm, Girard Iglesias wrote:

OK, thanks

But now I am exploring the way to edit my view in place, and I have to
say that I am a little bit lost.

First I tried to use the couple:

- (BOOL)canEditSelf;
- (void)editSelf:(NSEvent *)theEvent in:(NSView<IBEditors>*)viewEditor;

and after failed to get something working, I was guessing that I would
receive editSelf: each time the mouse would be in the view, but we
receive it onlt when double clicking.

Now I am exploring the way to have an editor that is a NSView, but when
I activate my editor (double click) my editor receive a serie of method
finishing bny closeEditor,

In the process I receive also some attempt to know if my class responds
to :

2001-11-17 04:06:05.377 Interface Builder[2871] Asked setViewCache:
2001-11-17 04:06:12.191 Interface Builder[2871] Asked
shouldEditWithEvent:
2001-11-17 04:06:12.192 Interface Builder[2871] Asked
editWithEvent:inViewEditor:

The last one is in the IBViewProtocol but the first two are no where.

I would want to ask a documentation, but the sole I found on the Web is
the one I bought 6 years ago with NeXTStep 3.3 :-)

Thank you in advance.

Gerard

PS: It is late here, 4:20 in the morning (Paris), I am going to bed, I
will answer tomorow...


All of the code to do what you want is not public API and whats more we are changing it constantly. You can reverse engineer it, but be aware that it will probably change again in a future update.

vince


References: 
 >Re: IB Palette with a Window (From: Gérard Iglesias <email@hidden>)

  • Prev by Date: Re: Standard OS X Compression format
  • Next by Date: Re: Window load delegate function?
  • Previous by thread: Re: IB Palette with a Window
  • Next by thread: Rebuild index and corrupted files : strange behavior
  • Index(es):
    • Date
    • Thread