Skip to content

Commit e4b3eae

Browse files
committed
Added DummyBundleLoader
1 parent 4ec703f commit e4b3eae

File tree

7 files changed

+284
-24
lines changed

7 files changed

+284
-24
lines changed

DTCoreText.xcodeproj/project.pbxproj

+169
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@
129129
A740368916E51B3A00ECCDE0 /* DemoAboutViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A740368716E51B3A00ECCDE0 /* DemoAboutViewController.xib */; };
130130
A740369116E51C9800ECCDE0 /* About.html in Resources */ = {isa = PBXBuildFile; fileRef = A740369016E51C9800ECCDE0 /* About.html */; };
131131
A74036AD16E663FA00ECCDE0 /* NSStringHTMLTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A7C7AD0C14DA7C2C005A9C69 /* NSStringHTMLTest.m */; };
132+
A741440D180012D800E3403B /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = A741440B1800127300E3403B /* main.m */; };
133+
A74144121800141500E3403B /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = A7D63CD91611B9AC00D4712A /* [email protected] */; };
132134
A74C953614DC0C69002B5A45 /* MalformedURL.html in Resources */ = {isa = PBXBuildFile; fileRef = A74C953514DC0C69002B5A45 /* MalformedURL.html */; };
133135
A74C973E14DC5294002B5A45 /* Emoji.html in Resources */ = {isa = PBXBuildFile; fileRef = A74C973D14DC5294002B5A45 /* Emoji.html */; };
134136
A74F6FD616DBA48E00C12307 /* DTCoreTextParagraphStyleTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A74F6FD516DBA48E00C12307 /* DTCoreTextParagraphStyleTest.m */; };
@@ -339,6 +341,9 @@
339341
A7985E1C178ECE08005D40B2 /* DTHTMLWriterTest.m in Sources */ = {isa = PBXBuildFile; fileRef = A7985E0B178ECD86005D40B2 /* DTHTMLWriterTest.m */; };
340342
A79CA82417FC9648001EBA6E /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A79CA82317FC9648001EBA6E /* UIKit.framework */; };
341343
A79CA82617FC9651001EBA6E /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A79CA82517FC9651001EBA6E /* MobileCoreServices.framework */; };
344+
A7A476BD180010F100459DFD /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
345+
A7A476BE180010F100459DFD /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
346+
A7A476BF180010F100459DFD /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.framework */; };
342347
A7A672BA1532F2D100920A18 /* DTCompatibility.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A672B91532F2D100920A18 /* DTCompatibility.h */; settings = {ATTRIBUTES = (Public, ); }; };
343348
A7A672BB1532F2D100920A18 /* DTCompatibility.h in Headers */ = {isa = PBXBuildFile; fileRef = A7A672B91532F2D100920A18 /* DTCompatibility.h */; settings = {ATTRIBUTES = (Public, ); }; };
344349
A7A95D9514F3F45E002E3F7E /* LineHeight.html in Resources */ = {isa = PBXBuildFile; fileRef = A7A95D9414F3F45E002E3F7E /* LineHeight.html */; };
@@ -695,6 +700,13 @@
695700
remoteGlobalIDString = A70F11DD148632CD009202BF;
696701
remoteInfo = "Static Library";
697702
};
703+
A741440E180012F500E3403B /* PBXContainerItemProxy */ = {
704+
isa = PBXContainerItemProxy;
705+
containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
706+
proxyType = 1;
707+
remoteGlobalIDString = A7A476BB180010F100459DFD;
708+
remoteInfo = "BundleLoader Dummy";
709+
};
698710
A781FE8E17FAABE500A1F5E8 /* PBXContainerItemProxy */ = {
699711
isa = PBXContainerItemProxy;
700712
containerPortal = A785701C17FAA69D0080AB0A /* DTFoundation.xcodeproj */;
@@ -944,6 +956,8 @@
944956
A740368616E51B3A00ECCDE0 /* DemoAboutViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DemoAboutViewController.m; sourceTree = "<group>"; };
945957
A740368716E51B3A00ECCDE0 /* DemoAboutViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = DemoAboutViewController.xib; sourceTree = "<group>"; };
946958
A740369016E51C9800ECCDE0 /* About.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = About.html; sourceTree = "<group>"; };
959+
A74144091800127300E3403B /* BundleLoaderDummy-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "BundleLoaderDummy-Info.plist"; sourceTree = "<group>"; };
960+
A741440B1800127300E3403B /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
947961
A74C953514DC0C69002B5A45 /* MalformedURL.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = MalformedURL.html; sourceTree = "<group>"; };
948962
A74C973D14DC5294002B5A45 /* Emoji.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = Emoji.html; sourceTree = "<group>"; };
949963
A74F6FCB16DB9AF500C12307 /* DTCoreText.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; name = DTCoreText.podspec; path = ../DTCoreText.podspec; sourceTree = "<group>"; };
@@ -1070,6 +1084,7 @@
10701084
A7985E0C178ECD86005D40B2 /* DTHTMLWriterTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DTHTMLWriterTest.h; sourceTree = "<group>"; };
10711085
A79CA82317FC9648001EBA6E /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; };
10721086
A79CA82517FC9651001EBA6E /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/MobileCoreServices.framework; sourceTree = DEVELOPER_DIR; };
1087+
A7A476BC180010F100459DFD /* BundleLoaderDummy.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BundleLoaderDummy.app; sourceTree = BUILT_PRODUCTS_DIR; };
10731088
A7A672B91532F2D100920A18 /* DTCompatibility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DTCompatibility.h; path = Core/Source/DTCompatibility.h; sourceTree = "<group>"; };
10741089
A7A95D9414F3F45E002E3F7E /* LineHeight.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = LineHeight.html; sourceTree = "<group>"; };
10751090
A7AE580B1725374C00A9BF61 /* DTImageTextAttachment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DTImageTextAttachment.h; sourceTree = "<group>"; };
@@ -1215,6 +1230,16 @@
12151230
);
12161231
runOnlyForDeploymentPostprocessing = 0;
12171232
};
1233+
A7A476B9180010F100459DFD /* Frameworks */ = {
1234+
isa = PBXFrameworksBuildPhase;
1235+
buildActionMask = 2147483647;
1236+
files = (
1237+
A7A476BD180010F100459DFD /* UIKit.framework in Frameworks */,
1238+
A7A476BE180010F100459DFD /* Foundation.framework in Frameworks */,
1239+
A7A476BF180010F100459DFD /* CoreGraphics.framework in Frameworks */,
1240+
);
1241+
runOnlyForDeploymentPostprocessing = 0;
1242+
};
12181243
A7F7EF9F1573603100F5A4D0 /* Frameworks */ = {
12191244
isa = PBXFrameworksBuildPhase;
12201245
buildActionMask = 2147483647;
@@ -1248,6 +1273,7 @@
12481273
A7949A5814CC456000A8CCDE /* MacUnitTest.octest */,
12491274
A7F7EFCD1573603100F5A4D0 /* libDTCoreText_no_DTFoundation.a */,
12501275
E2262DC61638331500BFDAD7 /* DTCoreText.framework */,
1276+
A7A476BC180010F100459DFD /* BundleLoaderDummy.app */,
12511277
);
12521278
name = Products;
12531279
path = ../..;
@@ -1390,6 +1416,15 @@
13901416
path = Demo;
13911417
sourceTree = SOURCE_ROOT;
13921418
};
1419+
A74144061800127300E3403B /* BundleLoaderDummy */ = {
1420+
isa = PBXGroup;
1421+
children = (
1422+
A74144091800127300E3403B /* BundleLoaderDummy-Info.plist */,
1423+
A741440B1800127300E3403B /* main.m */,
1424+
);
1425+
path = BundleLoaderDummy;
1426+
sourceTree = "<group>";
1427+
};
13931428
A7675E6E172EA21E00C548CB /* Debug */ = {
13941429
isa = PBXGroup;
13951430
children = (
@@ -1465,6 +1500,7 @@
14651500
A7949A6E14CC45B500A8CCDE /* MacUnitTest-Prefix.pch */,
14661501
A788CA1214863E9D00E1AFD9 /* UnitTest-Info.plist */,
14671502
A788CA1314863E9D00E1AFD9 /* UnitTest-Prefix.pch */,
1503+
A74144061800127300E3403B /* BundleLoaderDummy */,
14681504
A7C7ACF814DA68CE005A9C69 /* Source */,
14691505
A7C7ACEB14DA62BA005A9C69 /* Resources */,
14701506
);
@@ -2065,6 +2101,7 @@
20652101
A758FC9D14DBD76E007DF8B2 /* PBXBuildRule */,
20662102
);
20672103
dependencies = (
2104+
A741440F180012F500E3403B /* PBXTargetDependency */,
20682105
A70E630016C254EB009B47BF /* PBXTargetDependency */,
20692106
);
20702107
name = UnitTest;
@@ -2091,6 +2128,23 @@
20912128
productReference = A7949A5814CC456000A8CCDE /* MacUnitTest.octest */;
20922129
productType = "com.apple.product-type.bundle";
20932130
};
2131+
A7A476BB180010F100459DFD /* BundleLoader Dummy */ = {
2132+
isa = PBXNativeTarget;
2133+
buildConfigurationList = A7A476E5180010F100459DFD /* Build configuration list for PBXNativeTarget "BundleLoader Dummy" */;
2134+
buildPhases = (
2135+
A7A476B8180010F100459DFD /* Sources */,
2136+
A7A476B9180010F100459DFD /* Frameworks */,
2137+
A7A476BA180010F100459DFD /* Resources */,
2138+
);
2139+
buildRules = (
2140+
);
2141+
dependencies = (
2142+
);
2143+
name = "BundleLoader Dummy";
2144+
productName = UnitTestBundleLoader;
2145+
productReference = A7A476BC180010F100459DFD /* BundleLoaderDummy.app */;
2146+
productType = "com.apple.product-type.application";
2147+
};
20942148
A7F7EF761573603100F5A4D0 /* Static Library (no DTFoundation) */ = {
20952149
isa = PBXNativeTarget;
20962150
buildConfigurationList = A7F7EFCA1573603100F5A4D0 /* Build configuration list for PBXNativeTarget "Static Library (no DTFoundation)" */;
@@ -2168,6 +2222,7 @@
21682222
A7174BC414F288F900C57464 /* Documentation */,
21692223
A7F7EF761573603100F5A4D0 /* Static Library (no DTFoundation) */,
21702224
E2262DC51638331500BFDAD7 /* Mac Framework */,
2225+
A7A476BB180010F100459DFD /* BundleLoader Dummy */,
21712226
);
21722227
};
21732228
/* End PBXProject section */
@@ -2418,6 +2473,14 @@
24182473
);
24192474
runOnlyForDeploymentPostprocessing = 0;
24202475
};
2476+
A7A476BA180010F100459DFD /* Resources */ = {
2477+
isa = PBXResourcesBuildPhase;
2478+
buildActionMask = 2147483647;
2479+
files = (
2480+
A74144121800141500E3403B /* [email protected] in Resources */,
2481+
);
2482+
runOnlyForDeploymentPostprocessing = 0;
2483+
};
24212484
E2262DC41638331500BFDAD7 /* Resources */ = {
24222485
isa = PBXResourcesBuildPhase;
24232486
buildActionMask = 2147483647;
@@ -2661,6 +2724,14 @@
26612724
);
26622725
runOnlyForDeploymentPostprocessing = 0;
26632726
};
2727+
A7A476B8180010F100459DFD /* Sources */ = {
2728+
isa = PBXSourcesBuildPhase;
2729+
buildActionMask = 2147483647;
2730+
files = (
2731+
A741440D180012D800E3403B /* main.m in Sources */,
2732+
);
2733+
runOnlyForDeploymentPostprocessing = 0;
2734+
};
26642735
A7F7EF771573603100F5A4D0 /* Sources */ = {
26652736
isa = PBXSourcesBuildPhase;
26662737
buildActionMask = 2147483647;
@@ -2784,6 +2855,11 @@
27842855
target = A70F11DD148632CD009202BF /* Static Library */;
27852856
targetProxy = A70E62FF16C254EB009B47BF /* PBXContainerItemProxy */;
27862857
};
2858+
A741440F180012F500E3403B /* PBXTargetDependency */ = {
2859+
isa = PBXTargetDependency;
2860+
target = A7A476BB180010F100459DFD /* BundleLoader Dummy */;
2861+
targetProxy = A741440E180012F500E3403B /* PBXContainerItemProxy */;
2862+
};
27872863
A781FEB917FAAD5500A1F5E8 /* PBXTargetDependency */ = {
27882864
isa = PBXTargetDependency;
27892865
name = "DTHTMLParser (Mac)";
@@ -2979,6 +3055,7 @@
29793055
A788CA781486456100E1AFD9 /* Debug */ = {
29803056
isa = XCBuildConfiguration;
29813057
buildSettings = {
3058+
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/BundleLoaderDummy.app/BundleLoaderDummy";
29823059
COPY_PHASE_STRIP = NO;
29833060
FRAMEWORK_SEARCH_PATHS = (
29843061
"$(SDKROOT)/Developer/Library/Frameworks",
@@ -2996,13 +3073,15 @@
29963073
PRODUCT_NAME = "$(TARGET_NAME)";
29973074
SDKROOT = iphoneos;
29983075
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
3076+
TEST_HOST = "$(BUNDLE_LOADER)";
29993077
WRAPPER_EXTENSION = octest;
30003078
};
30013079
name = Debug;
30023080
};
30033081
A788CA791486456100E1AFD9 /* Release */ = {
30043082
isa = XCBuildConfiguration;
30053083
buildSettings = {
3084+
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/BundleLoaderDummy.app/BundleLoaderDummy";
30063085
COPY_PHASE_STRIP = YES;
30073086
FRAMEWORK_SEARCH_PATHS = (
30083087
"$(SDKROOT)/Developer/Library/Frameworks",
@@ -3017,6 +3096,7 @@
30173096
PRODUCT_NAME = "$(TARGET_NAME)";
30183097
SDKROOT = iphoneos;
30193098
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
3099+
TEST_HOST = "$(BUNDLE_LOADER)";
30203100
VALIDATE_PRODUCT = YES;
30213101
WRAPPER_EXTENSION = octest;
30223102
};
@@ -3066,6 +3146,83 @@
30663146
};
30673147
name = Release;
30683148
};
3149+
A7A476D2180010F100459DFD /* Debug */ = {
3150+
isa = XCBuildConfiguration;
3151+
buildSettings = {
3152+
ALWAYS_SEARCH_USER_PATHS = NO;
3153+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
3154+
CLANG_CXX_LIBRARY = "libc++";
3155+
CLANG_WARN_CONSTANT_CONVERSION = YES;
3156+
CLANG_WARN_EMPTY_BODY = YES;
3157+
CLANG_WARN_ENUM_CONVERSION = YES;
3158+
CLANG_WARN_INT_CONVERSION = YES;
3159+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
3160+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
3161+
COPY_PHASE_STRIP = NO;
3162+
GCC_C_LANGUAGE_STANDARD = gnu99;
3163+
GCC_DYNAMIC_NO_PIC = NO;
3164+
GCC_OPTIMIZATION_LEVEL = 0;
3165+
GCC_PRECOMPILE_PREFIX_HEADER = YES;
3166+
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
3167+
GCC_WARN_UNINITIALIZED_AUTOS = YES;
3168+
INFOPLIST_FILE = "Test/BundleLoaderDummy/BundleLoaderDummy-Info.plist";
3169+
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
3170+
PRODUCT_NAME = BundleLoaderDummy;
3171+
SDKROOT = iphoneos;
3172+
WRAPPER_EXTENSION = app;
3173+
};
3174+
name = Debug;
3175+
};
3176+
A7A476D3180010F100459DFD /* Coverage */ = {
3177+
isa = XCBuildConfiguration;
3178+
buildSettings = {
3179+
ALWAYS_SEARCH_USER_PATHS = NO;
3180+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
3181+
CLANG_CXX_LIBRARY = "libc++";
3182+
CLANG_WARN_CONSTANT_CONVERSION = YES;
3183+
CLANG_WARN_EMPTY_BODY = YES;
3184+
CLANG_WARN_ENUM_CONVERSION = YES;
3185+
CLANG_WARN_INT_CONVERSION = YES;
3186+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
3187+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
3188+
COPY_PHASE_STRIP = YES;
3189+
GCC_C_LANGUAGE_STANDARD = gnu99;
3190+
GCC_PRECOMPILE_PREFIX_HEADER = YES;
3191+
GCC_WARN_UNINITIALIZED_AUTOS = YES;
3192+
INFOPLIST_FILE = "Test/BundleLoaderDummy/BundleLoaderDummy-Info.plist";
3193+
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
3194+
PRODUCT_NAME = BundleLoaderDummy;
3195+
SDKROOT = iphoneos;
3196+
VALIDATE_PRODUCT = YES;
3197+
WRAPPER_EXTENSION = app;
3198+
};
3199+
name = Coverage;
3200+
};
3201+
A7A476D4180010F100459DFD /* Release */ = {
3202+
isa = XCBuildConfiguration;
3203+
buildSettings = {
3204+
ALWAYS_SEARCH_USER_PATHS = NO;
3205+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
3206+
CLANG_CXX_LIBRARY = "libc++";
3207+
CLANG_WARN_CONSTANT_CONVERSION = YES;
3208+
CLANG_WARN_EMPTY_BODY = YES;
3209+
CLANG_WARN_ENUM_CONVERSION = YES;
3210+
CLANG_WARN_INT_CONVERSION = YES;
3211+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
3212+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
3213+
COPY_PHASE_STRIP = YES;
3214+
GCC_C_LANGUAGE_STANDARD = gnu99;
3215+
GCC_PRECOMPILE_PREFIX_HEADER = YES;
3216+
GCC_WARN_UNINITIALIZED_AUTOS = YES;
3217+
INFOPLIST_FILE = "Test/BundleLoaderDummy/BundleLoaderDummy-Info.plist";
3218+
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
3219+
PRODUCT_NAME = BundleLoaderDummy;
3220+
SDKROOT = iphoneos;
3221+
VALIDATE_PRODUCT = YES;
3222+
WRAPPER_EXTENSION = app;
3223+
};
3224+
name = Release;
3225+
};
30693226
A7DC5CFB17F833F1006ADDF5 /* Coverage */ = {
30703227
isa = XCBuildConfiguration;
30713228
buildSettings = {
@@ -3159,6 +3316,7 @@
31593316
A7DC5CFF17F833F1006ADDF5 /* Coverage */ = {
31603317
isa = XCBuildConfiguration;
31613318
buildSettings = {
3319+
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/BundleLoaderDummy.app/BundleLoaderDummy";
31623320
COPY_PHASE_STRIP = NO;
31633321
FRAMEWORK_SEARCH_PATHS = (
31643322
"$(SDKROOT)/Developer/Library/Frameworks",
@@ -3178,6 +3336,7 @@
31783336
PRODUCT_NAME = "$(TARGET_NAME)";
31793337
SDKROOT = iphoneos;
31803338
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
3339+
TEST_HOST = "$(BUNDLE_LOADER)";
31813340
WRAPPER_EXTENSION = octest;
31823341
};
31833342
name = Coverage;
@@ -3470,6 +3629,16 @@
34703629
defaultConfigurationIsVisible = 0;
34713630
defaultConfigurationName = Release;
34723631
};
3632+
A7A476E5180010F100459DFD /* Build configuration list for PBXNativeTarget "BundleLoader Dummy" */ = {
3633+
isa = XCConfigurationList;
3634+
buildConfigurations = (
3635+
A7A476D2180010F100459DFD /* Debug */,
3636+
A7A476D3180010F100459DFD /* Coverage */,
3637+
A7A476D4180010F100459DFD /* Release */,
3638+
);
3639+
defaultConfigurationIsVisible = 0;
3640+
defaultConfigurationName = Release;
3641+
};
34733642
A7F7EFCA1573603100F5A4D0 /* Build configuration list for PBXNativeTarget "Static Library (no DTFoundation)" */ = {
34743643
isa = XCConfigurationList;
34753644
buildConfigurations = (

[email protected]

18.2 KB
Loading

Test/BundleLoaderDummy/AppDelegate.h

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// AppDelegate.h
3+
// UnitTestBundleLoader
4+
//
5+
// Created by Oliver Drobnik on 10/5/13.
6+
// Copyright (c) 2013 Drobnik.com. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
@interface AppDelegate : UIResponder <UIApplicationDelegate>
12+
13+
@property (strong, nonatomic) UIWindow *window;
14+
15+
@end

Test/BundleLoaderDummy/AppDelegate.m

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
//
2+
// AppDelegate.m
3+
// UnitTestBundleLoader
4+
//
5+
// Created by Oliver Drobnik on 10/5/13.
6+
// Copyright (c) 2013 Drobnik.com. All rights reserved.
7+
//
8+
9+
#import "AppDelegate.h"
10+
11+
@implementation AppDelegate
12+
13+
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
14+
{
15+
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
16+
[self.window makeKeyAndVisible];
17+
return YES;
18+
}
19+
20+
@end

0 commit comments

Comments
 (0)