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

Add the support for watchOS to use View Category method (sd_setImageWithURL:) on WKInterfaceImage #2343

Merged

Conversation

dreampiggy
Copy link
Contributor

New Pull Request Checklist

  • I have read and understood the CONTRIBUTING guide

  • I have read the Documentation

  • I have searched for a similar pull request in the project and found none

  • I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

  • I have added the required tests to prove the fix/feature I am adding

  • I have updated the documentation (if necessary)

  • I have run the tests and they pass

  • I have run the lint and it passes (pod lib lint)

This merge request fixes / reffers to the following issues: #2331 #1070

Pull Request Description

This PR is cherry-picked from the #2331. Which is already been merged in 5.x branch. However, since this feature is not a API-breaking change, and it's not hard to merge to 4.x as well. So I think we can adopt it to 4.x.

And, after some consideration, I suggest that the next version we can upgrade a minor version, to 4.4.0. Why do so, may because next version we contains 3 feature PR (#2308, #2281 and this one), we also change a little behavior from previous version (#2315), and many historical bugfix. Some changes may not so obvious, but may impact the user usage. So I guess a minor upgrade version should be more acceptable to follow sem-version.

@codecov-io
Copy link

Codecov Report

Merging #2343 into master will decrease coverage by 0.21%.
The diff coverage is 86.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2343      +/-   ##
==========================================
- Coverage   75.43%   75.22%   -0.22%     
==========================================
  Files          36       36              
  Lines        3806     3814       +8     
==========================================
- Hits         2871     2869       -2     
- Misses        935      945      +10
Impacted Files Coverage Δ
SDWebImage/UIView+WebCacheOperation.m 70.96% <ø> (ø) ⬆️
SDWebImage/SDWebImageCompat.h 100% <ø> (ø) ⬆️
SDWebImage/UIImageView+WebCache.m 14.49% <ø> (ø) ⬆️
SDWebImage/UIView+WebCache.m 64.39% <86.66%> (+1.44%) ⬆️
SDWebImage/SDWebImageDownloaderOperation.m 84.46% <0%> (-2.92%) ⬇️
SDWebImage/SDWebImageManager.m 73.42% <0%> (-0.46%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dfe0102...799ef18. Read the comment docs.

@dreampiggy
Copy link
Contributor Author

@mythodeia This one again :)

Copy link
Contributor

@mythodeia mythodeia left a comment

Choose a reason for hiding this comment

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

excellent

@dreampiggy dreampiggy merged commit c6bb397 into SDWebImage:master May 31, 2018
@dreampiggy dreampiggy deleted the feature_watchkit_setImage_4.x branch May 31, 2018 09:01
@dreampiggy
Copy link
Contributor Author

dreampiggy commented May 31, 2018

@mythodeia 4.4.0 version released :)

Now...Maybe we can focus on 5.x...I'll start to complete the documents for new features. And hope that @bpoplauschi can come back soon.

@bpoplauschi
Copy link
Member

👍

I am back now, will be picking up the remaining pieces for 5.x.

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

Successfully merging this pull request may close these issues.

None yet

4 participants