An abstract data model class that can represent subclasses as dictionary or JSON data for saving to disk or over the network. For both OS X and iOS.Features
DejalObject: This is an abstract subclass of
NSObjectthat adds methods to represent the receiver as a dictionary or JSON data, load default values, track changes, enumerate an array of
DejalObjectinstances, and more.
DejalColor: A concrete subclass of
DejalObjectto represent a color (for OS X or iOS), enabling it to be stored in a
- DejalDate: Another concrete subclass to represent a date, primarily so it can automatically be represented as JSON.
DejalInterval: A subclass to represent a time interval or a range of intervals, including an amount and units, with methods to represent the interval or range in various ways, including as human-readable strings (see also the
DejalIntervalPickerproject for OS X).
A demo project is included, showing a subclass of
DejalObject to store various data types.