Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Implementation

Arnaud Leene edited this page Oct 18, 2019 · 7 revisions

previous page: Home

Interface

The interface is build with the Storyboard, individual XIB-files and arranged within the viewControllers. Some considerations for implementing these.

Fonts

All characters presented on the screen should use the ... fonts. These fonts can then be scaled appropriately by the system for accessibility purposes.

Colors

From IOS 13 onwards the app needs to support dark mode. This implies that the following settings should be followed:

  • defaults - always use the defaults (.default). Sometimes these will not work well, due to the implementation used in the app.
  • systemBackground - sometimes the default value translates to .clear. In that case one should use .systemBackground.
  • UITextFields - use .secondarySystemColor and .label. (it seems more logical to use .secondaryLabel, but that turns out to dark)

If the colors are set in code, it necessary to add a detection for IOS 13. The compiler will provide the stubs.

Clone this wiki locally