Skip to content
This repository was archived by the owner on Mar 10, 2022. It is now read-only.

Commit 91aa70a

Browse files
committed
Merge pull request #11 from nodes-ios/feature/exampleProject
Added example project
2 parents 30ed372 + 8e82008 commit 91aa70a

File tree

12 files changed

+632
-1
lines changed

12 files changed

+632
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ playground.xcworkspace
4848
#
4949
# Add this line if you want to avoid checking in source code from Carthage dependencies.
5050
# Carthage/Checkouts
51+
Example/Carthage
5152

5253
Carthage/Build
5354

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ script:
2626

2727
# Build Framework in Debug and Run Tests if specified
2828
- if [ $RUN_TESTS == "YES" ]; then
29-
xcodebuild -project "$PROJECT_NAME" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO test | xcpretty;
29+
xcodebuild -project "$PROJECT_NAME" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug test | xcpretty;
3030
else
3131
xcodebuild -project "$PROJECT_NAME" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty;
3232
fi

Example/Cartfile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github "nodes-ios/KeyboardHelper" "master"

Example/Cartfile.resolved

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github "nodes-ios/KeyboardHelper" "30ed3728bf10b7d2a606d1e23bb23c12eea02222"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,335 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
2930691F1C8F0A7700F92F06 /* KeyboardHelper.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2930691E1C8F0A7700F92F06 /* KeyboardHelper.framework */; };
11+
293069201C8F0A9200F92F06 /* KeyboardHelper.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2930691E1C8F0A7700F92F06 /* KeyboardHelper.framework */; };
12+
293069211C8F0A9200F92F06 /* KeyboardHelper.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 2930691E1C8F0A7700F92F06 /* KeyboardHelper.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
13+
29F30E6B1C807E2A00C77AF4 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 29F30E6A1C807E2A00C77AF4 /* AppDelegate.swift */; };
14+
29F30E6D1C807E2A00C77AF4 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 29F30E6C1C807E2A00C77AF4 /* ViewController.swift */; };
15+
29F30E701C807E2A00C77AF4 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 29F30E6E1C807E2A00C77AF4 /* Main.storyboard */; };
16+
29F30E721C807E2A00C77AF4 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 29F30E711C807E2A00C77AF4 /* Assets.xcassets */; };
17+
29F30E751C807E2A00C77AF4 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 29F30E731C807E2A00C77AF4 /* LaunchScreen.storyboard */; };
18+
29F30E7D1C807E3500C77AF4 /* Cartfile in Resources */ = {isa = PBXBuildFile; fileRef = 29F30E7C1C807E3500C77AF4 /* Cartfile */; };
19+
/* End PBXBuildFile section */
20+
21+
/* Begin PBXCopyFilesBuildPhase section */
22+
29F30E821C80829300C77AF4 /* CopyFiles */ = {
23+
isa = PBXCopyFilesBuildPhase;
24+
buildActionMask = 12;
25+
dstPath = "";
26+
dstSubfolderSpec = 10;
27+
files = (
28+
293069211C8F0A9200F92F06 /* KeyboardHelper.framework in CopyFiles */,
29+
);
30+
runOnlyForDeploymentPostprocessing = 0;
31+
};
32+
/* End PBXCopyFilesBuildPhase section */
33+
34+
/* Begin PBXFileReference section */
35+
2930691E1C8F0A7700F92F06 /* KeyboardHelper.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = KeyboardHelper.framework; path = Carthage/Build/iOS/KeyboardHelper.framework; sourceTree = SOURCE_ROOT; };
36+
29F30E671C807E2A00C77AF4 /* KeyboardHelperDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KeyboardHelperDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
37+
29F30E6A1C807E2A00C77AF4 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
38+
29F30E6C1C807E2A00C77AF4 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
39+
29F30E6F1C807E2A00C77AF4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
40+
29F30E711C807E2A00C77AF4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
41+
29F30E741C807E2A00C77AF4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
42+
29F30E761C807E2A00C77AF4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
43+
29F30E7C1C807E3500C77AF4 /* Cartfile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Cartfile; sourceTree = "<group>"; };
44+
/* End PBXFileReference section */
45+
46+
/* Begin PBXFrameworksBuildPhase section */
47+
29F30E641C807E2A00C77AF4 /* Frameworks */ = {
48+
isa = PBXFrameworksBuildPhase;
49+
buildActionMask = 2147483647;
50+
files = (
51+
2930691F1C8F0A7700F92F06 /* KeyboardHelper.framework in Frameworks */,
52+
293069201C8F0A9200F92F06 /* KeyboardHelper.framework in Frameworks */,
53+
);
54+
runOnlyForDeploymentPostprocessing = 0;
55+
};
56+
/* End PBXFrameworksBuildPhase section */
57+
58+
/* Begin PBXGroup section */
59+
29F30E5E1C807E2A00C77AF4 = {
60+
isa = PBXGroup;
61+
children = (
62+
29F30E7C1C807E3500C77AF4 /* Cartfile */,
63+
29F30E691C807E2A00C77AF4 /* KeyboardHelperDemo */,
64+
29F30E681C807E2A00C77AF4 /* Products */,
65+
);
66+
sourceTree = "<group>";
67+
};
68+
29F30E681C807E2A00C77AF4 /* Products */ = {
69+
isa = PBXGroup;
70+
children = (
71+
29F30E671C807E2A00C77AF4 /* KeyboardHelperDemo.app */,
72+
);
73+
name = Products;
74+
sourceTree = "<group>";
75+
};
76+
29F30E691C807E2A00C77AF4 /* KeyboardHelperDemo */ = {
77+
isa = PBXGroup;
78+
children = (
79+
29F30E6A1C807E2A00C77AF4 /* AppDelegate.swift */,
80+
29F30E6C1C807E2A00C77AF4 /* ViewController.swift */,
81+
29F30E6E1C807E2A00C77AF4 /* Main.storyboard */,
82+
29F30E711C807E2A00C77AF4 /* Assets.xcassets */,
83+
29F30E731C807E2A00C77AF4 /* LaunchScreen.storyboard */,
84+
29F30E761C807E2A00C77AF4 /* Info.plist */,
85+
29F30E7E1C807F4700C77AF4 /* Frameworks */,
86+
);
87+
path = KeyboardHelperDemo;
88+
sourceTree = "<group>";
89+
};
90+
29F30E7E1C807F4700C77AF4 /* Frameworks */ = {
91+
isa = PBXGroup;
92+
children = (
93+
2930691E1C8F0A7700F92F06 /* KeyboardHelper.framework */,
94+
);
95+
name = Frameworks;
96+
sourceTree = "<group>";
97+
};
98+
/* End PBXGroup section */
99+
100+
/* Begin PBXNativeTarget section */
101+
29F30E661C807E2A00C77AF4 /* KeyboardHelperDemo */ = {
102+
isa = PBXNativeTarget;
103+
buildConfigurationList = 29F30E791C807E2A00C77AF4 /* Build configuration list for PBXNativeTarget "KeyboardHelperDemo" */;
104+
buildPhases = (
105+
29F30E631C807E2A00C77AF4 /* Sources */,
106+
29F30E641C807E2A00C77AF4 /* Frameworks */,
107+
29F30E651C807E2A00C77AF4 /* Resources */,
108+
29F30E821C80829300C77AF4 /* CopyFiles */,
109+
);
110+
buildRules = (
111+
);
112+
dependencies = (
113+
);
114+
name = KeyboardHelperDemo;
115+
productName = KeyboardHelperDemo;
116+
productReference = 29F30E671C807E2A00C77AF4 /* KeyboardHelperDemo.app */;
117+
productType = "com.apple.product-type.application";
118+
};
119+
/* End PBXNativeTarget section */
120+
121+
/* Begin PBXProject section */
122+
29F30E5F1C807E2A00C77AF4 /* Project object */ = {
123+
isa = PBXProject;
124+
attributes = {
125+
LastSwiftUpdateCheck = 0720;
126+
LastUpgradeCheck = 0720;
127+
ORGANIZATIONNAME = Nodes;
128+
TargetAttributes = {
129+
29F30E661C807E2A00C77AF4 = {
130+
CreatedOnToolsVersion = 7.2;
131+
};
132+
};
133+
};
134+
buildConfigurationList = 29F30E621C807E2A00C77AF4 /* Build configuration list for PBXProject "KeyboardHelperDemo" */;
135+
compatibilityVersion = "Xcode 3.2";
136+
developmentRegion = English;
137+
hasScannedForEncodings = 0;
138+
knownRegions = (
139+
en,
140+
Base,
141+
);
142+
mainGroup = 29F30E5E1C807E2A00C77AF4;
143+
productRefGroup = 29F30E681C807E2A00C77AF4 /* Products */;
144+
projectDirPath = "";
145+
projectRoot = "";
146+
targets = (
147+
29F30E661C807E2A00C77AF4 /* KeyboardHelperDemo */,
148+
);
149+
};
150+
/* End PBXProject section */
151+
152+
/* Begin PBXResourcesBuildPhase section */
153+
29F30E651C807E2A00C77AF4 /* Resources */ = {
154+
isa = PBXResourcesBuildPhase;
155+
buildActionMask = 2147483647;
156+
files = (
157+
29F30E751C807E2A00C77AF4 /* LaunchScreen.storyboard in Resources */,
158+
29F30E721C807E2A00C77AF4 /* Assets.xcassets in Resources */,
159+
29F30E7D1C807E3500C77AF4 /* Cartfile in Resources */,
160+
29F30E701C807E2A00C77AF4 /* Main.storyboard in Resources */,
161+
);
162+
runOnlyForDeploymentPostprocessing = 0;
163+
};
164+
/* End PBXResourcesBuildPhase section */
165+
166+
/* Begin PBXSourcesBuildPhase section */
167+
29F30E631C807E2A00C77AF4 /* Sources */ = {
168+
isa = PBXSourcesBuildPhase;
169+
buildActionMask = 2147483647;
170+
files = (
171+
29F30E6D1C807E2A00C77AF4 /* ViewController.swift in Sources */,
172+
29F30E6B1C807E2A00C77AF4 /* AppDelegate.swift in Sources */,
173+
);
174+
runOnlyForDeploymentPostprocessing = 0;
175+
};
176+
/* End PBXSourcesBuildPhase section */
177+
178+
/* Begin PBXVariantGroup section */
179+
29F30E6E1C807E2A00C77AF4 /* Main.storyboard */ = {
180+
isa = PBXVariantGroup;
181+
children = (
182+
29F30E6F1C807E2A00C77AF4 /* Base */,
183+
);
184+
name = Main.storyboard;
185+
sourceTree = "<group>";
186+
};
187+
29F30E731C807E2A00C77AF4 /* LaunchScreen.storyboard */ = {
188+
isa = PBXVariantGroup;
189+
children = (
190+
29F30E741C807E2A00C77AF4 /* Base */,
191+
);
192+
name = LaunchScreen.storyboard;
193+
sourceTree = "<group>";
194+
};
195+
/* End PBXVariantGroup section */
196+
197+
/* Begin XCBuildConfiguration section */
198+
29F30E771C807E2A00C77AF4 /* Debug */ = {
199+
isa = XCBuildConfiguration;
200+
buildSettings = {
201+
ALWAYS_SEARCH_USER_PATHS = NO;
202+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
203+
CLANG_CXX_LIBRARY = "libc++";
204+
CLANG_ENABLE_MODULES = YES;
205+
CLANG_ENABLE_OBJC_ARC = YES;
206+
CLANG_WARN_BOOL_CONVERSION = YES;
207+
CLANG_WARN_CONSTANT_CONVERSION = YES;
208+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
209+
CLANG_WARN_EMPTY_BODY = YES;
210+
CLANG_WARN_ENUM_CONVERSION = YES;
211+
CLANG_WARN_INT_CONVERSION = YES;
212+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
213+
CLANG_WARN_UNREACHABLE_CODE = YES;
214+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
215+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
216+
COPY_PHASE_STRIP = NO;
217+
DEBUG_INFORMATION_FORMAT = dwarf;
218+
ENABLE_STRICT_OBJC_MSGSEND = YES;
219+
ENABLE_TESTABILITY = YES;
220+
GCC_C_LANGUAGE_STANDARD = gnu99;
221+
GCC_DYNAMIC_NO_PIC = NO;
222+
GCC_NO_COMMON_BLOCKS = YES;
223+
GCC_OPTIMIZATION_LEVEL = 0;
224+
GCC_PREPROCESSOR_DEFINITIONS = (
225+
"DEBUG=1",
226+
"$(inherited)",
227+
);
228+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
229+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
230+
GCC_WARN_UNDECLARED_SELECTOR = YES;
231+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
232+
GCC_WARN_UNUSED_FUNCTION = YES;
233+
GCC_WARN_UNUSED_VARIABLE = YES;
234+
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
235+
MTL_ENABLE_DEBUG_INFO = YES;
236+
ONLY_ACTIVE_ARCH = YES;
237+
SDKROOT = iphoneos;
238+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
239+
};
240+
name = Debug;
241+
};
242+
29F30E781C807E2A00C77AF4 /* Release */ = {
243+
isa = XCBuildConfiguration;
244+
buildSettings = {
245+
ALWAYS_SEARCH_USER_PATHS = NO;
246+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
247+
CLANG_CXX_LIBRARY = "libc++";
248+
CLANG_ENABLE_MODULES = YES;
249+
CLANG_ENABLE_OBJC_ARC = YES;
250+
CLANG_WARN_BOOL_CONVERSION = YES;
251+
CLANG_WARN_CONSTANT_CONVERSION = YES;
252+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
253+
CLANG_WARN_EMPTY_BODY = YES;
254+
CLANG_WARN_ENUM_CONVERSION = YES;
255+
CLANG_WARN_INT_CONVERSION = YES;
256+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
257+
CLANG_WARN_UNREACHABLE_CODE = YES;
258+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
259+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
260+
COPY_PHASE_STRIP = NO;
261+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
262+
ENABLE_NS_ASSERTIONS = NO;
263+
ENABLE_STRICT_OBJC_MSGSEND = YES;
264+
GCC_C_LANGUAGE_STANDARD = gnu99;
265+
GCC_NO_COMMON_BLOCKS = YES;
266+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
267+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
268+
GCC_WARN_UNDECLARED_SELECTOR = YES;
269+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
270+
GCC_WARN_UNUSED_FUNCTION = YES;
271+
GCC_WARN_UNUSED_VARIABLE = YES;
272+
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
273+
MTL_ENABLE_DEBUG_INFO = NO;
274+
SDKROOT = iphoneos;
275+
VALIDATE_PRODUCT = YES;
276+
};
277+
name = Release;
278+
};
279+
29F30E7A1C807E2A00C77AF4 /* Debug */ = {
280+
isa = XCBuildConfiguration;
281+
buildSettings = {
282+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
283+
FRAMEWORK_SEARCH_PATHS = (
284+
"$(inherited)",
285+
"$(PROJECT_DIR)/KeyboardHelperDemo",
286+
"$(PROJECT_DIR)/Carthage/Build/iOS",
287+
);
288+
INFOPLIST_FILE = KeyboardHelperDemo/Info.plist;
289+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
290+
PRODUCT_BUNDLE_IDENTIFIER = dk.nodes.KeyboardHelperDemo;
291+
PRODUCT_NAME = "$(TARGET_NAME)";
292+
};
293+
name = Debug;
294+
};
295+
29F30E7B1C807E2A00C77AF4 /* Release */ = {
296+
isa = XCBuildConfiguration;
297+
buildSettings = {
298+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
299+
FRAMEWORK_SEARCH_PATHS = (
300+
"$(inherited)",
301+
"$(PROJECT_DIR)/KeyboardHelperDemo",
302+
"$(PROJECT_DIR)/Carthage/Build/iOS",
303+
);
304+
INFOPLIST_FILE = KeyboardHelperDemo/Info.plist;
305+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
306+
PRODUCT_BUNDLE_IDENTIFIER = dk.nodes.KeyboardHelperDemo;
307+
PRODUCT_NAME = "$(TARGET_NAME)";
308+
};
309+
name = Release;
310+
};
311+
/* End XCBuildConfiguration section */
312+
313+
/* Begin XCConfigurationList section */
314+
29F30E621C807E2A00C77AF4 /* Build configuration list for PBXProject "KeyboardHelperDemo" */ = {
315+
isa = XCConfigurationList;
316+
buildConfigurations = (
317+
29F30E771C807E2A00C77AF4 /* Debug */,
318+
29F30E781C807E2A00C77AF4 /* Release */,
319+
);
320+
defaultConfigurationIsVisible = 0;
321+
defaultConfigurationName = Release;
322+
};
323+
29F30E791C807E2A00C77AF4 /* Build configuration list for PBXNativeTarget "KeyboardHelperDemo" */ = {
324+
isa = XCConfigurationList;
325+
buildConfigurations = (
326+
29F30E7A1C807E2A00C77AF4 /* Debug */,
327+
29F30E7B1C807E2A00C77AF4 /* Release */,
328+
);
329+
defaultConfigurationIsVisible = 0;
330+
defaultConfigurationName = Release;
331+
};
332+
/* End XCConfigurationList section */
333+
};
334+
rootObject = 29F30E5F1C807E2A00C77AF4 /* Project object */;
335+
}

Example/KeyboardHelperDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)