Re: Problems with Attributed Strings and NSTextField
Re: Problems with Attributed Strings and NSTextField
- Subject: Re: Problems with Attributed Strings and NSTextField
- From: Frank Midgley <email@hidden>
- Date: Thu, 3 Nov 2005 10:40:10 -0600
On Nov 2, 2005, at 12:34PM, email@hidden wrote:
I need some features on NSTextField.
I created an NSAttributedString, but I can't set NSTextField with
that value with setStringValue; xCode tells me incompatible pointer
type.
How can I set the Interline of a string?
Use -[NSTextField setAttributedStringValue:] instead. Attributed
strings are not a sub-class of regular strings. They are a
completely different kind of NSObject that have a string as one of
their values.
-Frank
------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden