Different ways to observe properties in Swift ·
After I wrote and released Foil, my library for implementing a property wrapper for UserDefaults, one of the criticisms on Twitter was that a mechanism for observing such properties should have been included. I disagreed. In the post
How to Style SwiftUI Buttons in iOS 15
In iOS 15, SwiftUI introduced a number of new features for styling SwiftUI buttons. We will go through all the new features in this tutorial.
Diffable data source behavior changes and reconfiguring cells in iOS 15 ·
This year at WWDC, some significant improvements and changes were announced for UICollectionView and UITableView. You can watch 10252: Make blazing fast lists and collection views for all the details, but I want to highlight some of them here.
Bridge from Combine to AsyncSequence - the plan (p. 1)
Series of Combine framework programming related blog posts.
How to translate SwiftUI applications
Localizing our applications is more critical than we think. We usually stick with English as the primary language. Only 4.9% of the world’s 7.8 billion inhabitants speak English. Most of the people aren’t native English speakers. In the grand scheme of things, only 360 million people speak English as their first language.
Mastering AsyncImage in SwiftUI
During our careers, we primarily build apps that work with web services to retrieve and upload data. Remote image is one type of that data that we need to download and display. SwiftUI provides us the AsyncImage type, which is a view that downloads and shows an image via URL. This week we learn how to use and customize AsyncImage in SwiftUI.
Fixing a hard-to-find bug in Dark Mode ·
I previously wrote about implementing Dark Mode in an older codebase, specifically how Dark Mode works (or doesn’t) with CGColor. I recently fixed a bug in the same project that was difficult to track down because it manifested i
Dependency Injection in Swift using latest Swift features
Dependency Injection using latest Swift features allows you to mock data, and write tests easily without 3rd party dependencies.
Benchmarking Swift Code Properly with Attabench
Hmmmm, how fast is this piece of code? Let's find out!
5 Complex Algorithms Simplified Using Swift's Higher-Order Functions
5 practical example of using Swift's higher order function to reduce code complexity when dealing with complex algorithms.
muukii/MondrianLayout: � A way to building layouts faster in AutoLayout like SwiftUI - powered by Result Builders
� A way to building layouts faster in AutoLayout like SwiftUI - powered by Result Builders - muukii/MondrianLayout
kean/Pulse: Logger and network inspector for Apple platforms
Logger and network inspector for Apple platforms. Contribute to kean/Pulse development by creating an account on GitHub.
Searchable modifier in SwiftUI: A UISearchController and UISearchBar equivalent
SwiftUI finally got native search support in iOS 15. We can add search functionality to any navigation view with the new searchable modifier. Let's explore its capability and limitation.
Advanced Charles Proxy Tutorial for iOS
Get more out of Charles Proxy by learning advanced features like mapping responses to local files, automating requests and writing logs.
Presenting a bottom sheet in UIKit with UISheetPresentationController –
We've seen bottom sheets in Apple's apps for a while now, and plenty of apps have followed this pattern. If you're not sure what I mean, it's the kind of sheet that takes up just a part of the screen…
Dismissing a SwiftUI modal or detail view
Three different ways to dismiss a SwiftUI view that was presented from another view, including a new API that’s being introduced in iOS 15.
How Swift runs an async executable – Ole Begemann
Who creates the task for your async main method to run in, and how.
Highlights of SwiftUI Release 3
This year, Apple focused on supporting deeper adoption of the framework for our apps.
Mastering search in SwiftUI
SwiftUI Release 3.0 brought tons of expected features that we missed in previous iterations. One of them is the ability to provide the search feature in our apps. Fortunately, we have a new searchable view modifier. This week, we will learn about the new searchable modifier and how to build a great search experience using it.
Getting Started with async/await in SwiftUI - SwiftUI Concurrency Essentials
Using async/await in SwiftUI apps