Skip to content

Commit 9882c47

Browse files
authored
Merge pull request #139 from hyperoslo/swift4
Swift4
2 parents eb4b12f + 593c2ac commit 9882c47

25 files changed

+200
-157
lines changed

.slather.yml

-4
This file was deleted.

.swift-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0
1+
4.0

.travis.yml

-13
This file was deleted.

Cartfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
github "hyperoslo/Hue" ~> 2.0
1+
github "hyperoslo/Hue" ~> 3.0
2+
github "hyperoslo/Imaginary" ~> 3.0

Cartfile.resolved

+4-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
github "hyperoslo/Hue" "f82ffc7dd55d093d3acc6ce5b3d36ca259091fdd"
1+
github "hyperoslo/Cache" "4.0.2"
2+
github "hyperoslo/Hue" "3.0.0"
3+
github "hyperoslo/Imaginary" "3.0.0"
4+
github "onmyway133/SwiftHash" "2.0.1"

Example/DemoLightbox/DemoLightbox.xcodeproj/project.pbxproj

+47-29
Original file line numberDiff line numberDiff line change
@@ -11,41 +11,50 @@
1111
29B4A42F1C43A4320060ED52 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 29B4A42E1C43A4320060ED52 /* ViewController.swift */; };
1212
29B4A4341C43A4320060ED52 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 29B4A4331C43A4320060ED52 /* Assets.xcassets */; };
1313
29B4A4371C43A4320060ED52 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 29B4A4351C43A4320060ED52 /* LaunchScreen.storyboard */; };
14-
7193005DD460E198432D8F06 /* Pods_DemoLightbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0977FB7C36F459186E043753 /* Pods_DemoLightbox.framework */; };
14+
B89E57B7A21C44D762123511 /* Pods_DemoLightbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE4E898FD95F4D90F624B067 /* Pods_DemoLightbox.framework */; };
1515
/* End PBXBuildFile section */
1616

1717
/* Begin PBXFileReference section */
18-
0977FB7C36F459186E043753 /* Pods_DemoLightbox.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DemoLightbox.framework; sourceTree = BUILT_PRODUCTS_DIR; };
18+
064155DBC618EBACF5C257C6 /* Pods-DemoLightbox.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DemoLightbox.release.xcconfig"; path = "Pods/Target Support Files/Pods-DemoLightbox/Pods-DemoLightbox.release.xcconfig"; sourceTree = "<group>"; };
1919
29B4A4291C43A4320060ED52 /* DemoLightbox.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DemoLightbox.app; sourceTree = BUILT_PRODUCTS_DIR; };
2020
29B4A42C1C43A4320060ED52 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
2121
29B4A42E1C43A4320060ED52 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
2222
29B4A4331C43A4320060ED52 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
2323
29B4A4361C43A4320060ED52 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
2424
29B4A4381C43A4320060ED52 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
25-
5B9CE7F93A06A0459BF452D8 /* Pods-DemoLightbox.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DemoLightbox.release.xcconfig"; path = "Pods/Target Support Files/Pods-DemoLightbox/Pods-DemoLightbox.release.xcconfig"; sourceTree = "<group>"; };
26-
C37FDBF69CDC2A95E0E105A7 /* Pods-DemoLightbox.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DemoLightbox.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DemoLightbox/Pods-DemoLightbox.debug.xcconfig"; sourceTree = "<group>"; };
25+
6096248776155BE47C0A196A /* Pods-DemoLightbox.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DemoLightbox.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DemoLightbox/Pods-DemoLightbox.debug.xcconfig"; sourceTree = "<group>"; };
2726
DAE713340DA5D2F2EF13EA8D /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
27+
EE4E898FD95F4D90F624B067 /* Pods_DemoLightbox.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DemoLightbox.framework; sourceTree = BUILT_PRODUCTS_DIR; };
2828
/* End PBXFileReference section */
2929

