~/Library/Developer/Xcode/UserData/IDETemplateMacros.plist
에 파일 추가
<?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___
// ___PACKAGENAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___
// Copyright © ___YEAR___ ___ORGANIZATIONNAME___. All rights reserved.
//</string>
</dict>
</plist>
위 내용이 기본으로 아래 문서 참고하여 커스텀하기
Text macros reference – Xcode Help (apple.com)
아래 위치마다 적용되는 범위가 다름
Project user data: .xcodeproj/xcuserdata/[username].xcuserdatad/IDETemplateMacros.plist
Project shared data: .xcodeproj/xcshareddata/IDETemplateMacros.plist
Workspace user data: .xcworkspace/xcuserdata/[username].xcuserdatad/IDETemplateMacros.plist
Workspace shared data: .xcworkspace/xcshareddata/IDETemplateMacros.plist
User Xcode data: ~/Library/Developer/Xcode/UserData/IDETemplateMacros.plist
답글 남기기