How I Created a DSL for Diffable Section Snapshot using Result Builders
Here's how I created a DSL that can visually represent a diffable section snapshot's hierarchical structure using result builders.
Here's how I created a DSL that can visually represent a diffable section snapshot's hierarchical structure using result builders.
Improve your app's UI by making grids in Swift using LazyVGrid and LazyHGrid to build vertical and horizontal scrolls.
This article shows you the basic concept of Swift result builders, how it works, and how to use it to create your own custom result builders.
Powerful property wrapper to back codable properties. - jegnux/BackedCodable
How Combine’s Future and subject types enable us to build many different kinds of functionality without having to write custom publisher implementations from scratch.
SwiftUI's layout system is very nice to get started with. Combining stacks and modifiers you can get very far very quickly, but at some point you will need t
Learn everything about how to map Firestore documents to Swift and back
Showing and hiding some parts of information is a vital feature in mobile apps, especially considering that phone screens are much smaller than those on laptops or desktop computers. Now with the new SwiftUI capabilities, we can collapse content with `DisclosureGroup`. Let's see how we could use it in various ways.
Learn the basics for using the Core Data framework with SwiftUI in iOS
In 2020 Apple came up with an updated vision of widgets and unified their API across platforms. The new WidgetKit framework made widgets more accessible, interactive and increased SwiftUI adoption. Starting with iOS 14, widgets can be presented in multiple sizes and placed on the iOS Home screen, Today View, or macOS Notification Center.
UserDefaults is one of the most misused APIs on Apple platforms. Specifically, most developers do not handle default values correctly. In fact, I have never worked on a single production codebase at a company where this was done accurately
We've previously seen how to make a custom font scale with dynamic type when using UIKit. How do you do the same with SwiftUI?
The importance of knowing how and why embed Frameworks.
Learn about the features the Simulator offers to make your Apple App development better.
Learn how to use UIMenu to build modern UI. This tutorial shows basic example, how to add separator, how to work with submenus and more.
Before you switch to a custom font don't overlook how much you can tweak the appearance of the system fonts. A quick review of some font APIs that work for both UIKit and SwiftUI.
@autoclosure allows us to delay computing arguments with the same code on the implementation level, while optimising our code for performance.
A detail-obsessed software studio. We design and develop delightful apps for amazing companies.
The template is a way to group repetitive code structure into a reusable component. You will learn how to create them in this article.
How to code generate mocks in Swift? How to integrate Sourcery to an Xcode project? How to unit test an API service by mocking URLSession in Swift? These are the questions to answer in this article.
A SwiftUI implementation of React Hooks. Enhances reusability of stateful logic and gives state and lifecycle to function view. - ra1028/SwiftUI-Hooks
Quite a lot has already been said about creating properly typed API clients on top of URLSession. In fact, two of my favorite blog posts about the topic are: Unlike Android, where Retrofit seems like…
The App Size Problem Uber’s iOS mobile Apps for Rider, Driver, and Eats are large in size. The choice of Swift as our primary programming language, our fast-paced development environment and feature additions, layered software and its dependencies, and statically linked platform libraries result in large app binaries. Reducing application size is critical to our customer experience. Moreover, Apple’s app-download-size limitations prohibit large app downloads over the air. App-download-size restriction means first-time users cannot download the app when they need it the most, and Uber cannot deliver features, promotions, or security updates to existing users when they are not on
A while ago I was playing around with Swift’s string interpolation functionality and come up with something cool I thought I’d share with you.