Posts from 2019
Conditional Compilation, Part 3: App Extensions
App Extensions tend to somewhat problematic when it comes to conditional compilation, because there are methods and functionality that are not available in app extensions. For example, app extensions don’t have a
UIApplication
instance, and so theUIApplication.shared
property is marked asNS_EXTENSION_UNAVAILABLE_IOS(...)
.