• 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
Right way to build style sheets?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Right way to build style sheets?


  • Subject: Right way to build style sheets?
  • From: Steve Mykytyn <email@hidden>
  • Date: Wed, 13 Nov 2002 11:54:05 -0800

I need to keep a list of styles for text: font, size, style, color, etc.

for the user interface, i'd like to have the user simply change any/all of those for a fixed string of text, like "Sample", or perhaps have the text change in response to the chosen attributes, e.g. "Helvetica 24 bold".

Is it possible to have an NSTextView where users can edit attributes but not text? I'm guessing not...

So i suppose the next best thing would be to make a subclass of NSView that responded to the various text attribute selectors...
_______________________________________________
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.
  • Follow-Ups:
    • Re: Right way to build style sheets?
      • From: Jonathan Chaffer <email@hidden>
    • Re: Right way to build style sheets?
      • From: Douglas Davidson <email@hidden>
    • Re: Right way to build style sheets?
      • From: Max Seelemann <email@hidden>
  • Prev by Date: Trouble using SQLite and Blackhole Media's wrapper in Cocoa apps.
  • Next by Date: Re: Right way to build style sheets?
  • Previous by thread: Re: Trouble using SQLite and Blackhole Media's wrapper in Cocoa apps.
  • Next by thread: Re: Right way to build style sheets?
  • Index(es):
    • Date
    • Thread