IPHONE-192: Formatting
IPHONE-177: method seems to be called multiple times for 1 rotation on iOS 7. Anyway, code was not safe as it put the mask view on the screen without checking there was already one there. Now removes one if already in place.
IPHONE-192: Do not optimise application when building in debug, otherwise debugging in LLDB is not possible
IPHONE-192: Turn on some more warnings during compilation
All ORWidgets now have a reference to the Definition they are a part of.
This definition is set as soon as possible during parsing.
Added lookup of ORLabel by its ORObjectIdentifier in addition to int id
Added new model objects for ORImage, its parser and supporting classes (deferred binding), along with unit tests.
Not yet used in actual parsing.
Added new model objects for sensor states, along with unit tests.
Added new model object for sensor
Added new parser to produce new ORParserState model object from XML, along with unit tests
Refactored out the mock parser that was used for ORSensorStateParser test implementation so it can be used for other tests.
Added new parser to handle “sensor links” and produce ORSensor and ORSensorStatesMapping model objects from XML, along with unit tests
Added an ORStatesMapping to the ORSensorLink, this is where it belongs, as each usage of a sensor on a widget can use a different mapping
Added an ORStatesMapping when registering a sensor link in the registry, this is where it belongs, as each usage of a sensor on a widget can use a different mapping
ORObjectIdentifier will need to be used as key in dictionary and should thus conform to NSCoding
ORSensorRegistry use an ORObjectIdentifier instead of NSNumber / int to reference a sensor
ORObjectIdentifier implements description to ensure it will return an appropriate value when evaluated (i.e. it returns its string value)
Now using ORSensor and other new model classes when parsing
boundComponentId should be a strong reference, it’s only create for the binding and not retained by any other object in the model
If cache fails to initialise, queue might not have been created, only release queue if it exists