Skip to content

Commit 5cb2508

Browse files
committed
Upgraded swift version
1 parent b4ebf0f commit 5cb2508

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

.DS_Store

0 Bytes
Binary file not shown.

Example/.DS_Store

0 Bytes
Binary file not shown.

Example/LanguageManager.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@
375375
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
376376
PRODUCT_NAME = "$(TARGET_NAME)";
377377
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
378-
SWIFT_VERSION = 4.0;
378+
SWIFT_VERSION = 4.2;
379379
};
380380
name = Debug;
381381
};
@@ -390,7 +390,7 @@
390390
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
391391
PRODUCT_NAME = "$(TARGET_NAME)";
392392
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
393-
SWIFT_VERSION = 4.0;
393+
SWIFT_VERSION = 4.2;
394394
};
395395
name = Release;
396396
};

LanguageManager.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'LanguageManager'
11-
s.version = '1.2'
11+
s.version = '1.3'
1212
s.summary = 'Change Language dynamically'
1313

1414
# This description is used to generate tags and improve search results.
@@ -29,7 +29,7 @@ TODO: Add long description of the pod here.
2929
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
3030

3131
s.ios.deployment_target = '8.0'
32-
s.swift_version = '3.0'
32+
s.swift_version = '4.2'
3333
s.source_files = 'LanguageManager/Classes/**/*'
3434

3535
# s.resource_bundles = {

LanguageManager/Classes/InspectableHeader.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
fileprivate var languageDirection = false
1010

11-
extension UIView
11+
public extension UIView
1212
{
13-
@IBInspectable var supportLanguageDirection: Bool
13+
@IBInspectable public var supportLanguageDirection: Bool
1414
{
1515
get
1616
{

0 commit comments

Comments
 (0)