Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1264] Support New iOS SplitWindow in XML Markup

GitHub Issuen/a
Resolution Date2015-10-16T17:36:50.000+0000
Affected Version/salloy 1.7.18
Fix Version/sRelease 5.2.0, alloy 1.7.19
ReporterBenjamin Hatfield
AssigneeFokke Zandbergen


There is a new Ti.UI.iOS.SplitWindow class (http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iOS.SplitWindow), which deprecates the old Ti.UI.iPad.SplitWindow class. Currently, Alloy is using the deprecated Ti.UI.iPad.SplitWindow class instead of the new one. If you change the namespace of the SplitWindow element to Ti.UI.iOS, it fails to launch the SplitWindow with the following log output: {noformat} [WARN] Can not add a window as a child of a view. Returning [WARN] Can not add a window as a child of a view. Returning [DEBUG] masterView property must be set to an object of type TiViewProxy [WARN] OPEN ABORTED. _handleOpen returned NO {noformat} Test view: works fine without the ns attribute since it's using the old class. {noformat} {noformat}


  1. Fokke Zandbergen 2015-06-29

    PR: https://github.com/appcelerator/alloy/pull/689
  2. Fokke Zandbergen 2015-06-29

    Can we please get this in the Alloy version for 4.1.0?
  3. Fokke Zandbergen 2015-10-16

    Updated PR to address issues.
  4. Feon Sua Xin Miao 2015-10-16

    PR merged.
  5. Eric Wieber 2016-01-20

    Verified fixed, using: MacOS 10.11.3 (15D21) Studio Ti SDK 5.2.0.v20160114021251 Appc NPM Appc CLI 5.2.0-232 Xcode 7.2 (7C68) Node v0.12.7 Java 1.7.0_80 No warnings/errors appear when using the element (with or without the ns chage, since it is now changed to Ti.UI.iOS). Used the provided sample code and removed the ns property.

JSON Source