Skip to content

sunilreddy1257/IdentifyTargetsUsingMacros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

IdentifyTargetsUsingMacros

Created different Targets in Xcode, we have to identify target and will given different view background colour for different target

Requirement: Based on building Target, have to change view controller and label text.

Steps:

  • Duplicate targets
  • Edit Schme change the names
  • Tap on Target -> Build Settings -> Swift Complier - Custom Flags -> Other Swift Flags -> Enter Name (Example: -DQA, -DPROD)
  • You have to set names for all targets
  • Remaining Refer in Code

About

Identify Targets in Xcode using Macros

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages