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

How can I convince an NSBigMutableString to become a mere NSAttributedString ?


  • Subject: How can I convince an NSBigMutableString to become a mere NSAttributedString ?
  • From: Erik Stainsby <email@hidden>
  • Date: Tue, 17 Jul 2012 16:58:23 -0700

I'm working with the text from a multiline NSTextField. When it arrives in the delegate it is represented in an NSBigMutableString. Casting this to a NSAttributedString seems to have no effect on the actual class being used by the NSString cluster.

I can't seem to find any documentation on NSBigMutableString.

Can someone with deep experience tell me if I can _safely_ assume that NSBMS will respect all of NSAttributedString's method calls ?

Also if I have a convenience function in a category, should I rewrite it as a category on NSString ? Or directly on the NSBMS, which seems to be a hidden class? Writing a category on a hidden class just doesn't feel right.

~ Erik
_______________________________________________

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

  • Follow-Ups:
    • Re: How can I convince an NSBigMutableString to become a mere NSAttributedString ?
      • From: Charles Srstka <email@hidden>
    • Re: How can I convince an NSBigMutableString to become a mere NSAttributedString ?
      • From: Ken Thomases <email@hidden>
    • Re: How can I convince an NSBigMutableString to become a mere NSAttributedString ?
      • From: David Duncan <email@hidden>
  • Prev by Date: NSArrayController not rearranging correctly
  • Next by Date: Re: How can I convince an NSBigMutableString to become a mere NSAttributedString ?
  • Previous by thread: Re: NSArrayController not rearranging correctly
  • Next by thread: Re: How can I convince an NSBigMutableString to become a mere NSAttributedString ?
  • Index(es):
    • Date
    • Thread