• 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: 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


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: NSArrayController not rearranging correctly
  • 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