RE: Coding style question from ObjC newbie
RE: Coding style question from ObjC newbie
- Subject: RE: Coding style question from ObjC newbie
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Fri, 1 Nov 2002 09:43:35 -0500
>
>- (unsigned int)replaceOccurrencesOfString:(NSString *)target
>
>withString:(NSString *)replacement options:(unsigned)opts
>
>range:(NSRange)searchRange
>
>
That's nice, but I want to be able to do this on an
>
NSMutableAttributedString, which doesn't seem to implement this
>
method.
>
-mike
Every mutable attributed string has a mutable string, accessible through
[MyMAString mutableString]. You should be able to make the mutable string
perform the selector above. I'm not sure what that will do to the
attributes, though.
Jonathan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.