On Thu, Jun 10, 2010 at 5:18 PM, Tom Korsgren <toko9...@student.uu.se> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com