How expensive is DateFormatter
If you are working on iOS for long enough, there is a chance that you might have known that DateFormatter is expensive, but what is costly about DateFormatter? Let's find out in this article.
If you are working on iOS for long enough, there is a chance that you might have known that DateFormatter is expensive, but what is costly about DateFormatter? Let's find out in this article.
One of my favorite features of SwiftUI is styling. I love the idea of style protocols provided by every view and sharing them using the environment. I have already covered most of the style protocols for SwiftUI provided views in my previous posts. But what about custom views? This week we will learn how to share styling using environment for our custom views.
In this tutorial, we will show you how to create a paged scrolling view using SwiftUI tab view. You will also learn how to customize the paging indicator.
A closer look at how SwiftUI and UIKit can be combined in various ways, starting with how we can bring increasingly complex UIKit-based views and view controllers into the declarative world of SwiftUI.
In this tutorial, you’ll learn how to design and implement App Clips.
Font is an essential part of an app. A good selection of font would make your app stand out from the crowd. But whatever fonts you choose, you have to make sure it doesn't lose its core function, readability. You might feel reluctant to use a custom font in the past because you might lose the benefit of dynamic type goodness that Apple provides with their system font. Since iOS 11, this is no longer the case. You can easily use your custom font dynamic type.
Learn the three phases of SwiftUI view lifecycle: Appearing, Updating and Disappearing.
Learn how to read the examples in your dataset for training and testing using Swift for TensorFlow.
In this article, let's learn how to use a Lottie text provider for text replacement. You can also learn how to create a custom text provider.
Many thanks to Stefano De Carolis for the tip!
Learn how you can describe a simple Neural Network using Swift for TensorFlow.
The DispatchSource family of types from GCD contains a series of objects that are capable of monitoring OS-related events. In this article, we'll see how to use DispatchSource to monitor a log file and create a debug-only view that shows the app's latest logs.
Escaping closures can require reference to `self`, and end up creating reference cycles since they capture `self` when they are stored for use at a later time.
How custom Combine operators and convenience APIs can be implemented using extensions, and how doing so can let us eliminate common sources of boilerplate when implementing things like networking and data validation.
In Adaptive SwiftUI views we’ve covered many approaches on how to make our layouts responsive to different external factors such as size classes, dynamic type, and more.
What to do if the predicted bounding boxes are drawn in the wrong place
Clutter is one of the worst enemies of good design. By cluttering your interface, you overload users with too much information. In comparison with desktop screens, mobile devices have a relatively…
Advanced color manipulation for iOS. Contribute to Boris-Em/ColorKit development by creating an account on GitHub.
Using XMLParser and NSAttributedString to add support for basic formatting in localizable strings
Feature tests: three techniques to try before reaching for XCUITest.
Kristaps Grinbergs - experienced Apple tech software engineer - iOS, tvOS, watchOS, macOS.