Skip to content

Commit ee092b7

Browse files
author
nyg
committed
Imported project.
1 parent daa1b9e commit ee092b7

File tree

17 files changed

+898
-0
lines changed

17 files changed

+898
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.DS_Store
2+
13
# Xcode
24
#
35
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
Lines changed: 348 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,348 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
CE018BA41F3FAFA0007EB8D2 /* index-img.html in Resources */ = {isa = PBXBuildFile; fileRef = CE018BA31F3FAFA0007EB8D2 /* index-img.html */; };
11+
CEBD8AF61F3E5DD60068CD11 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD8AF51F3E5DD60068CD11 /* AppDelegate.swift */; };
12+
CEBD8AF81F3E5DD60068CD11 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD8AF71F3E5DD60068CD11 /* ViewController.swift */; };
13+
CEBD8AFB1F3E5DD60068CD11 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CEBD8AF91F3E5DD60068CD11 /* Main.storyboard */; };
14+
CEBD8AFD1F3E5DD60068CD11 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = CEBD8AFC1F3E5DD60068CD11 /* Assets.xcassets */; };
15+
CEBD8B001F3E5DD60068CD11 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CEBD8AFE1F3E5DD60068CD11 /* LaunchScreen.storyboard */; };
16+
CEBD8B0A1F3E616D0068CD11 /* index.html in Resources */ = {isa = PBXBuildFile; fileRef = CEBD8B091F3E616D0068CD11 /* index.html */; };
17+
CEBD8B0C1F3E65130068CD11 /* apple.png in Resources */ = {isa = PBXBuildFile; fileRef = CEBD8B0B1F3E65130068CD11 /* apple.png */; };
18+
CEBD8B0E1F3F751F0068CD11 /* WKWebViewWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD8B0D1F3F751F0068CD11 /* WKWebViewWrapper.swift */; };
19+
CEBD8B101F3F76F70068CD11 /* UIAlertController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CEBD8B0F1F3F76F70068CD11 /* UIAlertController.swift */; };
20+
/* End PBXBuildFile section */
21+
22+
/* Begin PBXFileReference section */
23+
CE018BA31F3FAFA0007EB8D2 /* index-img.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = "index-img.html"; sourceTree = "<group>"; };
24+
CEBD8AF21F3E5DD60068CD11 /* HTMLWithImagesToPDF.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HTMLWithImagesToPDF.app; sourceTree = BUILT_PRODUCTS_DIR; };
25+
CEBD8AF51F3E5DD60068CD11 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
26+
CEBD8AF71F3E5DD60068CD11 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
27+
CEBD8AFA1F3E5DD60068CD11 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
28+
CEBD8AFC1F3E5DD60068CD11 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
29+
CEBD8AFF1F3E5DD60068CD11 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
30+
CEBD8B011F3E5DD60068CD11 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
31+
CEBD8B091F3E616D0068CD11 /* index.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = index.html; sourceTree = "<group>"; };
32+
CEBD8B0B1F3E65130068CD11 /* apple.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = apple.png; sourceTree = "<group>"; };
33+
CEBD8B0D1F3F751F0068CD11 /* WKWebViewWrapper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WKWebViewWrapper.swift; sourceTree = "<group>"; };
34+
CEBD8B0F1F3F76F70068CD11 /* UIAlertController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIAlertController.swift; sourceTree = "<group>"; };
35+
/* End PBXFileReference section */
36+
37+
/* Begin PBXFrameworksBuildPhase section */
38+
CEBD8AEF1F3E5DD60068CD11 /* Frameworks */ = {
39+
isa = PBXFrameworksBuildPhase;
40+
buildActionMask = 2147483647;
41+
files = (
42+
);
43+
runOnlyForDeploymentPostprocessing = 0;
44+
};
45+
/* End PBXFrameworksBuildPhase section */
46+
47+
/* Begin PBXGroup section */
48+
CEBD8AE91F3E5DD50068CD11 = {
49+
isa = PBXGroup;
50+
children = (
51+
CEBD8AF41F3E5DD60068CD11 /* HTMLWithImagesToPDF */,
52+
CEBD8AF31F3E5DD60068CD11 /* Products */,
53+
);
54+
sourceTree = "<group>";
55+
};
56+
CEBD8AF31F3E5DD60068CD11 /* Products */ = {
57+
isa = PBXGroup;
58+
children = (
59+
CEBD8AF21F3E5DD60068CD11 /* HTMLWithImagesToPDF.app */,
60+
);
61+
name = Products;
62+
sourceTree = "<group>";
63+
};
64+
CEBD8AF41F3E5DD60068CD11 /* HTMLWithImagesToPDF */ = {
65+
isa = PBXGroup;
66+
children = (
67+
CEBD8AF51F3E5DD60068CD11 /* AppDelegate.swift */,
68+
CEBD8AF71F3E5DD60068CD11 /* ViewController.swift */,
69+
CEBD8B0D1F3F751F0068CD11 /* WKWebViewWrapper.swift */,
70+
CEBD8B0F1F3F76F70068CD11 /* UIAlertController.swift */,
71+
CEBD8B071F3E5DDE0068CD11 /* Storyboards */,
72+
CEBD8B081F3E5DEA0068CD11 /* Supporting Files */,
73+
);
74+
path = HTMLWithImagesToPDF;
75+
sourceTree = "<group>";
76+
};
77+
CEBD8B071F3E5DDE0068CD11 /* Storyboards */ = {
78+
isa = PBXGroup;
79+
children = (
80+
CEBD8AF91F3E5DD60068CD11 /* Main.storyboard */,
81+
CEBD8AFE1F3E5DD60068CD11 /* LaunchScreen.storyboard */,
82+
);
83+
name = Storyboards;
84+
sourceTree = "<group>";
85+
};
86+
CEBD8B081F3E5DEA0068CD11 /* Supporting Files */ = {
87+
isa = PBXGroup;
88+
children = (
89+
CEBD8AFC1F3E5DD60068CD11 /* Assets.xcassets */,
90+
CEBD8B011F3E5DD60068CD11 /* Info.plist */,
91+
CEBD8B091F3E616D0068CD11 /* index.html */,
92+
CE018BA31F3FAFA0007EB8D2 /* index-img.html */,
93+
CEBD8B0B1F3E65130068CD11 /* apple.png */,
94+
);
95+
name = "Supporting Files";
96+
sourceTree = "<group>";
97+
};
98+
/* End PBXGroup section */
99+
100+
/* Begin PBXNativeTarget section */
101+
CEBD8AF11F3E5DD60068CD11 /* HTMLWithImagesToPDF */ = {
102+
isa = PBXNativeTarget;
103+
buildConfigurationList = CEBD8B041F3E5DD60068CD11 /* Build configuration list for PBXNativeTarget "HTMLWithImagesToPDF" */;
104+
buildPhases = (
105+
CEBD8AEE1F3E5DD60068CD11 /* Sources */,
106+
CEBD8AEF1F3E5DD60068CD11 /* Frameworks */,
107+
CEBD8AF01F3E5DD60068CD11 /* Resources */,
108+
);
109+
buildRules = (
110+
);
111+
dependencies = (
112+
);
113+
name = HTMLWithImagesToPDF;
114+
productName = HTMLWithImagesToPDF;
115+
productReference = CEBD8AF21F3E5DD60068CD11 /* HTMLWithImagesToPDF.app */;
116+
productType = "com.apple.product-type.application";
117+
};
118+
/* End PBXNativeTarget section */
119+
120+
/* Begin PBXProject section */
121+
CEBD8AEA1F3E5DD50068CD11 /* Project object */ = {
122+
isa = PBXProject;
123+
attributes = {
124+
LastSwiftUpdateCheck = 0830;
125+
LastUpgradeCheck = 0830;
126+
ORGANIZATIONNAME = nyg;
127+
TargetAttributes = {
128+
CEBD8AF11F3E5DD60068CD11 = {
129+
CreatedOnToolsVersion = 8.3.3;
130+
DevelopmentTeam = 7BPPXA6BRU;
131+
ProvisioningStyle = Automatic;
132+
};
133+
};
134+
};
135+
buildConfigurationList = CEBD8AED1F3E5DD50068CD11 /* Build configuration list for PBXProject "HTMLWithImagesToPDF" */;
136+
compatibilityVersion = "Xcode 3.2";
137+
developmentRegion = English;
138+
hasScannedForEncodings = 0;
139+
knownRegions = (
140+
en,
141+
Base,
142+
);
143+
mainGroup = CEBD8AE91F3E5DD50068CD11;
144+
productRefGroup = CEBD8AF31F3E5DD60068CD11 /* Products */;
145+
projectDirPath = "";
146+
projectRoot = "";
147+
targets = (
148+
CEBD8AF11F3E5DD60068CD11 /* HTMLWithImagesToPDF */,
149+
);
150+
};
151+
/* End PBXProject section */
152+
153+
/* Begin PBXResourcesBuildPhase section */
154+
CEBD8AF01F3E5DD60068CD11 /* Resources */ = {
155+
isa = PBXResourcesBuildPhase;
156+
buildActionMask = 2147483647;
157+
files = (
158+
CEBD8B0A1F3E616D0068CD11 /* index.html in Resources */,
159+
CEBD8B001F3E5DD60068CD11 /* LaunchScreen.storyboard in Resources */,
160+
CEBD8AFD1F3E5DD60068CD11 /* Assets.xcassets in Resources */,
161+
CEBD8AFB1F3E5DD60068CD11 /* Main.storyboard in Resources */,
162+
CEBD8B0C1F3E65130068CD11 /* apple.png in Resources */,
163+
CE018BA41F3FAFA0007EB8D2 /* index-img.html in Resources */,
164+
);
165+
runOnlyForDeploymentPostprocessing = 0;
166+
};
167+
/* End PBXResourcesBuildPhase section */
168+
169+
/* Begin PBXSourcesBuildPhase section */
170+
CEBD8AEE1F3E5DD60068CD11 /* Sources */ = {
171+
isa = PBXSourcesBuildPhase;
172+
buildActionMask = 2147483647;
173+
files = (
174+
CEBD8B101F3F76F70068CD11 /* UIAlertController.swift in Sources */,
175+
CEBD8AF81F3E5DD60068CD11 /* ViewController.swift in Sources */,
176+
CEBD8AF61F3E5DD60068CD11 /* AppDelegate.swift in Sources */,
177+
CEBD8B0E1F3F751F0068CD11 /* WKWebViewWrapper.swift in Sources */,
178+
);
179+
runOnlyForDeploymentPostprocessing = 0;
180+
};
181+
/* End PBXSourcesBuildPhase section */
182+
183+
/* Begin PBXVariantGroup section */
184+
CEBD8AF91F3E5DD60068CD11 /* Main.storyboard */ = {
185+
isa = PBXVariantGroup;
186+
children = (
187+
CEBD8AFA1F3E5DD60068CD11 /* Base */,
188+
);
189+
name = Main.storyboard;
190+
sourceTree = "<group>";
191+
};
192+
CEBD8AFE1F3E5DD60068CD11 /* LaunchScreen.storyboard */ = {
193+
isa = PBXVariantGroup;
194+
children = (
195+
CEBD8AFF1F3E5DD60068CD11 /* Base */,
196+
);
197+
name = LaunchScreen.storyboard;
198+
sourceTree = "<group>";
199+
};
200+
/* End PBXVariantGroup section */
201+
202+
/* Begin XCBuildConfiguration section */
203+
CEBD8B021F3E5DD60068CD11 /* Debug */ = {
204+
isa = XCBuildConfiguration;
205+
buildSettings = {
206+
ALWAYS_SEARCH_USER_PATHS = NO;
207+
CLANG_ANALYZER_NONNULL = YES;
208+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
209+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
210+
CLANG_CXX_LIBRARY = "libc++";
211+
CLANG_ENABLE_MODULES = YES;
212+
CLANG_ENABLE_OBJC_ARC = YES;
213+
CLANG_WARN_BOOL_CONVERSION = YES;
214+
CLANG_WARN_CONSTANT_CONVERSION = YES;
215+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
216+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
217+
CLANG_WARN_EMPTY_BODY = YES;
218+
CLANG_WARN_ENUM_CONVERSION = YES;
219+
CLANG_WARN_INFINITE_RECURSION = YES;
220+
CLANG_WARN_INT_CONVERSION = YES;
221+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
222+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
223+
CLANG_WARN_UNREACHABLE_CODE = YES;
224+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
225+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
226+
COPY_PHASE_STRIP = NO;
227+
DEBUG_INFORMATION_FORMAT = dwarf;
228+
ENABLE_STRICT_OBJC_MSGSEND = YES;
229+
ENABLE_TESTABILITY = YES;
230+
GCC_C_LANGUAGE_STANDARD = gnu99;
231+
GCC_DYNAMIC_NO_PIC = NO;
232+
GCC_NO_COMMON_BLOCKS = YES;
233+
GCC_OPTIMIZATION_LEVEL = 0;
234+
GCC_PREPROCESSOR_DEFINITIONS = (
235+
"DEBUG=1",
236+
"$(inherited)",
237+
);
238+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
239+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
240+
GCC_WARN_UNDECLARED_SELECTOR = YES;
241+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
242+
GCC_WARN_UNUSED_FUNCTION = YES;
243+
GCC_WARN_UNUSED_VARIABLE = YES;
244+
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
245+
MTL_ENABLE_DEBUG_INFO = YES;
246+
ONLY_ACTIVE_ARCH = YES;
247+
SDKROOT = iphoneos;
248+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
249+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
250+
TARGETED_DEVICE_FAMILY = "1,2";
251+
};
252+
name = Debug;
253+
};
254+
CEBD8B031F3E5DD60068CD11 /* Release */ = {
255+
isa = XCBuildConfiguration;
256+
buildSettings = {
257+
ALWAYS_SEARCH_USER_PATHS = NO;
258+
CLANG_ANALYZER_NONNULL = YES;
259+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
260+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
261+
CLANG_CXX_LIBRARY = "libc++";
262+
CLANG_ENABLE_MODULES = YES;
263+
CLANG_ENABLE_OBJC_ARC = YES;
264+
CLANG_WARN_BOOL_CONVERSION = YES;
265+
CLANG_WARN_CONSTANT_CONVERSION = YES;
266+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
267+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
268+
CLANG_WARN_EMPTY_BODY = YES;
269+
CLANG_WARN_ENUM_CONVERSION = YES;
270+
CLANG_WARN_INFINITE_RECURSION = YES;
271+
CLANG_WARN_INT_CONVERSION = YES;
272+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
273+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
274+
CLANG_WARN_UNREACHABLE_CODE = YES;
275+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
276+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
277+
COPY_PHASE_STRIP = NO;
278+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
279+
ENABLE_NS_ASSERTIONS = NO;
280+
ENABLE_STRICT_OBJC_MSGSEND = YES;
281+
GCC_C_LANGUAGE_STANDARD = gnu99;
282+
GCC_NO_COMMON_BLOCKS = YES;
283+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
284+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
285+
GCC_WARN_UNDECLARED_SELECTOR = YES;
286+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
287+
GCC_WARN_UNUSED_FUNCTION = YES;
288+
GCC_WARN_UNUSED_VARIABLE = YES;
289+
IPHONEOS_DEPLOYMENT_TARGET = 10.3;
290+
MTL_ENABLE_DEBUG_INFO = NO;
291+
SDKROOT = iphoneos;
292+
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
293+
TARGETED_DEVICE_FAMILY = "1,2";
294+
VALIDATE_PRODUCT = YES;
295+
};
296+
name = Release;
297+
};
298+
CEBD8B051F3E5DD60068CD11 /* Debug */ = {
299+
isa = XCBuildConfiguration;
300+
buildSettings = {
301+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
302+
DEVELOPMENT_TEAM = 7BPPXA6BRU;
303+
INFOPLIST_FILE = HTMLWithImagesToPDF/Info.plist;
304+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
305+
PRODUCT_BUNDLE_IDENTIFIER = ch.nyg.HTMLWithImagesToPDF;
306+
PRODUCT_NAME = "$(TARGET_NAME)";
307+
SWIFT_VERSION = 3.0;
308+
};
309+
name = Debug;
310+
};
311+
CEBD8B061F3E5DD60068CD11 /* Release */ = {
312+
isa = XCBuildConfiguration;
313+
buildSettings = {
314+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
315+
DEVELOPMENT_TEAM = 7BPPXA6BRU;
316+
INFOPLIST_FILE = HTMLWithImagesToPDF/Info.plist;
317+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
318+
PRODUCT_BUNDLE_IDENTIFIER = ch.nyg.HTMLWithImagesToPDF;
319+
PRODUCT_NAME = "$(TARGET_NAME)";
320+
SWIFT_VERSION = 3.0;
321+
};
322+
name = Release;
323+
};
324+
/* End XCBuildConfiguration section */
325+
326+
/* Begin XCConfigurationList section */
327+
CEBD8AED1F3E5DD50068CD11 /* Build configuration list for PBXProject "HTMLWithImagesToPDF" */ = {
328+
isa = XCConfigurationList;
329+
buildConfigurations = (
330+
CEBD8B021F3E5DD60068CD11 /* Debug */,
331+
CEBD8B031F3E5DD60068CD11 /* Release */,
332+
);
333+
defaultConfigurationIsVisible = 0;
334+
defaultConfigurationName = Release;
335+
};
336+
CEBD8B041F3E5DD60068CD11 /* Build configuration list for PBXNativeTarget "HTMLWithImagesToPDF" */ = {
337+
isa = XCConfigurationList;
338+
buildConfigurations = (
339+
CEBD8B051F3E5DD60068CD11 /* Debug */,
340+
CEBD8B061F3E5DD60068CD11 /* Release */,
341+
);
342+
defaultConfigurationIsVisible = 0;
343+
defaultConfigurationName = Release;
344+
};
345+
/* End XCConfigurationList section */
346+
};
347+
rootObject = CEBD8AEA1F3E5DD50068CD11 /* Project object */;
348+
}

HTMLWithImagesToPDF.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//
2+
// AppDelegate.swift
3+
// HTMLWithImagesToPDF
4+
//
5+
// Created by user on 11.08.17.
6+
// Copyright © 2017 nyg. All rights reserved.
7+
//
8+
9+
import UIKit
10+
11+
@UIApplicationMain
12+
class AppDelegate: UIResponder, UIApplicationDelegate {
13+
var window: UIWindow?
14+
}

0 commit comments

Comments
 (0)