• 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: String Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String Problem


  • Subject: Re: String Problem
  • From: Marco Binder <email@hidden>
  • Date: Mon, 17 Mar 2003 10:24:34 +0100

There is a great way to find out stuff like this: the developer documentation on your hard disk. You want to look into NSAttributedString (Foundation), there find the Constants Section, there they tell you, that the attributes dicitionary takes any custom value or the standard values specified in NSAttributedString Additions (AppKit). And there you find all your keys and possible values!

I guess you know, how to create a dicitonary per se?! If not: NSDictionary (Foundation) and NSMutableDictionary (Foundation) are the classes to look at. Short hint: [NSDictionary dictionaryWithObjects:(NSArray*) ob forKeys(*NSArray) key]

Marco



Am Montag, 17.03.03 um 07:22 Uhr schrieb Marcos Tirao:

Hi guys!
Does anyone know how to change the attributes of an string, that I want to
draw using drawAtPoint:(NSPoint) p withAtributes:(NSDictionary)dict?
Then the actual question is how is compose the dictionary to pass in dict
parameter?
Any idea? Or Example?

Thanks in Advance.

Thank to everyone who answer me the previou mail. ScreenSaver problem
_______________________________________________
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.


--
|\ /| E-Mail: email@hidden WWW: www.marco-binder.de
| \/ | Telefon: 07531 / 94 19 94 Fax: 07531 / 94 19 92
| |ARCO Snail-Mail: Banater Str. 3 - 78467 Konstanz
BINDER _____________________________________________________
_______________________________________________
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.

References: 
 >String Problem (From: Marcos Tirao <email@hidden>)

  • Prev by Date: Re: Java vs C/Objective-C performance question
  • Next by Date: Re: (no subject)
  • Previous by thread: Re: String Problem
  • Next by thread: Detecting Keys that KeyDown doesn't get
  • Index(es):
    • Date
    • Thread