SwiftUI implementation of the SAP Fiori for iOS Design Language
This project is the SwiftUI implementation of the SAP Fiori for iOS Design Language, and is meant to augment and in some cases replace the UIKit-based implementation contained in the SAPFiori framework of the SAP BTP SDK for iOS.
This project currently contains three modules:
This module contains both the Fiori palette information which is already consumed in SAPFiori framework, as well as the SwiftUI migration code line, which is in-development in the
WARNING: concepts and implementation for generated components is
in-developmentand can change at any time!!!
The FioriCharts module replaces the RoambiChartKit charting library which was already embedded in SAPFiori. Migrating to SwiftUI gives the ability to easily add new chart components (donut, bullet, stocks, etc.) while modernizing the existing supported charts with pinch-to-zoom, pan, and new design features.
|SAPFiori 4.0.x, 5.0.x||FioriCharts|
The API is designed for backwards compatibility to the existing SAPFiori charting APIs, but is optimized for SwiftUI.
The FioriIntegrationCards module is a native SwiftUI renderer for the UI5 Integration Cards. These types of cards are common in UI5 dashboard and overview page user contexts. In native iOS apps, we are focusing initially on the dashboard use case, and also considering Cards as ideal for Annotation-style views--in maps, or AR experiences.
The package is intended for consumption via Swift Package Manager.
File > Swift Packages > Add Package Dependency...tab, then add the repository URL.
In both cases, xcodebuild tooling will manage cloning and updating the repository to your app or framework project.
Three products are exposed by the
FioriSwiftUI as umbrella product will contain everything the package has to offer in the future.
If you are concerned about bundle size you can use either one of the individual products FioriCharts or FioriIntegrationCards
Both modules are currently in development, and should not yet be used productively. Breaking changes may occur in 0.x.x release(s)
Several functional limitations exist at present, which are planned for resolution before milestone release 1.0.0. Please check the Issues tab for an up-to-date view of the backlog and issue status.
Key gaps which are present at time of open-source project launch:
Support for the modules is provided through this open-source repository. Please file Github Issues for any issues experienced, or questions.
When SAPFiori integrates FioriCharts productively, customers should continue to report issues through OSS for SLA tracking. However, developers may also report chart-related issues directly into the Github Issues; SAP will mirror FioriCharts-related issues reported through OSS into Github Issues.
If you want to contribute, please check the Contribution Guidelines
Functionality can be further explored with a demo app which is already part of this package (
|Last commit: 2 days ago|
🐛 adjust spacing between axis's labels and baseline (c0025f4)
🐛 color issue caused by order of series on analytical card (a10b808)
🐛 color palette issues for integration (994b619)
🐛 compiler error for selectionMode of ChartModel on Xcode 11 (71ea4c8)
🐛 fix ui update issue and refactor code (711526f)
🐛 fix x axis ui update issue (1ec70b0)
🐛 fix xcode 11 compile bug (793457b)
🐛 fix xcode 11 compile issue (dd36c50)
🐛 fix xcode 11 compile issue (b0ea42d)
🐛 improve hex color initialization (30fbd90)
🐛 improve test app (c189fc5)
🐛 selection mode .all in bubble & scatter chart (125bdb9)
🐛 show chart plot on top of axes and grid lines (7f90c02)
🐛 xcode 11 compile issue (d70690a)
✏️ change micro charts from public to internal (e129a97)