| Inherits from | GBParagraphItem : NSObject |
| Declared in | GBParagraphListItem.h<br />GBParagraphListItem.m |
Handles ordered and unordered lists for a GBCommentParagraph .
Lists are containers for list items which are instances of GBCommentParagraph . This allows us to form a tree structure with nested lists and other paragraph items. Lists can be ordered or unordered, the type can be determined by testing the value of isOrdered property.
+ orderedParagraphListItem
Returns new autoreleased list item with ordered set to YES .
+ unorderedParagraphListItem
Returns new autoreleased list item with ordered set to NO .
- registerItem:
Registers the given item by adding it to the end of items array.
isOrdered
Specifies whether the list is ordered ( YES ) or unordered ( NO ).
listItems
Array of all list items as instances of GBCommentParagraph in the same order as in comment text.
Returns new autoreleased list item with ordered set to YES .
+ (id)orderedParagraphListItem Returns new autoreleased list item with ordered set to YES .
This is equivalent to initializing with designated initialized ( init ) and setting ordered property value of initializaed object to YES .
GBParagraphListItem.hGBParagraphListItem.m Returns new autoreleased list item with ordered set to NO .
+ (id)unorderedParagraphListItem Returns new autoreleased list item with ordered set to NO .
This is equivalent to initializing with designated initialized ( init ) and setting ordered property value of initializaed object to NO .
GBParagraphListItem.hGBParagraphListItem.m Registers the given item by adding it to the end of items array.
- (void)registerItem:(GBCommentParagraph *)item GBCommentParagraph to register. Registers the given item by adding it to the end of items array.
nil . GBParagraphListItem.hGBParagraphListItem.m Specifies whether the list is ordered ( YES ) or unordered ( NO ).
@property (assign) BOOL isOrdered Specifies whether the list is ordered ( YES ) or unordered ( NO ).
GBParagraphListItem.h Array of all list items as instances of GBCommentParagraph in the same order as in comment text.
@property (readonly) NSArray *listItems Array of all list items as instances of GBCommentParagraph in the same order as in comment text.
GBParagraphListItem.h