[TIMOB-1133] Allow for ordering of property setting
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-15T02:44:54.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Backlog |
Components | iOS |
Labels | n/a |
Reporter | Stephen Tramer |
Assignee | Stephen Tramer |
Created | 2011-04-15T02:44:54.000+0000 |
Updated | 2017-03-02T18:15:18.000+0000 |
Description
Right now view properties are set in any order because of how -[TiProxy allKeys] works (namely, it returns the properties in any generic order). For some classes, properties need to be set in a very specific order, since some properties rely on others being pre-set; so far we've had to jury-rig systems which take this into account. Maybe a -[TiUIView propertyConfigurationOrder] function or something that will handle this?
Actually, there are two scenarios where this would be needed:
(1) Changing those properties which are order-dependent after creation would damage things anyway, and so they must be written
(2) -[TiProxy allKeys] can be overloaded to handle those properties which should only be set at creation time (or are order-dependent at creation time) as in the case of TiUITableViewRowProxy.
Marking this invalid as a result but it's good to keep in mind.
Closing as invalid.