WOWZDataList
IntroductionThe WOWZDataList class provides an interface for a list or an array of items that represent server metadata that's sent and received by GoCoder. Methods
addBool:- (void) addBool:(BOOL)value; ParametersDiscussionAdds a Boolean, which will be converted to a WOWZDataItem, to the internal list. addDate:- (void) addDate:(nonnull NSDate *)value; ParametersDiscussionAdds a date, which will be converted to a WOWZDataItem, to the internal list. addDouble:- (void) addDouble:(double)value; ParametersDiscussionAdds a double, which will be converted to a WOWZDataItem, to the internal list. addFloat:- (void) addFloat:(float)value; ParametersDiscussionAdds a float, which will be converted to a WOWZDataItem, to the internal list. addInteger:- (void) addInteger:(NSInteger)value; ParametersDiscussionAdds an integer, which will be converted to a WOWZDataItem, to the internal list. addItem:- (void) addItem:(nonnull WOWZDataItem *)value; ParametersDiscussionAdds a WOWZDataItem to the internal list. addList:- (void) addList:(nonnull WOWZDataList *)value; ParametersDiscussionAdds a WOWZDataList to the internal list. addMap:- (void) addMap:(nonnull WOWZDataMap *)value; ParametersDiscussionAdds a WOWZDataMap to the internal list. addString:- (void) addString:(nonnull NSString *)value; ParametersDiscussionAdds a string, which will be converted to a WOWZDataItem, to the internal list. dataListWithArray:+ (nullable instancetype) dataListWithArray:(nonnull NSArray<WOWZDataItem *> *)array; ParametersReturn ValueAn instance of WOWZDataList with the specified array of items. DiscussionCreates a WOWZDataList that copies items from the specified array to its internal list. init- (nonnull instancetype) init; Return ValueAn instance of an empty WOWZDataList. DiscussionInitializes an empty WOWZDataList. initWithArray:- (nullable instancetype) initWithArray:(nonnull NSArray<WOWZDataItem *> *)array; ParametersReturn ValueAn instance of WOWZDataList with the specified array of items. DiscussionInitializes a WOWZDataList that copies items from the specified array to its internal list. maximumSize+ (NSUInteger) maximumSize; Return ValueAn NSUInteger that expresses the total number of elements allowed in a WOWZDataList. DiscussionGets the maximum number of elements allowed in a WOWZDataList. Propertieselements@property (nonatomic, strong, readonly, nullable) NSMutableArray<WOWZDataItem *> *elements; DiscussionThe underlying NSMutableArray that stores the items in the list. |