Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4990] iOS: Add Ti.UI.create3DMatrix() and deprecate

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-11-05T14:17:39.000+0000
Affected Version/sRelease 1.7.2
Fix Version/sSprint 2011-32, Release 1.8.0
ComponentsiOS
Labelsdeprecated-1.8.0, parity
ReporterStephen Tramer
AssigneeStephen Tramer
Created2011-08-12T14:47:19.000+0000
Updated2011-12-11T11:32:54.000+0000

Description

TIMOB-4652 moved Ti.UI.create3DMatrix() onto Ti.UI.iOS.create3DMatrix(), but did not retain a function for backwards compatibility. Going to add it back into the old namespace for deprecation/backcompat purposes.

Comments

  1. Stephen Tramer 2011-08-12

    TEST ----
       var matrix = Ti.UI.create3DMatrix();
       matrix.m33 = 1.0;
       matrix.m22 = 1.0;
       matrix.m11 = 1.0;
       
       Ti.API.info("Matrix diagonal: "+matrix.m11+"/"+matrix.m22+"/"+matrix.m33);
       
    PASS ---- - The code compiles and runs, providing the expected result (1/1/1) in the log. Note that this must be tested both on simulator AND VIA A DEVICE BUILD IN TISTUDIO. Otherwise the compile/API detection process will not be run, and any conditional-compile code will NOT be picked up. Part of this bug is ensuring that conditional compile detection still works.
  2. Alan Vaghti 2011-08-29

    Passed as expected on: iPhone Simulator iPod 3rd Gen 4.0.2 iPhone 4 4.2.10 iPad 2 4.3.2 SDK: version=1.8.0 timestamp=08/26/11 14:53 githash=8e978eb...
  3. Don Thorp 2011-11-05

    Standardizing summary and labels.

JSON Source