Picker is used for presenting a selection consisting of multiple options. UISegmentedControl which is known from UIKit is just a different picker style in SwiftUI. Let’s take a quick look… Read more Picker and segmented control in SwiftUI on iOS →
SwiftUI provides wrappers for UIViewController and UIView on iOS. Same wrappers are also available for AppKit views on macOS. Let’s see how to use those wrappers for rendering UIKit views… Read more Using SwiftUI previews for UIKit views →
I am happy to announce that Signal Path 2.0 is available now for macOS and iOS. Signal Path uses Apple’s universal purchase offering – buy it once for both platforms.… Read more Signal Path 2.0 for iOS and macOS is available now! →
Let’s take a look on how to set an equal width to multiple views where the width equals to the widest Text() view in SwiftUI. SwiftUI does not have an… Read more Setting an equal width to text views in SwiftUI →
I was looking into creating a view which has TextField with NumberFormatter. Typed text would show up in a separate label and when trying to enter non-numbers, the TextField would… Read more Validating string in TextField with NumberFormatter in SwiftUI →
View models in MVVM are responsible of making the model suitable for presenting by a view. Quite often model objects themselves have properties which can be directly presented by the… Read more MVVM and @dynamicMemberLookup in Swift →
Everything can’t go exactly as planned and therefore, at some point, there is a need for presenting localized error messages to the user. Let’s take a look at how to… Read more Alert and LocalizedError in SwiftUI →
Apps which integrate push or local notifications can customise notifications on Apple Watch. Let’s go through steps required for adding dynamic notifications on Apple Watch. Sample use case is an… Read more Dynamic user notification on Apple Watch with SwiftUI →