mirror of
https://github.com/material-components/material-components-ios.git
synced 2026-02-05 03:58:56 +08:00
Summary: The rendering mode is lost when an image is flipped with -[UIImage imageWithCGImage:scale:orientation:]. When that would happen, actually render the image with it's orientation and scale, port the template mode, and return that copy. Closes https://github.com/google/material-components-ios/issues/592. Test Plan: Check that back arrow in Catalog is correctly flipped relative to the layout direction. Reviewers: randallli, O1 Material components iOS, iangordon Reviewed By: randallli, O1 Material components iOS, iangordon Tags: #material_components_ios Differential Revision: http://codereview.cc/D1034
15 lines
742 B
Ruby
15 lines
742 B
Ruby
Pod::Spec.new do |s|
|
|
s.name = "MaterialComponentsUnitTests"
|
|
s.version = "11.0.1"
|
|
s.authors = { 'Apple platform engineering at Google' => 'appleplatforms@google.com' }
|
|
s.summary = "A collection of stand-alone production-ready UI libraries focused on design details."
|
|
s.homepage = "https://github.com/google/material-components-ios"
|
|
s.license = 'Apache 2.0'
|
|
s.source = { :git => "https://github.com/google/material-components-ios.git", :tag => s.version.to_s }
|
|
s.platform = :ios, '7.0'
|
|
s.requires_arc = true
|
|
s.source_files = 'components/*/tests/unit/*.{h,m,swift}', 'components/private/*/tests/unit/*.{h,m,swift}'
|
|
s.framework = 'XCTest'
|
|
s.dependency 'MaterialComponents'
|
|
end
|