Re: Palettizing a formatter: Inspector Woes
Re: Palettizing a formatter: Inspector Woes
- Subject: Re: Palettizing a formatter: Inspector Woes
- From: Jonathan Jackel <email@hidden>
- Date: Mon, 19 May 2003 22:58:15 -0400
Well, I needed to hook up the outlet to the inspector's window. JJ.
On Saturday, May 17, 2003, at 05:57 PM, Jonathan Jackel wrote:
Is there some trick to getting the inspector for a formatter to show
up in IB?
I have a custom formatter I want to palletize and then share with the
world. The formatter is a little like the ExpressionFormatter in the
BusyPalette example, but (among other options) it can be set to
evaluate expressions algebraically (1 + 2 * 3 = 7) or sequentially (1
+ 2 * 3 = 9). I want other programmers to be able to set the options
from an IB inspector, preferably on the Formatter "page" of the
inspector.
I think I have the palettizing nearly done. I can drag my formatter
to a text field and it works as expected when I test the interface.
The only problem is that the inspector I made does not show up. The
"Formatter" item does get added to the list of inspectors; choosing it
produces a blank inspector window with the name of my formatter class
at the top (my formatter is a subclass of NSFormatter).
I have verified that the nib for the inspector is being loaded. What
else could I be doing wrong?
Jonathan Jackel
_______________________________________________
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.