NSAttributedString
This is new in iOS 6. It is really powerful and really useful. Think of NSAttributedString as an NString where each character has dictionary of attributes. The attributes attached to the character can be its font, the color, is it underline etc etc. Thats how you can think of NSAttributedString as conceptually.However its not like that It is very efficient and it handles the attributes very efficiently. You will know as we progress through the article.
Syntax
How to we get the attributes from the NSAttributed string. here is the syntax.-(NSDictionary *)attributesAtIndex : (NSUInteger) index effectiveRange : (NSRangePointer) range;