On 11/06/2010, at 8:18 AM, Tom Korsgren wrote:
> NSMutableAttributedString *string = @"aaa";
What you might have missed is that NS(Mutable)AttributedString is not a
subclass of NSString.
--Graham
___
Cocoa-dev mailing list (Co
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 = @"aaa";
Try replacing the line above with:
On Jun 10, 2010, at 5:18 PM, Tom Korsgren wrote:
> I'm trying to add some attributes to a NSMutableAttributedString using the
> code below but only get errors.
>
> NSMutableAttributedString *string = @"aaa";
This line is wrong. You are taking a NSString literal object
On 10 Jun 2010, at 23:18, Tom Korsgren wrote:
> Hi!
> I'm trying to add some attributes to a NSMutableAttributedString using the
> code below but only get errors.
>
> NSMutableAttributedString *string = @"aaa";
This creates an NSString instance, not an NSMutableAttri
On Thu, Jun 10, 2010 at 5:18 PM, Tom Korsgren wrote:
> Hi!
> I'm trying to add some attributes to a NSMutableAttributedString using the
> code below but only get errors.
>
> NSMutableAttributedString *string = @"aaa";
The @"" notation is a constant NSString/CFString. If