Skip to content

Commit a44c6f8

Browse files
Added pod spec and updated swift version to 3
1 parent 47ac176 commit a44c6f8

5 files changed

Lines changed: 19 additions & 0 deletions

File tree

.swift-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0

CardsStack.podspec

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Pod::Spec.new do |spec|
2+
spec.name = "CardsStack"
3+
spec.version = "0.2.1"
4+
spec.summary = "UICollectionView turned to awesome set of cards"
5+
spec.homepage = "https://github.com/priteshrnandgaonkar/CardsStack"
6+
spec.license = { type: 'MIT', file: 'LICENSE.md' }
7+
spec.authors = { "Pritesh Nandgaonkar" => 'prit.nandgaonkar@gmail.com' }
8+
spec.social_media_url = "https://twitter.com/prit91"
9+
10+
spec.platform = :ios, "8.0"
11+
spec.requires_arc = true
12+
spec.source = { git: "https://github.com/priteshrnandgaonkar/CardsStack.git", tag: "0.2.1", submodules: true }
13+
spec.source_files = "CardsStack/**/*.{h,swift}"
14+
end

CardsStack.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@
281281
SDKROOT = iphoneos;
282282
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
283283
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
284+
SWIFT_VERSION = 3.0;
284285
TARGETED_DEVICE_FAMILY = "1,2";
285286
VERSIONING_SYSTEM = "apple-generic";
286287
VERSION_INFO_PREFIX = "";
@@ -326,6 +327,7 @@
326327
MTL_ENABLE_DEBUG_INFO = NO;
327328
SDKROOT = iphoneos;
328329
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
330+
SWIFT_VERSION = 3.0;
329331
TARGETED_DEVICE_FAMILY = "1,2";
330332
VALIDATE_PRODUCT = YES;
331333
VERSIONING_SYSTEM = "apple-generic";

Example/CardsStackExample.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@
459459
SDKROOT = iphoneos;
460460
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
461461
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
462+
SWIFT_VERSION = 3.0;
462463
TARGETED_DEVICE_FAMILY = "1,2";
463464
};
464465
name = Debug;
@@ -501,6 +502,7 @@
501502
MTL_ENABLE_DEBUG_INFO = NO;
502503
SDKROOT = iphoneos;
503504
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
505+
SWIFT_VERSION = 3.0;
504506
TARGETED_DEVICE_FAMILY = "1,2";
505507
VALIDATE_PRODUCT = YES;
506508
};

0 commit comments

Comments
 (0)