Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1133] Allow for ordering of property setting

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T02:44:54.000+0000
Affected Version/sn/a
Fix Version/sBacklog
ComponentsiOS
Labelsn/a
ReporterStephen Tramer
AssigneeStephen Tramer
Created2011-04-15T02:44:54.000+0000
Updated2017-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?

Comments

  1. Stephen Tramer 2011-04-15

    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.

  2. Lee Morris 2017-03-02

    Closing as invalid.

JSON Source