• 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: how to interact with font panel in custom IBPalette?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to interact with font panel in custom IBPalette?


  • Subject: Re: how to interact with font panel in custom IBPalette?
  • From: Jonathan Hess <email@hidden>
  • Date: Tue, 24 Feb 2009 16:29:29 -0800


On Feb 24, 2009, at 4:06 PM, Steve Christensen wrote:

I'm creating a IBPalette for a custom control.

Hey Steve -

Do you mean IBPlugin? Which version of Interface Builder are you targeting?

In IB 3.1.2 and later, the font panel should work automatically if the selected object implements 'font' and 'setFont:'. IB doesn't offer API to customize interactions with the font panel beyond that.

Jon Hess

Everything else is working but I'm having trouble trying to figure out how to interact with the font panel. With my custom view selected, I'd expect that when the font panel opens, it will reflect the font currently used by my custom control; when I change the font in the font panel, I'd expect my control's font to change.

I've seen a mention of a -changeFont: method that's supposed to be called on the responder chain but mine never gets called so I figure I'm missing some setup or have something set up incorrectly. Any pointers?

steve

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >how to interact with font panel in custom IBPalette? (From: Steve Christensen <email@hidden>)

  • Prev by Date: how to interact with font panel in custom IBPalette?
  • Next by Date: Re: Checking dependencies
  • Previous by thread: how to interact with font panel in custom IBPalette?
  • Next by thread: What is the difference between linked frameworks and other frameworks in an Xcode project
  • Index(es):
    • Date
    • Thread