-
Notifications
You must be signed in to change notification settings - Fork 7
[CM-1317] add rendering mode support #60
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… disabled rules for file [UPDATE] add disable rule
35a3773
to
786c0e4
Compare
[UPDATE] added // swiftlint:disable superfluous_disable_command
205c363
to
88122bf
Compare
mpospese
suggested changes
Apr 10, 2023
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.
This Issue is to modify SystemImage
, not ImageAsset
so you modified the wrong protocol. Also, see if you can simply delete the large_tuple
rule to please SwiftLint.
Tests/YCoreUITests/Extensions/Foundation/CGFloat+roundedTests.swift
Outdated
Show resolved
Hide resolved
b5238fb
to
c334375
Compare
mpospese
reviewed
Apr 10, 2023
Tests/YCoreUITests/Extensions/UIKit/UIView+constrainEdgesTests.swift
Outdated
Show resolved
Hide resolved
1f75eb1
to
1556c2a
Compare
mpospese
reviewed
Apr 10, 2023
c0d490e
to
85bbd08
Compare
mpospese
approved these changes
Apr 10, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduction
Expanded the functionality of our system image loading protocol to include rendering mode. Now user can choose between the rendering mode to apply on the image(s).
Purpose
This will let users set the rendering mode on an entire group (enum) of images.
Fix #56
Scope
Updated
ImageAsset
protocol to supportstatic var renderingMode: UIImage.RenderingMode? { get }
. Made modification inloadImage
.Some swiftLint rules are updated in files.
📈 Coverage
Code
100%

Documentation
100%
