Re: Adding attributes to NSMutableAttributedString
Re: Adding attributes to NSMutableAttributedString
- Subject: Re: Adding attributes to NSMutableAttributedString
- From: "Stephen J. Butler" <email@hidden>
- Date: Mon, 14 Jun 2010 13:50:10 -0500
On Thu, Jun 10, 2010 at 5:18 PM, Tom Korsgren <email@hidden> wrote:
> Hi!
> I'm trying to add some attributes to a NSMutableAttributedString using the
> code below but only get errors.
>
> NSMutableAttributedString *string = @"aaaaaaaaaaaaaaaaaaaaaaa";
The @"" notation is a constant NSString/CFString. If you want an
NSMutableAttributedString you need to alloc/init one.
_______________________________________________
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