NSString(BOString) Category Reference
Declared in | NSString+BOString.h |
Overview
Helper category, which allows to avoid manual creation of BOStringMaker.
It allows to make NSAttributedString
instance with initial NSString
object and a maker block.
Instance Methods
bos_makeString:
Creates NSAttributedString
instance with a given maker block.
- (NSAttributedString *)bos_makeString:(void ( ^ ) ( BOStringMaker *make ))block
Parameters
- block
A list of instructions for BOStringMaker.
Return Value
An NSAttributedString
instance with attributes added
from block.
Discussion
Creates NSAttributedString
instance with a given maker block.
Declared In
NSString+BOString.h