Back in September 2018 I wrote about using the new S'banken API to create a pocket money app for iOS - since they didn't have one at the time.
The still don't - but - iOS development has moved on a bit since then - notably with the release last year of SwiftUI.
In this series - we will take a look at creating the app from scratch - but using SwiftUI and some helper libraries.
The S'banken API provides several functions. In the previous application - we used:
To do this - we needed 3 values:
The authorization uses client credentials grant flow.
Entering the new client secret every 90 days got old quite fast. The new app will be provided with 4 values:
These will be provided via QR code (remember not to share the code) to simplify data entry
SwiftUI will be used instead of Swift+Storyboards. SwiftUI is not quite as feature complete as Swift+Storyboards yet - but it is fully usable.
We will make use of the new Swift Package Manager for dependencies. Initial libraries I expect to use are: