Skip to content

Instantly share code, notes, and snippets.

@Geri-Borbas
Last active September 11, 2020 10:37
Show Gist options
  • Save Geri-Borbas/e8a90159d4925962ae522cb9c9e0f2f6 to your computer and use it in GitHub Desktop.
Save Geri-Borbas/e8a90159d4925962ae522cb9c9e0f2f6 to your computer and use it in GitHub Desktop.
Xcode file header template. Put this into <WORKSPACE_NAME>.xcworkspace/xcuserdata/<USER_NAME>.xcuserdatad/IDETemplateMacros.plist. Set date format in System Settings / Language & Region / Dates, then edit "Short" format.
<?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___
// <PROJECT_NAME>
//
// Created by ___FULLUSERNAME___ on ___DATE___.
// Copyright © ___YEAR:deletingTrailingDot___ <COPYRIGHT_OWNER>. All rights reserved.
//</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment