Skip navigation.
 
mlRE: Coding style question from ObjC newbie
FROM : Jonathan E. Jackel
DATE : Fri Nov 01 15:43:35 2002

> >- (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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlCoding style question from ObjC newbie Michael Norris Oct 31, 22:02
mlRe: Coding style question from ObjC newbie Nicholas Riley Oct 31, 22:31
mlRe: Coding style question from ObjC newbie tonycate Nov 1, 04:37
mlRe: Coding style question from ObjC newbie Michael Norris Nov 1, 06:09
mlRE: Coding style question from ObjC newbie Jonathan E. Jackel Nov 1, 15:43