• 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: How can I convince an NSBigMutableString to become a mere NSAttributedString ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How can I convince an NSBigMutableString to become a mere NSAttributedString ? (From: Erik Stainsby <email@hidden>)
 >Re: How can I convince an NSBigMutableString to become a mere NSAttributedString ? (From: David Duncan <email@hidden>)
 >Re: How can I convince an NSBigMutableString to become a mere NSAttributedString ? (From: Erik Stainsby <email@hidden>)

  • Prev by Date: Re: How can I convince an NSBigMutableString to become a mere NSAttributedString ?
  • Next by Date: Re: How can I convince an NSBigMutableString to become a mere NSAttributedString ?
  • Previous by thread: Re: How can I convince an NSBigMutableString to become a mere NSAttributedString ?
  • Next by thread: Re: How can I convince an NSBigMutableString to become a mere NSAttributedString ?
  • Index(es):
    • Date
    • Thread