Design System Mobile for iOS & SwiftUI | Read-only mirror of https://github.com/SchweizerischeBundesbahnen/mobile-ios-design-swiftui — SBB. Issues & pull requests at the source.
  • Swift 99.6%
  • Python 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
georgiosantoniadis 80b54d74d4
Merge pull request #194 from noelheinrich/patch-1
Create vorschau.yml
2026-12-03 07:24:04 +01:00
.github Create vorschau.yml 2026-11-28 12:29:08 +01:00
.reuse
.swiftpm/xcode
ci_scripts/__Snapshots__ tests with Testing instead of XCTest 2026-02-27 10:10:08 +01:00
LICENSES
SBBDesignSystemMobileSwiftUI animation 2026-12-01 10:58:08 +01:00
SBBDesignSystemMobileSwiftUI.xcodeproj release notes 2026-08-10 10:36:40 +02:00
SBBDesignSystemMobileSwiftUIDemo updncounter, possibility to display a textfield 2026-09-03 15:01:30 +02:00
SBBDesignSystemMobileSwiftUIDemoTests tests with Testing instead of XCTest 2026-02-27 10:10:08 +01:00
.gitattributes
.gitignore
Contributing.md
generate_icons.py
generate_icons.sh update icons 1.8.14 2025-12-16 08:31:25 +01:00
HowTo_ImportSBBIcons.md update icons 1.8.14 2025-12-16 08:38:35 +01:00
LICENSE
Package.swift fix package 2026-02-24 17:18:55 +01:00
README.md update README 2026-02-27 07:29:27 +01:00
ReleaseNotes.md Fix animation applied to specific views 2026-11-26 13:36:16 +01:00

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 15.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.