GravityItem Class Reference
Inherits from | NSObject |
---|---|
Declared in | GravityItem.h GravityItem.m |
Other Methods
type
Type of the item
@property NSString *type
Discussion
Type of the item
Declared In
GravityItem.h
title
Title of the item
@property NSString *title
Discussion
Title of the item
Declared In
GravityItem.h
hidden
Defines whether the item is visible to users
@property BOOL hidden
Discussion
Defines whether the item is visible to users
Declared In
GravityItem.h
fromDate
An item is never recommended before this date.
@property NSDate *fromDate
Discussion
An item is never recommended before this date.
Declared In
GravityItem.h
toDate
An item is never recommended after this date.
@property NSDate *toDate
Discussion
An item is never recommended after this date.
Declared In
GravityItem.h
nameValues
The NameValues for the item
@property NSMutableArray *nameValues
Discussion
The NameValues for the item
Declared In
GravityItem.h
– initWithDictionary:
Initializes a GravityItem object with a dictionary
- (id)initWithDictionary:(NSDictionary *)dict
Parameters
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 *)items
Discussion
Converts a GravityItem array to JSON
Declared In
GravityItem.h