DlhSoftTeam / Ganttis

Gantt chart components for macOS and iOS development
Other
22 stars 1 forks source link

ios outline #1

Closed liyongjie1002 closed 3 years ago

liyongjie1002 commented 3 years ago

Can iOS support outlineGanttChart?

DlhSoftTeam commented 3 years ago

Unfortunately not, because there is no "UIOutlineView" in UIKit (iOS – Cocoa Touch), like NSOutlineView in AppKit (macOS – Cocoa). Also, on iPhones the screen size is smaller, so it would be difficult to fit both the hierarchical grid and Gantt chart in the same screen.

The suggestion we have is to use GanttChart component (rather than OutlineGanttChart), and set ganttChartContentController.showsLabels = true (to display task names directly on bars.)

DlhSoftTeam commented 3 years ago

iPadOS is based on iOS, and since the OutlineGanttChart component does use NSOutlineView for its left grid that is not available on iOS, unfortunately it won't be supported on iPads either (unless we'd create and use our own or a third party outline view for iOS). It will work, however, on M1 Macs as they do run macOS, of course.

liyongjie1002 commented 3 years ago

thank you!