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
Convert to Swift4.2 syntax & Xcode10 project. #24
Conversation
…arnings_about_syntax
<layoutGuides> | ||
<viewControllerLayoutGuide type="top" id="jyV-Pf-zRb"/> | ||
<viewControllerLayoutGuide type="bottom" id="2fi-mo-0CV"/> | ||
</layoutGuides> | ||
<view key="view" contentMode="scaleToFill" id="kh9-bI-dsS"> | ||
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/> | ||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, sorry... Main.storyboard
changes is not required.
I will revert any Main.storyboard
changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed e01ab3b.
</dependencies> | ||
<scenes> | ||
<!--View Controller--> | ||
<scene sceneID="ufC-wZ-h7g"> | ||
<objects> | ||
<viewController id="vXZ-lx-hvc" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController"> | ||
<viewController id="vXZ-lx-hvc" customClass="ViewController" customModule="FlexibleSteppedProgressBar_Example" customModuleProvider="target" sceneMemberID="viewController"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this change required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed e01ab3b.
Can you please fix the circle ci failures also by modifying the circleci config file? |
@amratab |
I found this master branch is behind in the latest version.
So I convert Swift4.2 syntax & adopt to Xcode10 or above.
Examples:
UIApplicationLaunchOptionsKey
→UIApplication.LaunchOptionsKey
UIViewContentMode.redraw
→UIView.ContentMode.redraw
NSAttributedStringKey
→NSAttributedString.Key
kCAMediaTimingFunctionEaseInEaseOut
→AMediaTimingFunctionName.easeInEaseOut
UIGestureRecognizerState.ended
→UIGestureRecognizer.State.ended
Thanks.