NSAttributed string issue

When I assign an NSMutableAttributedString to a NSAttributedString I am getting error
Code Block
-[UICTFont textBlocks]: unrecognized selector sent to instance

There must be something wrong with the string but I cannot find any documentation that might explain this. Does anyone know what the error means?

Accepted Reply

Thanks for your response. I had indeed set an incorrect attribute. One of those stupid mistakes you can stare at for hours and not see!!

Replies

That may happen when you set an invalid value to any of the attributes.
Can you show how you created the NSMutableAttributedString?
Thanks for your response. I had indeed set an incorrect attribute. One of those stupid mistakes you can stare at for hours and not see!!