filmov
tv
Xcode 11 / Swift / Conditional Compilation. Using #if #else #endif to vary code.

Показать описание
Sometimes, you need to vary your code depending on the environment (DEBUG, RELEASE, your custom one). One of the most common use cases is to use different urls or credentials in development and production. The simplest way is to use conditional compilation coupled with various schemes and build settings (and even targets if that's required). In this video, I'm going to show you a simple example - varying the screen's background color depending on the build configuration settings.
Swift - How to use typealias | Swift 5.2, Xcode 11
How to Add Alerts & Action Sheets in Xcode 11 - Swift 5 (iOS for Beginners)
Swift 5: UIViewController Lifecycles Explained (Xcode 11) - iOS Beginners 2020
Swift Tutorial: Play Music (Audio) In Your App with Xcode 11 (Swift 5 - 2020)
How to Create Tab Bar App in Xcode 11 (Swift 5)
How to Create WebView in Xcode 11 (Swift 5)
Variable Scope - Your First iOS and SwiftUI App with Xcode 11, Swift 5.1 and iOS 13
Drawing Shapes with SwiftUI - Xcode 11, Swift 5 - raywenderlich.com
Xcode 11, Swift 5.1 - Save and Retrieve Data Locally Using UserDefaults
Swift Bindings - Your First iOS and SwiftUI App with Xcode 11, Swift 5.1 and iOS 13
Writing Methods - Your First iOS and SwiftUI App with Xcode 11, Swift 5.1 and iOS 13
Swift UI Views - Your First iOS and SwiftUI App with Xcode 11, Swift 5.1 and iOS 13
Create Whats New Screen in App (Swift 5) - Xcode 11
How To Add Text View in Xcode 11 (Swift 5) - iOS App 2020
Strings - Your First iOS and SwiftUI App with Xcode 11, Swift 5.1 and iOS 13
What's New in Xcode 11?
Type Inference - Your First iOS and SwiftUI App with Xcode 11, Swift 5.1 and iOS 13
Xcode Tip - Vertical Code Selection #iosdeveloper #swift #xcode
How to Create a Swift Framework using Xcode 11
Swift In App Purchases In Your App (Xcode 11, Swift 5)
Swift Basics Conclusion - Your First iOS and SwiftUI App with Xcode 11, Swift 5.1 and iOS 13
Build Instagram App: Part 11 (Swift 5) - 2020 - Xcode 11 - iOS Development
Beginning Programming with iOS 11, Swift 4, and Xcode 9 - Introduction - raywenderlich.com
Swift Timer - Xcode 11, Swift 5.1
Комментарии