Skip to content

Instantly share code, notes, and snippets.

@numantariq
Last active September 7, 2017 14:39
Show Gist options
  • Save numantariq/cec78bb491f79667b5698fed33f3c55e to your computer and use it in GitHub Desktop.
Save numantariq/cec78bb491f79667b5698fed33f3c55e to your computer and use it in GitHub Desktop.
Sample TemplateInfo for Xcode project template that includes SHOBaseViewController
<?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>Kind</key>
  <string>Xcode.Xcode3.ProjectTemplateUnitKind</string>
  <key>Identifier</key>
  <string>com.custom.customApplicationBase</string>
  <key>Ancestors</key>
  <array>
  <string>com.apple.dt.unit.cocoaTouchApplicationBase</string>
  </array>
  <key>Concrete</key>
  <true/>
  <key>Description</key>
  <string>This template provides a starting point for a new custom project</string>
<key>Options</key>
  <array>
  <dict>
  <key>Identifier</key>
  <string>languageChoice</string>
  <key>Units</key>
  <dict>
<key>Objective-C</key>
<dict>
<key>Nodes</key>
<array>
<string>Controllers/Base/BaseViewController.h</string>
<string>Controllers/Base/BaseViewController.m</string>
</array>
</dict>
  </dict>
</dict>
 </array>
 <key>Definitions</key>
 <dict>
<!-- Base View Controller Definition -->
<key>Controllers/Base/BaseViewController.h</key>
  <dict>
  <key>Group</key>
  <array>
  <string>Controllers</string>
  <string>Base</string>
  </array>
  <key>Path</key>
  <string>BaseViewController.h</string>
  </dict>
  <key>Controllers/Base/BaseViewController.m</key>
  <dict>
  <key>Group</key>
  <array>
  <string>Controllers</string>
  <string>Base</string>
  </array>
  <key>Path</key>
  <string>BaseViewController.m</string>
  </dict>
 </dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment