-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New ObjC-codebase Installer for Xcode6
Replaces non-functional version as of Feb 2015. Can be modified to include optional Swift version at later date.
- Loading branch information
1 parent
f1d75bc
commit beebcbf
Showing
222 changed files
with
1,712 additions
and
1,351 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<?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.c4.applicationBase</string> | ||
<key>Ancestors</key> | ||
<array> | ||
<string>com.apple.dt.unit.bundleBase</string> | ||
</array> | ||
<key>Targets</key> | ||
<array> | ||
<dict> | ||
<key>ProductType</key> | ||
<string>com.apple.product-type.application</string> | ||
<key>BuildPhases</key> | ||
<array> | ||
<dict> | ||
<key>Class</key> | ||
<string>Sources</string> | ||
</dict> | ||
<dict> | ||
<key>Class</key> | ||
<string>Frameworks</string> | ||
</dict> | ||
<dict> | ||
<key>Class</key> | ||
<string>Resources</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
</array> | ||
<key>Options</key> | ||
<array> | ||
<dict> | ||
<key>Identifier</key> | ||
<string>languageChoice</string> | ||
<key>Units</key> | ||
<dict> | ||
<key>Objective-C</key> | ||
<dict> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</array> | ||
<key>Nodes</key> | ||
<array> | ||
<string>Info.plist:PackageType</string> | ||
</array> | ||
<key>Definitions</key> | ||
<dict> | ||
<key>Info.plist:PackageType</key> | ||
<string><key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
</string> | ||
<!-- This is defined globally for templates that don't want language choice --> | ||
<key>main.m</key> | ||
<dict> | ||
<key>Group</key> | ||
<string>Supporting Files</string> | ||
</dict> | ||
<key>main.m:main</key> | ||
<dict> | ||
<key>Beginning</key> | ||
<string>int main(int argc, const char * argv[]) {</string> | ||
<key>End</key> | ||
<string>}</string> | ||
<key>Indent</key> | ||
<integer>1</integer> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
<?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.c4.languageChoice</string> | ||
<key>Options</key> | ||
<array> | ||
<dict> | ||
<key>Identifier</key> | ||
<string>languageChoice</string> | ||
<key>Required</key> | ||
<true/> | ||
<key>Name</key> | ||
<string>Language:</string> | ||
<key>Description</key> | ||
<string>Your primary implementation language.</string> | ||
<key>Type</key> | ||
<string>popup</string> | ||
<key>Default</key> | ||
<string>Objective-C</string> | ||
<key>Values</key> | ||
<array> | ||
<string>Objective-C</string> | ||
</array> | ||
<key>Variables</key> | ||
<dict> | ||
<!-- <key>Swift</key> | ||
<dict> | ||
<key>ibCustomModuleProvider</key> | ||
<string>target</string> | ||
<key>moduleNamePrefixForClasses</key> | ||
<string>$(PRODUCT_MODULE_NAME).</string> | ||
</dict> --> | ||
<key>Objective-C</key> | ||
<dict> | ||
<key>ibCustomModuleProvider</key> | ||
<string></string> | ||
<key>moduleNamePrefixForClasses</key> | ||
<string></string> | ||
</dict> | ||
</dict> | ||
<key>Units</key> | ||
<dict> | ||
<key>Objective-C</key> | ||
<dict> | ||
<key>Definitions</key> | ||
<dict> | ||
<!-- What would be in here is actually in the Base template so that even those not adopting languageChoice can see the Obj-C basics. --> | ||
</dict> | ||
</dict> | ||
<!-- <key>Swift</key> | ||
<dict> | ||
<key>Project</key> | ||
<dict> | ||
<key>Configurations</key> | ||
<dict> | ||
<key>Debug</key> | ||
<dict> | ||
<key>SWIFT_OPTIMIZATION_LEVEL</key> | ||
<string>-Onone</string> | ||
</dict> | ||
</dict> | ||
</dict> | ||
<key>Definitions</key> | ||
<dict> | ||
<key>*:imports:importHeader:*</key> | ||
<string/> | ||
<key>*:imports:importFramework:*</key> | ||
<string>import ___*___</string> | ||
<key>*:class:*</key> | ||
<string/> | ||
<key>*:implementation</key> | ||
<dict> | ||
<key>Beginning</key> | ||
<string>class ___*___ { | ||
</string> | ||
<key>End</key> | ||
<string> | ||
} | ||
</string> | ||
<key>Indent</key> | ||
<integer>1</integer> | ||
</dict> | ||
<key>*:implementation:methods:init</key> | ||
<dict> | ||
<key>Beginning</key> | ||
<string>override init() { | ||
super.init() | ||
</string> | ||
<key>End</key> | ||
<string>} | ||
</string> | ||
<key>Indent</key> | ||
<integer>1</integer> | ||
</dict> | ||
<key>*:implementation:methods:*</key> | ||
<dict> | ||
<key>Beginning</key> | ||
<string>___*___ {</string> | ||
<key>End</key> | ||
<string>} | ||
</string> | ||
<key>Indent</key> | ||
<integer>1</integer> | ||
</dict> | ||
</dict> | ||
</dict> --> | ||
</dict> | ||
</dict> | ||
</array> | ||
<!-- Definitions that are language-sepcific, but turn out to be the same for Obj-C and Swift --> | ||
<key>Definitions</key> | ||
<dict> | ||
<key>*:implementation:methods</key> | ||
<dict> | ||
<key>Beginning</key> | ||
<string></string> | ||
<key>End</key> | ||
<string></string> | ||
</dict> | ||
<key>*:implementation:methods:*</key> | ||
<dict> | ||
<key>Beginning</key> | ||
<string>___*___ {</string> | ||
<key>End</key> | ||
<string>} | ||
</string> | ||
<key>Indent</key> | ||
<integer>1</integer> | ||
</dict> | ||
<key>*:implementation:properties</key> | ||
<dict> | ||
<key>Beginning</key> | ||
<string></string> | ||
<key>End</key> | ||
<string> | ||
</string> | ||
</dict> | ||
</dict> | ||
</dict> | ||
</plist> |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.