Skip to content

SchweizerischeBundesbahnen/mobile-ios-design-swiftui

Repository files navigation

Framework: Design System Mobile for iOS & SwiftUI

Generic badge Generic badge MIT license

This framework contains SBB (Swiss Federal Railways) UI elements for iOS SwiftUI Apps. It allows an easy integration of SBB theming to your app (or a custom color theming of your choice). All elements are optimized for dynamic TextSizes, VoiceOver, light & dark mode as well as for different SizeClasses.

SBB Design System Mobile in use

Minimum supported iOS Version

  • iOS 14.0

Add the library to your project with Swift Package Manager

Add the following package to your XCode project.

For HTTPS:

https://github.com/SchweizerischeBundesbahnen/mobile-ios-design-swiftui.git

For SSH:

git@github.com:SchweizerischeBundesbahnen/mobile-ios-design-swiftui.git

How to use

The main documentation (DocC) on how to use SBB DSM SwiftUI can be created directly from the project in XCode by selecting "Product" -> "Build Documentation".

Documentation

  • DocC documentation can be created in XCode by selecting "Product" -> "Build Documentation".
  • Sample app SBBDesignSystemMobileSwiftUIDemo is included in Xcode project.

SBB internal documentation

A the moment, the following documents are only available to persons internal to SBB:

Getting help

If you need help, you can reach out to us by e-mail: mobile@sbb.ch

Getting involved

Generally speaking, we are welcoming contributions improving existing UI elements or fixing certain bugs. We will also consider contributions introducing new design elements, but might reject them, if they do not reflect our vision of SBB Design System.

General instructions on how to contribute can be found under Contributing.

Missing SBB Icons?

Tell us! How to do it is described under How to import SBB Icons.

Authors

  • Brunner Nicolas
  • Antoniadis Georgios
  • Vessaz François

License

Code released under the MIT.