I set the appearance of the UITextView text in the storyboard through the attribute properties of the string. However, when I try to access it at runtime to copy an attribute object, it returns null.
NSAttributedString *atrString = self.contentTextView.attributedText; NSLog(@"atrString = %@", atrString);
Outputs
2013-09-20 14:44:19.572 PageTest[69125:70b] atrString = (null)
I havenβt worked with string attributes before, so I'm sure Iβm doing something wrong, but clearing the documentation left me empty anyway. Any help would be appreciated. Thanks!
ios cocoa-touch uitextview nsattributedstring
Murdock
source share