GBCommentParagraph Class Reference
| Inherits from | NSObject |
| Declared in | GBCommentParagraph.h GBCommentParagraph.m |
Overview
Describes a paragraph for a GBComment .
A paragraph is simply an array of items. It can contain the following objects: GBParagraphTextItem , GBParagraphDecoratorItem , GBParagraphLinkItem , GBParagraphListItem , GBParagraphSpecialItem .
Tasks
Initialization & disposal
-
+ paragraphReturns autoreleased paragraph instance.
Paragraph values
-
- registerItem:Registers the given paragraph item by adding it to the end ofitemslist. -
paragraphItemsThe list of all paragraph items in the order of registration.
Input values
-
stringValueParagraph's raw string value as declared in source code.
Class Methods
Instance Methods
registerItem:
Registers the given paragraph item by adding it to the end of items list.
- (void)registerItem:(GBParagraphItem *)itemParameters
- item
- The item to register.
Exceptions
- NSException
- Thrown if
nilis passed.
Declared In
GBCommentParagraph.hProperties
paragraphItems
The list of all paragraph items in the order of registration.
@property (readonly) NSArray *paragraphItemsDiscussion
The list of all paragraph items in the order of registration.
Each object is a subclass of GBParagraphItem .
Declared In
GBCommentParagraph.h