Created
December 2, 2024 19:56
-
-
Save harrisonrw/1c506bc24e969c43d570c58dbb2348d9 to your computer and use it in GitHub Desktop.
Custom Xcode File Header
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>FILEHEADER</key> | |
<string> | |
// ___FILENAME___ | |
// ___PROJECTNAME___ | |
// | |
// Copyright © 2024 RWH Technology, LLC. All rights reserved. | |
//</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example of Output
Instructions
Create an IDETemplateMacros.plist file. Add a key for
FILEHEADER
. Put your customizations between the<string>
and</string>
tags.See the Apple documentation for available text macros:
https://help.apple.com/xcode/mac/9.0/index.html?localePath=en.lproj#/dev7fe737ce0
Put the IDETemplateMacros.plist file in one of the locations described below.
Single project, single user
Single project, shared with team
Workspace, single user
Workspace, shared with team
For all projects (including projects in workspaces) on your system