Dave DeLong 5/15/2022

Conditional Compilation, Part 4: Deployment Targets

Read Original

This article, part 4 of a series on conditional compilation, explains how to use Xcode build settings and deployment targets to create version-specific compilation flags (like TARGETING_SWIFTUI_1). It details a method to automatically remind developers when backwards compatibility shims for SwiftUI are no longer needed, helping keep codebases clean as minimum OS versions increase.

Conditional Compilation, Part 4: Deployment Targets

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser