Skip to content

Commit 5e838bd

Browse files
author
David Luco
committed
Add PDFKit and PDFTron Xcode projects.
1 parent 33c3779 commit 5e838bd

File tree

27 files changed

+1360
-1
lines changed

27 files changed

+1360
-1
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ playground.xcworkspace
4646
# you should judge for yourself, the pros and cons are mentioned at:
4747
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
4848
#
49-
# Pods/
49+
Pods/
5050
#
5151
# Add this line if you want to avoid checking in source code from the Xcode workspace
5252
# *.xcworkspace
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,343 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 50;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
D324E83C216817ED00D5886D /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = D324E83B216817ED00D5886D /* AppDelegate.swift */; };
11+
D324E83E216817ED00D5886D /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D324E83D216817ED00D5886D /* ViewController.swift */; };
12+
D324E841216817ED00D5886D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D324E83F216817ED00D5886D /* Main.storyboard */; };
13+
D324E843216817EE00D5886D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D324E842216817EE00D5886D /* Assets.xcassets */; };
14+
D324E846216817EE00D5886D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D324E844216817EE00D5886D /* LaunchScreen.storyboard */; };
15+
D324E84E2168182100D5886D /* Sample.pdf in Resources */ = {isa = PBXBuildFile; fileRef = D324E84D2168182100D5886D /* Sample.pdf */; };
16+
/* End PBXBuildFile section */
17+
18+
/* Begin PBXFileReference section */
19+
D324E838216817ED00D5886D /* PDFKitViewer.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PDFKitViewer.app; sourceTree = BUILT_PRODUCTS_DIR; };
20+
D324E83B216817ED00D5886D /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
21+
D324E83D216817ED00D5886D /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
22+
D324E840216817ED00D5886D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
23+
D324E842216817EE00D5886D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
24+
D324E845216817EE00D5886D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
25+
D324E847216817EE00D5886D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
26+
D324E84D2168182100D5886D /* Sample.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; path = Sample.pdf; sourceTree = "<group>"; };
27+
/* End PBXFileReference section */
28+
29+
/* Begin PBXFrameworksBuildPhase section */
30+
D324E835216817ED00D5886D /* Frameworks */ = {
31+
isa = PBXFrameworksBuildPhase;
32+
buildActionMask = 2147483647;
33+
files = (
34+
);
35+
runOnlyForDeploymentPostprocessing = 0;
36+
};
37+
/* End PBXFrameworksBuildPhase section */
38+
39+
/* Begin PBXGroup section */
40+
D324E82F216817ED00D5886D = {
41+
isa = PBXGroup;
42+
children = (
43+
D324E83A216817ED00D5886D /* PDFKitViewer */,
44+
D324E839216817ED00D5886D /* Products */,
45+
);
46+
sourceTree = "<group>";
47+
};
48+
D324E839216817ED00D5886D /* Products */ = {
49+
isa = PBXGroup;
50+
children = (
51+
D324E838216817ED00D5886D /* PDFKitViewer.app */,
52+
);
53+
name = Products;
54+
sourceTree = "<group>";
55+
};
56+
D324E83A216817ED00D5886D /* PDFKitViewer */ = {
57+
isa = PBXGroup;
58+
children = (
59+
D324E83B216817ED00D5886D /* AppDelegate.swift */,
60+
D324E83D216817ED00D5886D /* ViewController.swift */,
61+
D324E83F216817ED00D5886D /* Main.storyboard */,
62+
D324E842216817EE00D5886D /* Assets.xcassets */,
63+
D324E844216817EE00D5886D /* LaunchScreen.storyboard */,
64+
D324E847216817EE00D5886D /* Info.plist */,
65+
D324E84D2168182100D5886D /* Sample.pdf */,
66+
);
67+
path = PDFKitViewer;
68+
sourceTree = "<group>";
69+
};
70+
/* End PBXGroup section */
71+
72+
/* Begin PBXNativeTarget section */
73+
D324E837216817ED00D5886D /* PDFKitViewer */ = {
74+
isa = PBXNativeTarget;
75+
buildConfigurationList = D324E84A216817EE00D5886D /* Build configuration list for PBXNativeTarget "PDFKitViewer" */;
76+
buildPhases = (
77+
D324E834216817ED00D5886D /* Sources */,
78+
D324E835216817ED00D5886D /* Frameworks */,
79+
D324E836216817ED00D5886D /* Resources */,
80+
);
81+
buildRules = (
82+
);
83+
dependencies = (
84+
);
85+
name = PDFKitViewer;
86+
productName = PDFKitViewer;
87+
productReference = D324E838216817ED00D5886D /* PDFKitViewer.app */;
88+
productType = "com.apple.product-type.application";
89+
};
90+
/* End PBXNativeTarget section */
91+
92+
/* Begin PBXProject section */
93+
D324E830216817ED00D5886D /* Project object */ = {
94+
isa = PBXProject;
95+
attributes = {
96+
LastSwiftUpdateCheck = 1000;
97+
LastUpgradeCheck = 1000;
98+
ORGANIZATIONNAME = "PDFTron Systems Inc.";
99+
TargetAttributes = {
100+
D324E837216817ED00D5886D = {
101+
CreatedOnToolsVersion = 10.0;
102+
};
103+
};
104+
};
105+
buildConfigurationList = D324E833216817ED00D5886D /* Build configuration list for PBXProject "PDFKitViewer" */;
106+
compatibilityVersion = "Xcode 9.3";
107+
developmentRegion = en;
108+
hasScannedForEncodings = 0;
109+
knownRegions = (
110+
en,
111+
Base,
112+
);
113+
mainGroup = D324E82F216817ED00D5886D;
114+
productRefGroup = D324E839216817ED00D5886D /* Products */;
115+
projectDirPath = "";
116+
projectRoot = "";
117+
targets = (
118+
D324E837216817ED00D5886D /* PDFKitViewer */,
119+
);
120+
};
121+
/* End PBXProject section */
122+
123+
/* Begin PBXResourcesBuildPhase section */
124+
D324E836216817ED00D5886D /* Resources */ = {
125+
isa = PBXResourcesBuildPhase;
126+
buildActionMask = 2147483647;
127+
files = (
128+
D324E846216817EE00D5886D /* LaunchScreen.storyboard in Resources */,
129+
D324E84E2168182100D5886D /* Sample.pdf in Resources */,
130+
D324E843216817EE00D5886D /* Assets.xcassets in Resources */,
131+
D324E841216817ED00D5886D /* Main.storyboard in Resources */,
132+
);
133+
runOnlyForDeploymentPostprocessing = 0;
134+
};
135+
/* End PBXResourcesBuildPhase section */
136+
137+
/* Begin PBXSourcesBuildPhase section */
138+
D324E834216817ED00D5886D /* Sources */ = {
139+
isa = PBXSourcesBuildPhase;
140+
buildActionMask = 2147483647;
141+
files = (
142+
D324E83E216817ED00D5886D /* ViewController.swift in Sources */,
143+
D324E83C216817ED00D5886D /* AppDelegate.swift in Sources */,
144+
);
145+
runOnlyForDeploymentPostprocessing = 0;
146+
};
147+
/* End PBXSourcesBuildPhase section */
148+
149+
/* Begin PBXVariantGroup section */
150+
D324E83F216817ED00D5886D /* Main.storyboard */ = {
151+
isa = PBXVariantGroup;
152+
children = (
153+
D324E840216817ED00D5886D /* Base */,
154+
);
155+
name = Main.storyboard;
156+
sourceTree = "<group>";
157+
};
158+
D324E844216817EE00D5886D /* LaunchScreen.storyboard */ = {
159+
isa = PBXVariantGroup;
160+
children = (
161+
D324E845216817EE00D5886D /* Base */,
162+
);
163+
name = LaunchScreen.storyboard;
164+
sourceTree = "<group>";
165+
};
166+
/* End PBXVariantGroup section */
167+
168+
/* Begin XCBuildConfiguration section */
169+
D324E848216817EE00D5886D /* Debug */ = {
170+
isa = XCBuildConfiguration;
171+
buildSettings = {
172+
ALWAYS_SEARCH_USER_PATHS = NO;
173+
CLANG_ANALYZER_NONNULL = YES;
174+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
175+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
176+
CLANG_CXX_LIBRARY = "libc++";
177+
CLANG_ENABLE_MODULES = YES;
178+
CLANG_ENABLE_OBJC_ARC = YES;
179+
CLANG_ENABLE_OBJC_WEAK = YES;
180+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
181+
CLANG_WARN_BOOL_CONVERSION = YES;
182+
CLANG_WARN_COMMA = YES;
183+
CLANG_WARN_CONSTANT_CONVERSION = YES;
184+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
185+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
186+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
187+
CLANG_WARN_EMPTY_BODY = YES;
188+
CLANG_WARN_ENUM_CONVERSION = YES;
189+
CLANG_WARN_INFINITE_RECURSION = YES;
190+
CLANG_WARN_INT_CONVERSION = YES;
191+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
192+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
193+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
194+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
195+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
196+
CLANG_WARN_STRICT_PROTOTYPES = YES;
197+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
198+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
199+
CLANG_WARN_UNREACHABLE_CODE = YES;
200+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
201+
CODE_SIGN_IDENTITY = "iPhone Developer";
202+
COPY_PHASE_STRIP = NO;
203+
DEBUG_INFORMATION_FORMAT = dwarf;
204+
ENABLE_STRICT_OBJC_MSGSEND = YES;
205+
ENABLE_TESTABILITY = YES;
206+
GCC_C_LANGUAGE_STANDARD = gnu11;
207+
GCC_DYNAMIC_NO_PIC = NO;
208+
GCC_NO_COMMON_BLOCKS = YES;
209+
GCC_OPTIMIZATION_LEVEL = 0;
210+
GCC_PREPROCESSOR_DEFINITIONS = (
211+
"DEBUG=1",
212+
"$(inherited)",
213+
);
214+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
215+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
216+
GCC_WARN_UNDECLARED_SELECTOR = YES;
217+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
218+
GCC_WARN_UNUSED_FUNCTION = YES;
219+
GCC_WARN_UNUSED_VARIABLE = YES;
220+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
221+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
222+
MTL_FAST_MATH = YES;
223+
ONLY_ACTIVE_ARCH = YES;
224+
SDKROOT = iphoneos;
225+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
226+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
227+
};
228+
name = Debug;
229+
};
230+
D324E849216817EE00D5886D /* Release */ = {
231+
isa = XCBuildConfiguration;
232+
buildSettings = {
233+
ALWAYS_SEARCH_USER_PATHS = NO;
234+
CLANG_ANALYZER_NONNULL = YES;
235+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
236+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
237+
CLANG_CXX_LIBRARY = "libc++";
238+
CLANG_ENABLE_MODULES = YES;
239+
CLANG_ENABLE_OBJC_ARC = YES;
240+
CLANG_ENABLE_OBJC_WEAK = YES;
241+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
242+
CLANG_WARN_BOOL_CONVERSION = YES;
243+
CLANG_WARN_COMMA = YES;
244+
CLANG_WARN_CONSTANT_CONVERSION = YES;
245+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
246+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
247+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
248+
CLANG_WARN_EMPTY_BODY = YES;
249+
CLANG_WARN_ENUM_CONVERSION = YES;
250+
CLANG_WARN_INFINITE_RECURSION = YES;
251+
CLANG_WARN_INT_CONVERSION = YES;
252+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
253+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
254+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
255+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
256+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
257+
CLANG_WARN_STRICT_PROTOTYPES = YES;
258+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
259+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
260+
CLANG_WARN_UNREACHABLE_CODE = YES;
261+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
262+
CODE_SIGN_IDENTITY = "iPhone Developer";
263+
COPY_PHASE_STRIP = NO;
264+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
265+
ENABLE_NS_ASSERTIONS = NO;
266+
ENABLE_STRICT_OBJC_MSGSEND = YES;
267+
GCC_C_LANGUAGE_STANDARD = gnu11;
268+
GCC_NO_COMMON_BLOCKS = YES;
269+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
270+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
271+
GCC_WARN_UNDECLARED_SELECTOR = YES;
272+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
273+
GCC_WARN_UNUSED_FUNCTION = YES;
274+
GCC_WARN_UNUSED_VARIABLE = YES;
275+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
276+
MTL_ENABLE_DEBUG_INFO = NO;
277+
MTL_FAST_MATH = YES;
278+
SDKROOT = iphoneos;
279+
SWIFT_COMPILATION_MODE = wholemodule;
280+
SWIFT_OPTIMIZATION_LEVEL = "-O";
281+
VALIDATE_PRODUCT = YES;
282+
};
283+
name = Release;
284+
};
285+
D324E84B216817EE00D5886D /* Debug */ = {
286+
isa = XCBuildConfiguration;
287+
buildSettings = {
288+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
289+
CODE_SIGN_STYLE = Automatic;
290+
INFOPLIST_FILE = PDFKitViewer/Info.plist;
291+
LD_RUNPATH_SEARCH_PATHS = (
292+
"$(inherited)",
293+
"@executable_path/Frameworks",
294+
);
295+
PRODUCT_BUNDLE_IDENTIFIER = com.pdftron.PDFKitViewer;
296+
PRODUCT_NAME = "$(TARGET_NAME)";
297+
SWIFT_VERSION = 4.2;
298+
TARGETED_DEVICE_FAMILY = "1,2";
299+
};
300+
name = Debug;
301+
};
302+
D324E84C216817EE00D5886D /* Release */ = {
303+
isa = XCBuildConfiguration;
304+
buildSettings = {
305+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
306+
CODE_SIGN_STYLE = Automatic;
307+
INFOPLIST_FILE = PDFKitViewer/Info.plist;
308+
LD_RUNPATH_SEARCH_PATHS = (
309+
"$(inherited)",
310+
"@executable_path/Frameworks",
311+
);
312+
PRODUCT_BUNDLE_IDENTIFIER = com.pdftron.PDFKitViewer;
313+
PRODUCT_NAME = "$(TARGET_NAME)";
314+
SWIFT_VERSION = 4.2;
315+
TARGETED_DEVICE_FAMILY = "1,2";
316+
};
317+
name = Release;
318+
};
319+
/* End XCBuildConfiguration section */
320+
321+
/* Begin XCConfigurationList section */
322+
D324E833216817ED00D5886D /* Build configuration list for PBXProject "PDFKitViewer" */ = {
323+
isa = XCConfigurationList;
324+
buildConfigurations = (
325+
D324E848216817EE00D5886D /* Debug */,
326+
D324E849216817EE00D5886D /* Release */,
327+
);
328+
defaultConfigurationIsVisible = 0;
329+
defaultConfigurationName = Release;
330+
};
331+
D324E84A216817EE00D5886D /* Build configuration list for PBXNativeTarget "PDFKitViewer" */ = {
332+
isa = XCConfigurationList;
333+
buildConfigurations = (
334+
D324E84B216817EE00D5886D /* Debug */,
335+
D324E84C216817EE00D5886D /* Release */,
336+
);
337+
defaultConfigurationIsVisible = 0;
338+
defaultConfigurationName = Release;
339+
};
340+
/* End XCConfigurationList section */
341+
};
342+
rootObject = D324E830216817ED00D5886D /* Project object */;
343+
}

PDFKitViewer/PDFKitViewer.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)