Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Update ReactiveSwift to 3.1 and ReactiveCocoa to 7.1 #40

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

james-lukanta-ck
Copy link

@james-lukanta-ck james-lukanta-ck commented Apr 20, 2018

This change is needed to run carthage update ReactiveCollections on projects that use XCode 9.3 / Swift 4.1

@james-lukanta-ck james-lukanta-ck force-pushed the upgradeReactiveCocoaAndSwift branch 2 times, most recently from cee2bdb to ad0fb58 Compare April 20, 2018 13:25
.travis.yml Outdated
before_install:
- brew uninstall carthage
- HOMEBREW_NO_AUTO_UPDATE=1 brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/6ae4f69a652fb0ecb102b0c9216378679a4f1b92/Formula/carthage.rb # 0.22.0
- HOMEBREW_NO_AUTO_UPDATE=1 brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/45dd24d8dfa7a2fb69812c678ceb34be0c16e295/Formula/carthage.rb # 0.29.0
Copy link
Member

Choose a reason for hiding this comment

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

This force upgrade should not be needed anymore. Could you please remove the before_install:?

@james-lukanta-ck
Copy link
Author

@ikesyo Thanks for the feedback. I have incorporated your suggestion. This PR now passes all checks. Do you have any other suggestion? Otherwise, can I please get an approval?

@@ -102,7 +102,7 @@ extension ReactiveArray {
public mutating func replaceSubrange<C>(_ subrange: Range<Int>, with newElements: C) where C: Collection, C.Iterator.Element == Element {
elements.replaceSubrange(subrange, with: newElements)

let elementsCount = Int(newElements.count.toIntMax())
let elementsCount = newElements.count
Copy link
Author

Choose a reason for hiding this comment

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

toIntMax() is deprecated in Swift 4.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants