How do you implement state preservation and restoration when your view controller model is a Swift struct that does not support NSCoding? Keith Harrison’s notes on how to wrap the struct in a dictionary with some help from Sourcery.
Being able to express basic values using inline literals is an essential feature in most programming languages. John Sundell focuses on string literals in particular, by taking a take a look at the many different ways that they can be used and how we — through Swift’s highly protocol-oriented design — are able to customize the way literals are interpreted.
Following the Glassbox scandal and as an answer to App Store’s requirements for apps using analytics SDK - Smartlook developed an open source configurable user consent SDK for iOS & Android Apps. SmartlookConsentSDK provides a configurable control panel where a user can select their privacy options and store their consent & preferences for the app. Contributions to the SDK are welcomed.
Testing applications is a critical component of development. As we iterate on our applications, we may change the UI in unintended ways. Manually testing these can be expensive and time-consuming. UI testing can automate this.