Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntactical changes to make it Swift 4.2 friendly. #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Example/SelectableView.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@
PROVISIONING_PROFILE_SPECIFIER = "Universal App Development";
SWIFT_OBJC_BRIDGING_HEADER = "SelectableView-Bridging-Header.h";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
};
name = Debug;
};
Expand All @@ -383,7 +383,7 @@
PROVISIONING_PROFILE_SPECIFIER = "Universal App Distribution";
SWIFT_OBJC_BRIDGING_HEADER = "SelectableView-Bridging-Header.h";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
};
name = Release;
};
Expand Down
2 changes: 1 addition & 1 deletion SelectableView/Classes/SelectableTokenScrollView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ open class HorizontalTokenView: UIScrollView {

if let tokenView = selectableView?.tokenView(for: options[index]) {

tokenView.autoresizingMask = UIViewAutoresizing()
tokenView.autoresizingMask = UIView.AutoresizingMask()
addSubview(tokenView)
tokenViews.append(tokenView)
}
Expand Down
2 changes: 1 addition & 1 deletion SelectableView/Classes/SelectableTokenView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ open class VerticalTokenView: UIControl {

if let tokenView = selectableView?.tokenView(for: options[index]) {

tokenView.autoresizingMask = UIViewAutoresizing()
tokenView.autoresizingMask = UIView.AutoresizingMask()
addSubview(tokenView)
tokenViews.append(tokenView)
}
Expand Down