Clear up any ambiguity and get typed errors too
The tab bar interface appears in some of the most popular mobile apps such as Facebook, Instagram, and Twitter. A tab bar appears at the bottom of an app screen and let users quickly switch between different functions of an app. In UIKit, you use the UITabBarController to create the tab bar interface. For the SwiftUI framework, it provides a UI component called TabView for developers to display tabs in the apps. In this tutorial, we will show you how to create a tab bar interface using TabView, handle the tab selection, and customize the appearance of the tab bar. […]
In this tutorial, you’ll learn how data flow in SwiftUI helps maintain a single source of truth for the data in your app.
Swift 4 is almost upon us, and I thought I would explore one of its features that I haven’t had the opportunity to that much: KeyPaths. There’s a lot of interesting nuance in here that I previously didn’t realize existed which I’d love to share.
Using Apple's recommended unified logging system using OSLog can be done in just a few steps. Learn how to use it in combination with the Console app.
Learn how to create your own Combine publisher in Swift
Once you know the boilerplate, it’s not hard to build a custom publisher in Combine.
Combine vs RxSwift: in this article we introduce Combine, the new Apple framework, and spot its main differences with RxSwift.
Welcome to another programming tutorial in the Swift programming language! Today we we are going to talk about a topic that usually everybody knows something more or less, but it’s important for new developers in Swift to really understand what is all about and how it works. It’s quite often for the subject of our discussion not to receive the proper attention, so it’s either misused or not used at all. It’s a topic that the more someone advances in Swift, the more necessary it becomes in order to write better and clearer code. And that topic is about Access […]
Over a weekend recently I built a tiny Mac app (more on that later). What I was trying to achieve required executing AppleScript, like so many things on macOS. It seemed simple enough, but of course new app sandboxing restrictions...
Bypass the mistakes I made and jump straight into the code.
Many of us feel nervous when meeting a group of people for the first time. What are the dynamics of the group, what are the in-jokes, will I find common ground with someone - are just a few questions that can plague you. A lot of your hard work at
How to use Swift 5.1 property wrappers to cut your dependency injection code in half
In this tutorial, you’ll use SwiftUI to implement the navigation of a master-detail app. You’ll learn how to implement a navigation stack, a navigation bar button, a context menu and a modal sheet.
Memory Management in Swift: Understanding Strong, Weak and Unowned References