LimeObject Class Reference
Inherits from | NSObject |
Conforms to | NSCoding |
Declared in | LimeObject.h LimeObject.m |
Overview
A base object for any model classes used in Lime SDK. It provides mainly the support for initialization from NSDictionary and couple debugging options, such as detailed “description” method for any subclassed object.
Instance Methods
initWithDictionary:
Initialize an object with the contents of the dictionary.
- (id)initWithDictionary:(NSDictionary *)dictionary
Parameters
- dictionary
An NSDictionary to be used for initializing object properties.
Return Value
This implementation of method alway raises an exception - subclass must override this method.
Discussion
Initialize an object with the contents of the dictionary.
WARNING: The default implementation in LimeObject class raises an exception. Make sure you override the method in your subclasses.
Declared In
LimeObject.h