Xcode File Headers and Macros

Опубликовано: 28 Июль 2024
на канале: Stewart Lynch
1,545
121

In this video, I want to show you how you can create your own version of the Xcode File Header. Thes are the comments that are at the top of every file that is created within Xcode.
It isn't going to help your Development, but it means that you can be more specific about what you want in that header and when you share your code, you can even add links here to where people can contact you.

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

******* Download my StewartLynch YouTube Channel Application - Free ********** 
https://stewartlynch.gumroad.com/l/obsjz T

Table of Contents: 
0:00  Introduction
2:15 The IDETemplateMacros property list
4:22 Template locations
8:10 Text Macros
10:50 Organization Name
12:17 Custom Header
15:15 Global Template Location
19:05 Sharing templates between computers

 Starter Project Files: 
No Starter Project for this video
Completed Project: 
No Starter project for this video

References mentioned in video: 
Template Locations
https://help.apple.com/xcode/mac/9.0/...
Xcode templates, projects, targets, schemes and workspaces
   • Xcode templates, projects, targets, s...  
Text macros reference
https://help.apple.com/xcode/mac/9.0/...
Recommended Resources: 
FileHeader Macros Gist
https://gist.github.com/StewartLynch/...
Creating, Using and Sharing Code Snippets
   • Creating, Using and Sharing Xcode Sni...  

RocketSim - Build Apps Faster 
   https://gumroad.com/a/122988499/ftvbh 

BigMountain Studio Books 
SwiftData Mastery in SwiftUI 
   https://www.bigmountainstudio.com/swi...
SwiftUI Views Mastery 
   https://www.bigmountainstudio.com/vie...
SwiftUI 5 Book Bundle 
   https://www.bigmountainstudio.com/boo...
Combine Mastery in SwiftUI 
   https://www.bigmountainstudio.com/com...
Core Data Mastery in SwiftUI 
   https://www.bigmountainstudio.com/cor...
SwiftUI Animations Mastery 
   https://www.bigmountainstudio.com/ani...

Other References: 
Stewart Lynch's YouTube Channel: 
      / @stewartlynch   
Stewart Lynch on Mastodon: 
   https://iosdev.space/@StewartLynch 
Stewart Lynch On Threads: 
   @StewartLynch 
Stewart Lynch on X: 
   https://x.com/StewartLynch 
Stewart Lynch on LinkedIn 
     / stewartlynch