Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add New Project Templates minus reference to NavigationKit, which are…
… customized in that repo.
- Loading branch information
1 parent
da1feed
commit 230df75
Showing
55 changed files
with
1,943 additions
and
0 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 @@ | ||
# placeholder |
36 changes: 36 additions & 0 deletions
36
Xcode/Project Templates/iOS/BuildKit Library/Configurations/Library.xcconfig
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,36 @@ | ||
|
||
// | ||
// ___PROJECTNAME___/Configurations/Library.xcconfig | ||
// | ||
|
||
#include "../../../Configurations/Library.xcconfig" | ||
#include "../../../Configurations/Libraries.xcconfig" | ||
|
||
// Product Name | ||
PRODUCT_NAME = ___PROJECTNAME___ | ||
|
||
// Library Version | ||
BUILD_LIBRARY_VERSION = A | ||
|
||
// Library Resource Bundle | ||
LIBRARY_RESOURCE_BUNDLE_NAME = ___PROJECTNAME___.bundle | ||
|
||
// Clang | ||
RUN_CLANG_STATIC_ANALYZER = YES | ||
|
||
// Search Paths | ||
HEADER_SEARCH_PATHS = $(STDLIB_HEADER) | ||
LIBRARY_SEARCH_PATHS = $(STDLIB_LIBRARY) | ||
|
||
|
||
// | ||
// Cut and paste into Configurations/Libraries.xcconfig | ||
// | ||
|
||
// ___PROJECTNAME___ | ||
|
||
//___PROJECTNAMEASIDENTIFIER____HEADER_PATH = $(BUILD_PLATFORM_NAME_PATH)/___PROJECTNAMEASIDENTIFIER___/Headers/ | ||
//___PROJECTNAMEASIDENTIFIER____PRIVATEHEADER_PATH = $(BUILD_PLATFORM_NAME_PATH)/___PROJECTNAMEASIDENTIFIER___/PrivateHeaders/ | ||
//___PROJECTNAMEASIDENTIFIER____LIBRARY_PATH = $(BUILD_PLATFORM_NAME_PATH)/___PROJECTNAMEASIDENTIFIER___/ | ||
//___PROJECTNAMEASIDENTIFIER____LIBRARY_FLAG = -l___PROJECTNAMEASIDENTIFIER___ | ||
//___PROJECTNAMEASIDENTIFIER____RESOURCE_BUNDLE_NAME = ___PROJECTNAMEASIDENTIFIER___.bundle |
9 changes: 9 additions & 0 deletions
9
Xcode/Project Templates/iOS/BuildKit Library/Configurations/Project.xcconfig
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,9 @@ | ||
|
||
// | ||
// ___PROJECTNAME___/Configurations/Project.xcconfig | ||
// | ||
|
||
#include "../../../Configurations/Platform.xcconfig" | ||
#include "../../../Configurations/Project.xcconfig" | ||
|
||
CODE_SIGN_IDENTITY = iPhone Developer |
8 changes: 8 additions & 0 deletions
8
Xcode/Project Templates/iOS/BuildKit Library/Configurations/Settings.xcconfig
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,8 @@ | ||
|
||
// | ||
// ___PROJECTNAME___/Configurations/Settings.xcconfig | ||
// | ||
|
||
#include "../../../Configurations/Settings.xcconfig" | ||
|
||
INFOPLIST_ORGANIZATION_NAME = ___ORGANIZATIONNAME___ |
27 changes: 27 additions & 0 deletions
27
Xcode/Project Templates/iOS/BuildKit Library/Configurations/UnitTests.xcconfig
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,27 @@ | ||
|
||
// | ||
// ___PROJECTNAME___/Configurations/UnitTests.xcconfig | ||
// | ||
|
||
#include "../../../Configurations/UnitTests.xcconfig" | ||
#include "../../../Configurations/Libraries.xcconfig" | ||
|
||
// Bundle Name | ||
PRODUCT_NAME = ___PROJECTNAME___UnitTests | ||
|
||
// PropertyList | ||
INFOPLIST_FILE = Source/UnitTests/Resources/PropertyLists/UnitTests-Info.plist | ||
|
||
// Bundle Version | ||
BUILD_BUNDLE_VERSION = 1.0 | ||
CURRENT_PROJECT_VERSION = $(BUILD_BUNDLE_VERSION) | ||
|
||
// Clang | ||
RUN_CLANG_STATIC_ANALYZER = YES | ||
|
||
// Search Paths | ||
HEADER_SEARCH_PATHS = $(STDLIB_HEADERS) $(___PROJECTNAMEASIDENTIFIER____HEADER_PATH) $(___PROJECTNAMEASIDENTIFIER____PRIVATEHEADER_PATH) | ||
LIBRARY_SEARCH_PATHS = $(STDLIB_LIBRARY) $(___PROJECTNAMEASIDENTIFIER____LIBRARY_PATH) | ||
|
||
// Linker Flags | ||
OTHER_LDFLAGS = $(OBJC_LIBRARY) $(OBJC_ALLLOAD) $(FOUNDATION_FX) $(SENTESTINGKIT_FX) $(___PROJECTNAMEASIDENTIFIER____LIBRARY_FLAG) |
5 changes: 5 additions & 0 deletions
5
Xcode/Project Templates/iOS/BuildKit Library/Documents/___PROJECTNAME___.txt
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,5 @@ | ||
|
||
___PROJECTNAME___ Library | ||
|
||
Author: ___FULLUSERNAME___ | ||
Created: ___DATE___ |
1 change: 1 addition & 0 deletions
1
Xcode/Project Templates/iOS/BuildKit Library/Source/Classes/.gitignore
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 @@ | ||
# placeholder |
11 changes: 11 additions & 0 deletions
11
...plates/iOS/BuildKit Library/Source/Project/Library/___PROJECTNAMEASIDENTIFIER___Library.h
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,11 @@ | ||
|
||
/*! | ||
@header ___PROJECTNAMEASIDENTIFIER___Library.h | ||
@project ___PROJECTNAME___ | ||
@copyright (c) ___YEAR___, ___ORGANIZATIONNAME___ | ||
*/ | ||
|
||
@class NSString; | ||
|
||
NSString * | ||
___PROJECTNAMEASIDENTIFIER___LibraryGetVersion(); |
12 changes: 12 additions & 0 deletions
12
...plates/iOS/BuildKit Library/Source/Project/Library/___PROJECTNAMEASIDENTIFIER___Library.m
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,12 @@ | ||
|
||
/*! | ||
@author ___FULLUSERNAME___ | ||
@created ___DATE___ | ||
*/ | ||
|
||
#import <___PROJECTNAMEASIDENTIFIER___/___PROJECTNAMEASIDENTIFIER___Library.h> | ||
|
||
NSString * | ||
___PROJECTNAMEASIDENTIFIER___LibraryGetVersion() { | ||
return @"A"; | ||
} |
7 changes: 7 additions & 0 deletions
7
Xcode/Project Templates/iOS/BuildKit Library/Source/Project/___PROJECTNAMEASIDENTIFIER___.h
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,7 @@ | ||
|
||
/*! | ||
@header ___PROJECTNAMEASIDENTIFIER___.h | ||
@project ___PROJECTNAME___ | ||
@copyright (c) ___YEAR___, ___ORGANIZATIONNAME___ | ||
@created ___DATE___ | ||
*/ |
10 changes: 10 additions & 0 deletions
10
...ary/Source/Resources/Bundles/___PROJECTNAME___.bundle/___PROJECTNAMEASIDENTIFIER___.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,10 @@ | ||
<?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>CFBundleVersion</key> | ||
<string>1.0</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.___ORGANIZATIONNAME___.___PROJECTNAMEASIDENTIFIER___.Resources</string> | ||
</dict> | ||
</plist> |
30 changes: 30 additions & 0 deletions
30
.../BuildKit Library/Source/UnitTests/Classes/___PROJECTNAMEASIDENTIFIER___LibraryUnitTest.m
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,30 @@ | ||
|
||
/*! | ||
@header ___PROJECTNAMEASIDENTIFIER___Library.h | ||
@project ___PROJECTNAME___ | ||
@author ___FULLUSERNAME___ | ||
@copyright (c) ___YEAR___, ___ORGANIZATIONNAME___ | ||
@created ___DATE___ | ||
*/ | ||
|
||
#import <SenTestingKit/SenTestingKit.h> | ||
#import <UIKit/UIKit.h> | ||
#import <___PROJECTNAMEASIDENTIFIER___/___PROJECTNAMEASIDENTIFIER___.h> | ||
|
||
@interface ___PROJECTNAMEASIDENTIFIER___LibraryUnitTest : SenTestCase { | ||
|
||
} | ||
|
||
-(void) testMath; | ||
|
||
@end | ||
|
||
#pragma mark - | ||
|
||
@implementation ___PROJECTNAMEASIDENTIFIER___LibraryUnitTest | ||
|
||
-(void) testMath { | ||
STAssertTrue((1 + 1) == 2, @"Compiler isn't feeling well today :-(" ); | ||
} | ||
|
||
@end |
20 changes: 20 additions & 0 deletions
20
...plates/iOS/BuildKit Library/Source/UnitTests/Resources/PropertyLists/UnitTests-Info.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,20 @@ | ||
<?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>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleExecutable</key> | ||
<string>${EXECUTABLE_NAME}</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.___ORGANIZATIONNAME___.${PRODUCT_NAME:rfc1034identifier}</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>BNDL</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>1.0</string> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+54.6 KB
Xcode/Project Templates/iOS/BuildKit Library/___PROJECTNAME___.xcodeproj/TemplateIcon.icns
Binary file not shown.
8 changes: 8 additions & 0 deletions
8
Xcode/Project Templates/iOS/BuildKit Library/___PROJECTNAME___.xcodeproj/TemplateInfo.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,8 @@ | ||
<?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>Description</key> | ||
<string>A static library with unit test bundle that links against the Foundation framework and customized to work withing a Build Kit project tree structure.</string> | ||
</dict> | ||
</plist> |
Oops, something went wrong.