GravityItem Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | GravityItem.h GravityItem.m |
Other Methods
type
Type of the item
@property NSString *typeDiscussion
Type of the item
Declared In
GravityItem.h
title
Title of the item
@property NSString *titleDiscussion
Title of the item
Declared In
GravityItem.h
hidden
Defines whether the item is visible to users
@property BOOL hiddenDiscussion
Defines whether the item is visible to users
Declared In
GravityItem.h
fromDate
An item is never recommended before this date.
@property NSDate *fromDateDiscussion
An item is never recommended before this date.
Declared In
GravityItem.h
toDate
An item is never recommended after this date.
@property NSDate *toDateDiscussion
An item is never recommended after this date.
Declared In
GravityItem.h
nameValues
The NameValues for the item
@property NSMutableArray *nameValuesDiscussion
The NameValues for the item
Declared In
GravityItem.h
– initWithDictionary:
Initializes a GravityItem object with a dictionary
- (id)initWithDictionary:(NSDictionary *)dictParameters
dict |
the dictionary representing the object |
|---|
Return Value
an initialized GravityItem object
Discussion
Initializes a GravityItem object with a dictionary
Declared In
GravityItem.h
+ itemsToJSON:
Converts a GravityItem array to JSON
+ (NSData *)itemsToJSON:(NSArray *)itemsDiscussion
Converts a GravityItem array to JSON
Declared In
GravityItem.h