[TIMOB-178] Standardize Properties/getters and setters
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:52:14.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Backlog |
Components | iOS |
Labels | ios, iphone |
Reporter | Nolan Wright |
Assignee | Blain Hamon |
Created | 2011-04-15T02:24:51.000+0000 |
Updated | 2012-10-02T03:10:21.000+0000 |
Description
We need to go through all of our APIs and implement the following standards:
- all constructor properties must be updatable via a set[Property] method
- all supported properties must return the current value of the property (e.g., win.backgroundImage would return the current background image for the window)
- all supported properties must support a get[Property] method - this is a convenience, so developers can either access the property or use a get[Property] method
there may be places where this does not make sense. we can address this on a case by case basis.
0.9 and later does this automagically. It's neato.