| Inherits from | GBParagraphItem : NSObject |
| Declared in | GBParagraphDecoratorItem.h<br />GBParagraphDecoratorItem.m |
Specifies a decorator paragraph item.
Decorator items wrap an array of GBParagraphItem and speficies a decoration to be applied over them. Use decorationType to determine the type of decoration and decoratedItems to get the array of item to be decorated.
- registerItem:
Registers the given item to the end of decoratedItems array.
- replaceItemsByRegisteringItemsFromArray:
Replaces the decoratedItems array with the objects from the given array.
decorationType
The type of decoration to apply over assigned decoratedItems .
decoratedItems
The GBParagraphItem instances we're decorating.
Registers the given item to the end of decoratedItems array.
- (void)registerItem:(GBParagraphItem *)item Registers the given item to the end of decoratedItems array.
nil . GBParagraphDecoratorItem.hGBParagraphDecoratorItem.m Replaces the decoratedItems array with the objects from the given array.
- (void)replaceItemsByRegisteringItemsFromArray:(NSArray *)items GBParagraphItem instances to register. Replaces the decoratedItems array with the objects from the given array.
GBParagraphDecoratorItem.hGBParagraphDecoratorItem.m The GBParagraphItem instances we're decorating.
@property (readonly) NSArray *decoratedItems The GBParagraphItem instances we're decorating.
Items can be registered through registerItem: or registerItems: methods.
GBParagraphDecoratorItem.h The type of decoration to apply over assigned decoratedItems .
@property (assign) GBDecorationType decorationType The type of decoration to apply over assigned decoratedItems .
GBParagraphDecoratorItem.h