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

Updated RxSwift to 6.0 and ios.deployment_target #102

Merged
merged 13 commits into from
Jan 11, 2021
Merged

Conversation

Loupehope
Copy link
Contributor

@Loupehope Loupehope commented Jan 3, 2021

Updated:

  • RxSwift to 6.0
  • ios.deployment_target to 9.0
  • Update code with new RxSwift Features

@freak4pc
Copy link
Member

freak4pc commented Jan 3, 2021

@jdisho you're listed as the current owner on the project, care to review and cut a new release?

Thanks @Loupehope !

@freak4pc freak4pc requested a review from jdisho January 3, 2021 09:30
Copy link

@jdisho jdisho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your work @Loupehope 😊

However, this PR contains work that IMO it should be addressed in separate PRs. I would appreciate if you can leave only the work about RxSwift 6.0 here and open new PRs about the code indentation part and the #98.

@Loupehope
Copy link
Contributor Author

@jdisho thanks for review!

I returned the changes related to indentation and #98.

let keyboardWillHide = UIResponder.keyboardWillHideNotification
let keyboardFrameEndKey = UIResponder.keyboardFrameEndUserInfoKey
let applicationDidFinishLaunching = UIApplication.didFinishLaunchingNotification
#else
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change intentional? Why should we drop support for versions lower than 4.2?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In .podspec and package.swift files swift 5.0 is listed as minimal supported version, isn't it?

@jdisho
Copy link

jdisho commented Jan 5, 2021

The CI keeps failing. Mind having a look? 😊

@Loupehope
Copy link
Contributor Author

The CI keeps failing. Mind having a look?

Well, I tried to fix the crash on CI:
Screenshot 2021-01-05 at 17 08 39
But I have no idea what's wrong :( I tried running these commands locally and everything resolves fine.

s.summary = 'Reactive Keyboard in iOS'
s.homepage = 'https://github.com/RxSwiftCommunity/RxKeyboard'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Suyeol Jeon' => '[email protected]' }
s.source = { :git => 'https://github.com/RxSwiftCommunity/RxKeyboard.git',
:tag => s.version.to_s }
s.source_files = 'Sources/**/*.swift'
s.frameworks = 'UIKit', 'Foundation'
s.frameworks = 'UIKit'
s.requires_arc = true
s.swift_version = "5.0"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since RxSwift's Swift version is 5.1, I think this needs to reflected too.

@jdisho
Copy link

jdisho commented Jan 7, 2021

We would appreciate your help @freak4pc regarding the CI 😊

@Loupehope
Copy link
Contributor Author

We would appreciate your help @freak4pc regarding the CI

@jdisho I fixed the travis.yml file and increased the swift version to 5.1. It looks like all the checks passed!

Copy link

@jdisho jdisho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thank you

@Loupehope Loupehope merged commit 085fd99 into master Jan 11, 2021
@Loupehope Loupehope deleted the feature/rxswift_6 branch January 11, 2021 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants