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