Tom,

On 14/06/2010, at 16:01, cocoa-dev-requ...@lists.apple.com 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 (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

Reply via email to