• 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: Adding attributes to NSMutableAttributedString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding attributes to NSMutableAttributedString


  • Subject: Re: Adding attributes to NSMutableAttributedString
  • From: Flavio Donadio <email@hidden>
  • Date: Mon, 14 Jun 2010 17:32:06 -0300

Tom,


On 14/06/2010, at 16:01, email@hidden wrote:

> I'm trying to add some attributes to a NSMutableAttributedString using the code below but only get errors.
>
> 	NSMutableAttributedString *string = @"aaaaaaaaaaaaaaaaaaaaaaa";

Try replacing the line above with:

	NSMutableAttributedString *string = [[NSMutableAttributedString alloc] initWithString:@"aaaaaaaaaaaaaaaaaaaaaaa"];


Cheers,
_iCeb0x________________________________________________

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

  • Prev by Date: Re: CocoaEcho
  • Next by Date: Re: CocoaEcho
  • Previous by thread: Re: Adding attributes to NSMutableAttributedString
  • Next by thread: Image pinching and double tapping issue.
  • Index(es):
    • Date
    • Thread