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.
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 mails | Author | Date |
|---|---|---|
| Michael Norris | Oct 31, 22:02 | |
| Nicholas Riley | Oct 31, 22:31 | |
| tonycate | Nov 1, 04:37 | |
| Michael Norris | Nov 1, 06:09 | |
| Jonathan E. Jackel | Nov 1, 15:43 |






Cocoa mail archive

