Переглядів 11,729
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 :)
ko-fi.com/stewartlynch
******* Download my StewartLynch UKposts Channel Application - Free **********
stewartlynch.gumroad.com/l/obsjz
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:
www.createchsol.com/StarterPro...
Completed Project:
github.com/StewartLynch/Confi...
References mentioned in video:
Apple Doc
help.apple.com/xcode/mac/11.4...
AppCoda
www.appcoda.com/xcconfig-guide/
Heartbeat
heartbeat.comet.ml/xcode-buil...
Ted Bendixson
/ some-practical-uses-fo...
NSHipster
nshipster.com/xcconfig/
Other References:
Stewart Lynch's UKposts Channel:
/ stewartlynch
Stewart Lynch on Twitter:
/ stewartlynch