Yet Another Swift Blog

Yet Another Swift Blog

Learn advanced Swift topics

  • Home
  • Tips
  • About
Testing, Swift

Code Generating Swift Mocks with Sourcery

Learn how to code generate Swift mocks using Sourcery.

Vadim Bulavin Vadim Bulavin 8 min read
SwiftUI

Custom Popup in SwiftUI

Learn how to implement a custom popup in SwiftUI.

Vadim Bulavin Vadim Bulavin 5 min read
Swift

Callable Objects and callAsFunction() in Swift

Learn what is callAsFunction() and how to use it.

Vadim Bulavin Vadim Bulavin 4 min read
iOS

Effective Auto Layout Programmatically in Swift

Learn the five techniques of Effective Programmatic Auto Layout.

Vadim Bulavin Vadim Bulavin 8 min read
SwiftUI

SwiftUI View Lifecycle

Learn the three phases of SwiftUI view lifecycle: Appearing, Updating and Disappearing.

Vadim Bulavin Vadim Bulavin 4 min read
Testing

Unit Testing Asynchronous Code in Swift

Learn four techniques of unit testing asynchronous code in Swift: mocking, test before & after, expectations, busy assertion.

Vadim Bulavin Vadim Bulavin 11 min read
iOS, Swift

Working with an Internet Connection on iOS with Swift: Best Practices

Learn best practices of working with Internet connection.

Vadim Bulavin Vadim Bulavin 7 min read
SwiftUI

Infinite List Scroll with SwiftUI and Combine

Implement a SwiftUI infinite list using the Combine framework and MVVM.

Vadim Bulavin Vadim Bulavin 3 min read
Swift

Swift Pointers Overview: Unsafe, Buffer, Raw and Managed Pointers

Learn Swift pointers: what they are, when to use, and what you can get from them.

Vadim Bulavin Vadim Bulavin 6 min read
SwiftUI

SwiftUI Previews at Scale

Learn three techniques that help you manage SwiftUI previews at scale.

Vadim Bulavin Vadim Bulavin 7 min read
Testing, SwiftUI

Testing SwiftUI Views

Explore snapshot testing SwiftUI views: what it is; why it is important; what can we get from it.

Vadim Bulavin Vadim Bulavin 7 min read
Swift, SwiftUI

Function Builders in Swift and SwiftUI

What are function builders? How function builders work on the Swift compiler level? How to implement a custom function builder? These are the questions to answer in this article.

Vadim Bulavin Vadim Bulavin 5 min read
SwiftUI

View Communication Patterns in SwiftUI

Learn different view communication patterns in SwiftUI.

Vadim Bulavin Vadim Bulavin 6 min read
SwiftUI

Keyboard Avoidance for SwiftUI Views

Learn how to manage a keyboard when it covers a text field in SwiftUI.

Vadim Bulavin Vadim Bulavin 5 min read
Architecture, SwiftUI

Modern MVVM iOS App Architecture with Combine and SwiftUI

Learn how to build an iOS app with MVVM architecture pattern using Swift, Combine and SwiftUI.

Vadim Bulavin Vadim Bulavin 16 min read
SwiftUI

Asynchronous Image Loading from URL in SwiftUI

Learn how to download a SwiftUI image asynchronously from a URL and display it in a list.

Vadim Bulavin Vadim Bulavin 6 min read
Yet Another Swift Blog by Vadim Bulavin © 2022.
Latest publications Twitter vadymbulavin@gmail.com