Skip to content

Instantly share code, notes, and snippets.

@justinbowes
Created April 28, 2014 20:03
Show Gist options
  • Save justinbowes/11382515 to your computer and use it in GitHub Desktop.
Save justinbowes/11382515 to your computer and use it in GitHub Desktop.
UUID Guarded Header File.xctemplate
//
// ___FILENAME___
// ___PROJECTNAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___.
//___COPYRIGHT___
//
#ifndef ___PROJECTNAMEASIDENTIFIER_______FILEBASENAMEASIDENTIFIER_______UUIDASIDENTIFIER_______FILEEXTENSION___
#define ___PROJECTNAMEASIDENTIFIER_______FILEBASENAMEASIDENTIFIER_______UUIDASIDENTIFIER_______FILEEXTENSION___
#endif
<?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>AllowedTypes</key>
<array>
<string>public.c-header</string>
<string>public.c-plus-plus-header</string>
</array>
<key>BuildableType</key>
<string>None</string>
<key>DefaultCompletionName</key>
<string>UUID Header</string>
<key>Description</key>
<string>A header file with UUID include guard.</string>
<key>Kind</key>
<string>Xcode.IDEKit.TextSubstitutionFileTemplateKind</string>
<key>MainTemplateFile</key>
<string>___FILEBASENAME___.h</string>
<key>SortOrder</key>
<string>4</string>
<key>Summary</key>
<string>A header file with UUID include guard</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment