Город МОСКОВСКИЙ
00:21:25

Xcode Configurations and Flags

Аватар
Молодежь Реактивного Кода
Просмотры:
22
Дата загрузки:
04.12.2023 05:07
Длительность:
00:21:25
Категория:
Технологии и интернет

Описание

In this video, I am going to introduce you to Xcode configuration files, flags, compiler directives and accessing Build settings from code in Swift. It is not as complicated as you may think, and it has some extremely practical applications.

If you want to support my work, you can buy me a coffee :)
https://ko-fi.com/stewartlynch

Table of Contents:
0:00 Introduction
2:48 Schemes
4:40 DEBUG Compiler flag
6:20 Custom Configurations
7:00 Configuration Flags
10:44 Configuration Files
13:14 Configuration File Key value pairs
16:15 Accessing Build settings in code

Starter Project Files:
http://www.createchsol.com/StarterProjects/ConfigurationandFlags-Starter.zip

Completed Project:
https://github.com/StewartLynch/Configuration-and-Flags-Completed

References mentioned in video:
Apple Doc
https://help.apple.com/xcode/mac/11.4/#/dev745c5c974
AppCoda
https://www.appcoda.com/xcconfig-guide/
Heartbeat
https://heartbeat.comet.ml/xcode-build-settings-in-depth-733667d01a9a
Ted Bendixson
https://medium.com/practical-ios-development/some-practical-uses-for-xcode-build-schemes-and-build-configurations-swift-e50d15a1304f
NSHipster
https://nshipster.com/xcconfig/

Other References:
Stewart Lynch's YouTube Channel:
https://youtube.com/StewartLynch
Stewart Lynch on Twitter:
https://twitter.com/StewartLynch

Рекомендуемые видео