3030
/* Begin PBXFrameworksBuildPhase section */
3131
29B4A4261C43A4320060ED52 /* Frameworks */ = {
3232
isa = PBXFrameworksBuildPhase;
3333
buildActionMask = 2147483647;
3434
files = (
35-
7193005DD460E198432D8F06 /* Pods_DemoLightbox.framework in Frameworks */,
35+
B89E57B7A21C44D762123511 /* Pods_DemoLightbox.framework in Frameworks */,
3636
);
3737
runOnlyForDeploymentPostprocessing = 0;
3838
};
3939
/* End PBXFrameworksBuildPhase section */
4040

4141
/* Begin PBXGroup section */
42+
0C8887567644E86396B8D885 /* Pods */ = {
43+
isa = PBXGroup;
44+
children = (
45+
6096248776155BE47C0A196A /* Pods-DemoLightbox.debug.xcconfig */,
46+
064155DBC618EBACF5C257C6 /* Pods-DemoLightbox.release.xcconfig */,
47+
);
48+
name = Pods;
49+
sourceTree = "<group>";
50+
};
4251
29B4A4201C43A4320060ED52 = {
4352
isa = PBXGroup;
4453
children = (
4554
29B4A42B1C43A4320060ED52 /* DemoLightbox */,
4655
29B4A42A1C43A4320060ED52 /* Products */,
4756
B1B2B3DADEEC7FD14D4A9FF8 /* Frameworks */,
48-
80F119CA8153119A6934480D /* Pods */,
57+
0C8887567644E86396B8D885 /* Pods */,
4958
);
5059
sourceTree = "<group>";
5160
};
@@ -69,20 +78,11 @@
6978
path = DemoLightbox;
7079
sourceTree = "<group>";
7180
};
72-
80F119CA8153119A6934480D /* Pods */ = {
73-
isa = PBXGroup;
74-
children = (
75-
C37FDBF69CDC2A95E0E105A7 /* Pods-DemoLightbox.debug.xcconfig */,
76-
5B9CE7F93A06A0459BF452D8 /* Pods-DemoLightbox.release.xcconfig */,
77-
);
78-
name = Pods;
79-
sourceTree = "<group>";
80-
};
8181
B1B2B3DADEEC7FD14D4A9FF8 /* Frameworks */ = {
8282
isa = PBXGroup;
8383
children = (
8484
DAE713340DA5D2F2EF13EA8D /* Pods.framework */,
85-
0977FB7C36F459186E043753 /* Pods_DemoLightbox.framework */,
85+
EE4E898FD95F4D90F624B067 /* Pods_DemoLightbox.framework */,
8686
);
8787
name = Frameworks;
8888
sourceTree = "<group>";
@@ -94,12 +94,12 @@
9494
isa = PBXNativeTarget;
9595
buildConfigurationList = 29B4A43B1C43A4320060ED52 /* Build configuration list for PBXNativeTarget "DemoLightbox" */;
9696
buildPhases = (
97-
2CF277B8821F7CE6E2730C9C /* [CP] Check Pods Manifest.lock */,
97+
4DE126F6B5D0C8D6C0E7D848 /* [CP] Check Pods Manifest.lock */,
9898
29B4A4251C43A4320060ED52 /* Sources */,
9999
29B4A4261C43A4320060ED52 /* Frameworks */,
100100
29B4A4271C43A4320060ED52 /* Resources */,
101-
831C9CD301B03A92F6320AEE /* [CP] Embed Pods Frameworks */,
102-
3BCDC27EE322C46C109D231B /* [CP] Copy Pods Resources */,
101+
F162948C45248BBD677112BF /* [CP] Embed Pods Frameworks */,
102+
D1AB0C213924D367899FA1A2 /* [CP] Copy Pods Resources */,
103103
);
104104
buildRules = (
105105
);
@@ -117,7 +117,7 @@
117117
isa = PBXProject;
118118
attributes = {
119119
LastSwiftUpdateCheck = 0720;
120-
LastUpgradeCheck = 0800;
120+
LastUpgradeCheck = 0900;
121121
ORGANIZATIONNAME = "Hyper Interaktiv AS";
122122
TargetAttributes = {
123123
29B4A4281C43A4320060ED52 = {
@@ -158,7 +158,7 @@
158158
/* End PBXResourcesBuildPhase section */
159159

160160
/* Begin PBXShellScriptBuildPhase section */
161-
2CF277B8821F7CE6E2730C9C /* [CP] Check Pods Manifest.lock */ = {
161+
4DE126F6B5D0C8D6C0E7D848 /* [CP] Check Pods Manifest.lock */ = {
162162
isa = PBXShellScriptBuildPhase;
163163
buildActionMask = 2147483647;
164164
files = (
@@ -176,7 +176,7 @@
176176
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
177177
showEnvVarsInLog = 0;
178178
};
179-
3BCDC27EE322C46C109D231B /* [CP] Copy Pods Resources */ = {
179+
D1AB0C213924D367899FA1A2 /* [CP] Copy Pods Resources */ = {
180180
isa = PBXShellScriptBuildPhase;
181181
buildActionMask = 2147483647;
182182
files = (
@@ -191,20 +191,26 @@
191191
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DemoLightbox/Pods-DemoLightbox-resources.sh\"\n";
192192
showEnvVarsInLog = 0;
193193
};
194-
831C9CD301B03A92F6320AEE /* [CP] Embed Pods Frameworks */ = {
194+
F162948C45248BBD677112BF /* [CP] Embed Pods Frameworks */ = {
195195
isa = PBXShellScriptBuildPhase;
196196
buildActionMask = 2147483647;
197197
files = (
198198
);
199199
inputPaths = (
200200
"${SRCROOT}/Pods/Target Support Files/Pods-DemoLightbox/Pods-DemoLightbox-frameworks.sh",
201+
"${BUILT_PRODUCTS_DIR}/Cache/Cache.framework",
201202
"${BUILT_PRODUCTS_DIR}/Hue/Hue.framework",
203+
"${BUILT_PRODUCTS_DIR}/Imaginary/Imaginary.framework",
202204
"${BUILT_PRODUCTS_DIR}/Lightbox/Lightbox.framework",
205+
"${BUILT_PRODUCTS_DIR}/SwiftHash/SwiftHash.framework",
203206
);
204207
name = "[CP] Embed Pods Frameworks";
205208
outputPaths = (
209+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Cache.framework",
206210
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Hue.framework",
211+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Imaginary.framework",
207212
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Lightbox.framework",
213+
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SwiftHash.framework",
208214
);
209215
runOnlyForDeploymentPostprocessing = 0;
210216
shellPath = /bin/sh;
@@ -245,14 +251,20 @@
245251
CLANG_CXX_LIBRARY = "libc++";
246252
CLANG_ENABLE_MODULES = YES;
247253
CLANG_ENABLE_OBJC_ARC = YES;
254+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
248255
CLANG_WARN_BOOL_CONVERSION = YES;
256+
CLANG_WARN_COMMA = YES;
249257
CLANG_WARN_CONSTANT_CONVERSION = YES;
250258
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
251259
CLANG_WARN_EMPTY_BODY = YES;
252260
CLANG_WARN_ENUM_CONVERSION = YES;
253261
CLANG_WARN_INFINITE_RECURSION = YES;
254262
CLANG_WARN_INT_CONVERSION = YES;
263+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
264+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
255265
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
266+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
267+
CLANG_WARN_STRICT_PROTOTYPES = YES;
256268
CLANG_WARN_SUSPICIOUS_MOVE = YES;
257269
CLANG_WARN_UNREACHABLE_CODE = YES;
258270
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
@@ -280,7 +292,7 @@
280292
ONLY_ACTIVE_ARCH = YES;
281293
SDKROOT = iphoneos;
282294
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
283-
SWIFT_VERSION = 3.0;
295+
SWIFT_VERSION = 4.0;
284296
};
285297
name = Debug;
286298
};
@@ -292,14 +304,20 @@
292304
CLANG_CXX_LIBRARY = "libc++";
293305
CLANG_ENABLE_MODULES = YES;
294306
CLANG_ENABLE_OBJC_ARC = YES;
307+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
295308
CLANG_WARN_BOOL_CONVERSION = YES;
309+
CLANG_WARN_COMMA = YES;
296310
CLANG_WARN_CONSTANT_CONVERSION = YES;
297311
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
298312
CLANG_WARN_EMPTY_BODY = YES;
299313
CLANG_WARN_ENUM_CONVERSION = YES;
300314
CLANG_WARN_INFINITE_RECURSION = YES;
301315
CLANG_WARN_INT_CONVERSION = YES;
316+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
317+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
302318
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
319+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
320+
CLANG_WARN_STRICT_PROTOTYPES = YES;
303321
CLANG_WARN_SUSPICIOUS_MOVE = YES;
304322
CLANG_WARN_UNREACHABLE_CODE = YES;
305323
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
@@ -320,14 +338,14 @@
320338
MTL_ENABLE_DEBUG_INFO = NO;
321339
SDKROOT = iphoneos;
322340
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
323-
SWIFT_VERSION = 3.0;
341+
SWIFT_VERSION = 4.0;
324342
VALIDATE_PRODUCT = YES;
325343
};
326344
name = Release;
327345
};
328346
29B4A43C1C43A4320060ED52 /* Debug */ = {
329347
isa = XCBuildConfiguration;
330-
baseConfigurationReference = C37FDBF69CDC2A95E0E105A7 /* Pods-DemoLightbox.debug.xcconfig */;
348+
baseConfigurationReference = 6096248776155BE47C0A196A /* Pods-DemoLightbox.debug.xcconfig */;
331349
buildSettings = {
332350
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
333351
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
@@ -336,13 +354,13 @@
336354
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
337355
PRODUCT_BUNDLE_IDENTIFIER = no.hyper.DemoLightbox;
338356
PRODUCT_NAME = "$(TARGET_NAME)";
339-
SWIFT_VERSION = 3.0;
357+
TARGETED_DEVICE_FAMILY = "1,2";
340358
};
341359
name = Debug;
342360
};
343361
29B4A43D1C43A4320060ED52 /* Release */ = {
344362
isa = XCBuildConfiguration;
345-
baseConfigurationReference = 5B9CE7F93A06A0459BF452D8 /* Pods-DemoLightbox.release.xcconfig */;
363+
baseConfigurationReference = 064155DBC618EBACF5C257C6 /* Pods-DemoLightbox.release.xcconfig */;
346364
buildSettings = {
347365
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
348366
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
@@ -351,7 +369,7 @@
351369
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
352370
PRODUCT_BUNDLE_IDENTIFIER = no.hyper.DemoLightbox;
353371
PRODUCT_NAME = "$(TARGET_NAME)";
354-
SWIFT_VERSION = 3.0;
372+
TARGETED_DEVICE_FAMILY = "1,2";
355373
};
356374
name = Release;
357375
};

Example/DemoLightbox/DemoLightbox/ViewController.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class ViewController: UIViewController {
2525

2626
// MARK: - Action methods
2727

28-
func showLightbox() {
28+
@objc func showLightbox() {
2929
let images = [
3030
LightboxImage(imageURL: URL(string: "https://cdn.arstechnica.net/2011/10/05/iphone4s_sample_apple-4e8c706-intro.jpg")!),
3131
LightboxImage(
@@ -34,7 +34,7 @@ class ViewController: UIViewController {
3434
),
3535
LightboxImage(
3636
image: UIImage(named: "photo2")!,
37-
text: "",
37+
text: "🌲 🌲 🌲 🌲 🌲 🌲 🌲 🌲 🌲 🌲 🌲 🏃 🌲 🏃‍♀️ 🌲 🌲 🌲 🌲 🌲 🌲 🌲 🌲\n\nSuspendisse massa massa, maximus et finibus ac, auctor volutpat diam.\n\nPellentesque consequat magna condimentum mauris bibendum, nec ornare nisl hendrerit. Phasellus nec ultrices sem. Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n\nSuspendisse sit amet facilisis ante, ac suscipit sem. Integer feugiat sit amet erat sit amet mattis. Donec tristique, nunc ut varius elementum, nisi elit viverra ipsum, vitae aliquam justo libero in arcu. Quisque tempor et justo at malesuada. Curabitur justo dolor, ornare convallis sollicitudin sed, consectetur eu turpis. \n\nNulla et dui condimentum, laoreet lacus eu, ultrices nisl. Vivamus in ante volutpat, gravida nunc scelerisque, sagittis tellus. Nullam justo purus, sagittis a tincidunt a, maximus nec sem.",
3838
videoURL: URL(string: "https://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4")
3939
),
4040
LightboxImage(

Example/DemoLightbox/Podfile

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
platform :ios, '8.0'
1+
platform :ios, '9.0'
22

3-
use_frameworks!
4-
inhibit_all_warnings!
5-
6-
pod 'Lightbox', path: '../../'
7-
target 'DemoLightbox'
3+
target 'DemoLightbox' do
4+
use_frameworks!
5+
pod 'Lightbox', path: '../../'
6+
end

Example/DemoLightbox/Podfile.lock

+15-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
PODS:
2-
- Hue (2.0.1)
3-
- Lightbox (1.0.0):
4-
- Hue (~> 2.0)
2+
- Cache (4.0.2):
3+
- SwiftHash (~> 2.0.0)
4+
- Hue (3.0.0)
5+
- Imaginary (3.0.0):
6+
- Cache (~> 4.0)
7+
- Lightbox (2.0.0):
8+
- Hue (~> 3.0)
9+
- Imaginary (~> 3.0)
10+
- SwiftHash (2.0.0)
511

612
DEPENDENCIES:
713
- Lightbox (from `../../`)
@@ -11,9 +17,12 @@ EXTERNAL SOURCES:
1117
:path: ../../
1218

1319
SPEC CHECKSUMS:
14-
Hue: 354caec055fdc9d38b5ef33ca2e7224721843baf
15-
Lightbox: d15b5e265e505009932fa447f27b5262b8b1b604
20+
Cache: 363b6899cee63c82ccbd291e64a6c202abc17a88
21+
Hue: b8fe1e43eef13631331eebecb2198b68e2622f95
22+
Imaginary: 2765d293d425cbed3b07fa11642554cbaebe913d
23+
Lightbox: f7f1cc942d81e84d85095531208f5fe1bfd9c639
24+
SwiftHash: d2e09b13495447178cdfb8e46e54a5c46f15f5a9
1625

17-
PODFILE CHECKSUM: cd88b68c201e5c39cef62070056649eaee91c71b
26+
PODFILE CHECKSUM: 408ae3477507a1d4b7ff06ffb3f162eda443424f
1827

1928
COCOAPODS: 1.3.1

Lightbox.podspec

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
Pod::Spec.new do |s|
22
s.name = "Lightbox"
33
s.summary = "A a convenient and easy to use image viewer for your iOS app, packed with all the features you expect"
4-
s.version = "1.1.0"
4+
s.version = "2.0.0"
55
s.homepage = "https://github.com/hyperoslo/Lightbox"
66
s.license = 'MIT'
77
s.author = { "Hyper Interaktiv AS" => "[email protected]" }
88
s.source = { :git => "https://github.com/hyperoslo/Lightbox.git", :tag => s.version.to_s }
99
s.social_media_url = 'https://twitter.com/hyperoslo'
10-
s.platform = :ios, '8.0'
10+
s.platform = :ios, '9.0'
1111
s.requires_arc = true
1212
s.source_files = 'Source/**/*'
1313
s.ios.resource = 'Resources/Lightbox.bundle'
1414

1515
s.frameworks = 'UIKit', 'AVFoundation', 'AVKit'
16-
s.dependency 'Hue', '~> 2.0'
16+
s.dependency 'Hue', '~> 3.0'
17+
s.dependency 'Imaginary', '~> 3.0'
1718

18-
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '3.0' }
19+
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.0' }
1920
end

0 commit comments

Comments
 (0)