Is there any way to concat two NSAttributedString ? Or NSAttributedString and NSString ?
I tried something like this:
NSAttributedString *attr = [NSString stringWithFormat:@"...%@", attributedString];
NSLog (@"%@", [attr string]);
But thats not work…Any suggestions ? Thanks…
Since the NSAttributedString contains information not related to the string, you can’t just append it to an NSString without losing information.
To change the NSAttributedString using the NSString, you need to make a mutable copy of the NSAttributedString and use the editing methods on the resulting NSMutableAttributedString.