In this post I’ll show you a way I’ve used KeyPaths in Swift to drastically improve how I architected a settings screen. This post will…
Shell scripts are essentials on the server side. Learn how to build Swift scripts for your backend apps using property wrappers.
Implementing the Remote Configuration feature and integrating it with the latest Swift development environment; the pros and cons of adding dependencies.
Clean up state or print out debug information just before leaving the scope by defining the defer statement can improve development a lot.
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.