I try to use a CATextLayer together with a NSMutableAttributedString.
Once I set the string property of my CATextLayer to an NSMutableAttributedString it gets automatically replaced by an immutable NSAttributedString.
I checked for the result of calling class on the string property before and after setting it and the pointer. I hand an NSConcreteMutableAttributedString to the CoreTextLayer and right after the setter is called and I ask the CATextLayer for the class of its string property, I get this result: NSConcreteAttributedString. Also the pointers are different before and after (obviously).
What can I do to get that right?