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: David Duncan <email@hidden>
- Date: Tue, 17 Jul 2012 17:24:08 -0700
On Jul 17, 2012, at 5:19 PM, 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.
Well, you don't know what an "NSBigMutableString" is, so use something you do know. As if it is an NSString or NSAttributedString and work from there. Thats what -isKindOfClass: is for.
--
David Duncan
_______________________________________________
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