Why multiple calls to an IB palette inspector's 'revert' method?
Why multiple calls to an IB palette inspector's 'revert' method?
- Subject: Why multiple calls to an IB palette inspector's 'revert' method?
- From: Wagner Truppel <email@hidden>
- Date: Tue, 1 Aug 2006 09:24:42 -0700
Hi there...
I've noticed that the palette I'm writing gets its inspector's
'revert' method called several times when a new object is dragged
from the palette to a window or panel. At first I thought this was a
problem with my code, but it isn't!
By setting up a minimal palette using Apple's IB palette template and
adding
NSLog(@"revert called by %@", [sender class]);
to the 'revert' method of its inspector class, you'll notice that
'revert' gets called NINE times in a row, by an object of class
IBInspectorManager. And this is without *any* extra code of any kind.
Does anyone have any idea why that is?
Wagner
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden