Re: Adding attributes to NSMutableAttributedString
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