• 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: Palettizing a formatter: Inspector Woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: NSURL / NSURLHandle loading problem
  • Next by Date: Re: Future Objective-C changes
  • Previous by thread: Stripping headers from embedded frameworks
  • Next by thread: the art of #includes
  • Index(es):
    • Date
    • Thread