-
Notifications
You must be signed in to change notification settings - Fork 90
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
Embedding third-party dependencies #379
Conversation
Generated by 🚫 Danger |
} | ||
doubleTapCancellable = doubleTap.sink { [unowned self] in handleDoubleTap() } | ||
} as! any Cancellable // FIXME | ||
doubleTapCancellable = doubleTap.sink { [unowned self] in handleDoubleTap() } as! any Cancellable // FIXME | ||
} | ||
|
||
func update(content: Content, doubleTap: AnyPublisher<Void, Never>) { | ||
coordinator.hostingController.rootView = content | ||
scrollView.setNeedsUpdateConstraints() | ||
doubleTapCancellable = doubleTap.sink { [unowned self] in handleDoubleTap() } | ||
doubleTapCancellable = doubleTap.sink { [unowned self] in handleDoubleTap() } as! any Cancellable // FIXME |
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.
@martinmitrevski, could you please take a look at what went wrong here?
2c64599
to
1ebe09b
Compare
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.
LGTM ✅
CHANGELOG.md
Outdated
@@ -3,6 +3,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | |||
|
|||
# Upcoming | |||
|
|||
### ⚠️ Important | |||
|
|||
- Dependencies are no longer exposed (this includes Nuke and SwiftyGif). If you were using those dependencies we were exposing, you would need to import them manually. |
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.
Maybe also add that they should "Reset package caches" after integrating? I had issues until I did that.
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.
Done 👍
], | ||
targets: [ | ||
.target( | ||
name: "StreamChatSwiftUI", | ||
dependencies: [.product(name: "StreamChat", package: "stream-chat-swift"), "Nuke", .product(name: "NukeUI", package: "Nuke")], |
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 still see Difference, Swifter and the tools. Can we also get rid of those? (not in this PR)
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.
Those come from StreamChat. They will be gone as soon as #376 is merged
SonarCloud Quality Gate failed. 0 Bugs 26.9% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
🔗 Issue Link
Resolve https://github.com/GetStream/ios-issues-tracking/issues/601
🎯 Goal
Embed third-party dependencies
🧪 Testing
☑️ Checklist