Articles tagged with Swift

  1. SwiftUI TabView Double Tap Issue

    I recently ran into an issue while building an app with SwiftUI where I had a TabView that contained some views that modified their state in an onAppear block. I'm still not sure why, but this caused some strange behavior in that tapping on a tab would immediately return the …

  2. App Shortcuts in iOS 13

    App Shortcuts (also known as Home Screen Quick Actions), are the nice little popups that allow users to quickly jump into a specific section of your app, as seen in the screenshot below.

    Apple has a really nice guide on how to implement these in your own apps, but the …

  3. Swift Combine's Result.Publisher

    Coming from a background in Java/Android development, I’m fairly familiar with working in RxJava and the reactive style of programming. Without getting into the details of said style, there’s a particular operator you can use called Observable.just(), which allows you to wrap a single value in …