Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11946] iOS: As Titanium uses MGSplitView for iPad SplitWindow, expose all the library features for more UI possibilities on iPad

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterYgor Lemos
AssigneeUnknown
Created2012-09-21T09:39:26.000+0000
Updated2018-02-28T20:03:15.000+0000

Description

Titanium uses the MGSplitView as the library to control the SplitWindow generation. But only the most simple features are exposed. As the library is already loaded, I think we could proxy the more advanced features of this library, allowing more advanced UI's to be created using SplitWindow. Some of those features are (taken from MGSplitView docs on Github): * Allows toggling the visibility of the master view in either interface-orientation; i.e. you can have master-detail or detail-only in either landscape and/or portrait orientations (independently, and/or interactively). * Allows choosing whether the split orientation is vertical (i.e. left/right, like UISplitViewController), or horizontal (master above, and detail below). You can toggle between modes interactively, with animation. * Allows choosing whether the master view is before (above, or to left of) the detail view, or after it (below, or to the right). * Allows you to choose (and change) the position of the split, i.e. the relative sizes of the master and detail views. * Allows you to enable dragging of the split/divider between the master and detail views, with optional constraining via a delegate method. * Allows you to choose the width of the split between the master and detail views. * Preset "divider styles": one for non-draggable UISplitViewController-like dividers, and one for draggable, thicker style with a grip-strip. * Allows you to substitute your own divider-view (an MGSplitDividerView subclass), used to draw the split between the master and detail views. Also it would be nice to update the library, specially for iOS6 as many bugs were fixed and performance enhancements were made.

Comments

No comments

JSON Source