• 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: Catching actions of fonts "Typography" panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Catching actions of fonts "Typography" panel


  • Subject: Re: Catching actions of fonts "Typography" panel
  • From: "Rimas M." <email@hidden>
  • Date: Wed, 24 Aug 2011 17:23:57 +0300

Delegate methods could be used if there is an editable textview. But what if
not? For other things we have "changeFont:, changeColor:,
changeAttributes:". Unfortunately, neither of them are called by action I
have mentioned.

Regards,

Rimas M.

On Wed, Aug 24, 2011 at 1:49 PM, Mike Abdullah <email@hidden>wrote:

> NSTextView has plenty of other delegate methods that will tell you why a
> change is about to happen. Use those to decide how to handle after the
> change has occurred.
>
> Sent from my iPad
>
> On 24 Aug 2011, at 11:39 AM, "Rimas M." <email@hidden> wrote:
>
> > Hello folks,
> >
> > I am wondering - how it is possible to catch action, when sender is a
> > Typography (the one that can be found in Fonts panels action menu at the
> > left bottom side - http://db.tt/CC1hX8c )? If I have a text view with
> > selection and I choose something in it (for example Alternative stylistic
> > set for certain font), I am getting notification that text storage of
> that
> > text view has changed. That is way to abstract for my needs. Fair enough
> > would be something like "font has changed". Or simply changeFont: for
> first
> > responder.
> >
> > By getting that action I would be able to implement that changes for any
> of
> > my views. Not only textview.
> >
> > Any thoughts?
> >
> > Best Regards,
> >
> > Rimas M.
> > _______________________________________________
> >
> > Cocoa-dev mailing list (email@hidden)
> >
> > Please do not post admin requests or moderator comments to the list.
> > Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> >
> > Help/Unsubscribe/Update your Subscription:
> >
> >
> > This email sent to email@hidden
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Catching actions of fonts "Typography" panel
      • From: Martin Wierschin <email@hidden>
References: 
 >Catching actions of fonts "Typography" panel (From: "Rimas M." <email@hidden>)
 >Re: Catching actions of fonts "Typography" panel (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Fwd: Can Peer-to-Peer Model Be Launched in AppStore?
  • Next by Date: Re: Preventing lion from saving state...
  • Previous by thread: Re: Catching actions of fonts "Typography" panel
  • Next by thread: Re: Catching actions of fonts "Typography" panel
  • Index(es):
    • Date
    • Thread