Search code examples
iosobjective-cnsmutableattributedstring

What is Tabs in NSMutableAttributedString


Could someone please tell me what is Tabs when we do a po on an mutable attributed string ?

Screenshot


Solution

  • If you look at the log you see that the tabs are related to NSParagraphStyle which has a tabStops property.

    The NSTextTab objects, sorted by location, that define the tab stops for the paragraph style.