Skip to content

Commit

Permalink
Add New Project Templates minus reference to NavigationKit, which are…
Browse files Browse the repository at this point in the history
… customized in that repo.
  • Loading branch information
davidmorford committed Sep 17, 2010
1 parent da1feed commit 230df75
Show file tree
Hide file tree
Showing 55 changed files with 1,943 additions and 0 deletions.
@@ -0,0 +1 @@
# placeholder
@@ -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
@@ -0,0 +1,9 @@

//
// ___PROJECTNAME___/Configurations/Project.xcconfig
//

#include "../../../Configurations/Platform.xcconfig"
#include "../../../Configurations/Project.xcconfig"

CODE_SIGN_IDENTITY = iPhone Developer
@@ -0,0 +1,8 @@

//
// ___PROJECTNAME___/Configurations/Settings.xcconfig
//

#include "../../../Configurations/Settings.xcconfig"

INFOPLIST_ORGANIZATION_NAME = ___ORGANIZATIONNAME___
@@ -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)
@@ -0,0 +1,5 @@

___PROJECTNAME___ Library

Author: ___FULLUSERNAME___
Created: ___DATE___
@@ -0,0 +1 @@
# placeholder
@@ -0,0 +1,11 @@

/*!
@header ___PROJECTNAMEASIDENTIFIER___Library.h
@project ___PROJECTNAME___
@copyright (c) ___YEAR___, ___ORGANIZATIONNAME___
*/

@class NSString;

NSString *
___PROJECTNAMEASIDENTIFIER___LibraryGetVersion();
@@ -0,0 +1,12 @@

/*!
@author ___FULLUSERNAME___
@created ___DATE___
*/

#import <___PROJECTNAMEASIDENTIFIER___/___PROJECTNAMEASIDENTIFIER___Library.h>

NSString *
___PROJECTNAMEASIDENTIFIER___LibraryGetVersion() {
return @"A";
}
@@ -0,0 +1,7 @@

/*!
@header ___PROJECTNAMEASIDENTIFIER___.h
@project ___PROJECTNAME___
@copyright (c) ___YEAR___, ___ORGANIZATIONNAME___
@created ___DATE___
*/
@@ -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>
@@ -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
@@ -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 not shown.
@@ -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>

0 comments on commit 230df75

Please sign in to comment.