Re: How can I convince an NSBigMutableString to become a mere NSAttributedString ?
Re: How can I convince an NSBigMutableString to become a mere NSAttributedString ?
- Subject: Re: How can I convince an NSBigMutableString to become a mere NSAttributedString ?
- From: Mike Abdullah <email@hidden>
- Date: Wed, 18 Jul 2012 01:37:03 +0100
On 18 Jul 2012, at 01:19, Erik Stainsby <email@hidden> wrote:
> Sorry I should have said a little more about my context. I'm looking at the object passed to the delegate method -control:isValidObject:
> Documentation states: "In validating, the delegate should check the value in the object parameter…" I am however unable to assess the value since it is being rep'd by an impenetrable class clustered object.
Of course you are able to assess the value. If you expect it to be an NSString, inspect its value like any other string. By default, the object value of text fields is an NSString. It'll only be different if you're deliberately working with attributed strings or applied a formatter.
_______________________________________________
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