【文件属性】:
文件名称:UIImageViewAlignedSwift:一个UIImageView子类,即使contentMode为AspectFit,它也可以使图像从左到右对齐。 现在快
文件大小:13KB
文件格式:ZIP
更新时间:2021-05-06 10:42:39
Swift
UIImageViewAlignedSwift
用法
要运行示例项目,请克隆存储库,然后首先从Example目录运行pod install 。
要求
iOS 8.0以上版本,tvOS 9.0以上版本
斯威夫特5.x
安装
可可豆
是Cocoa项目的依赖项管理器。 您可以使用以下命令进行安装:
$ gem install cocoapods
要使用CocoaPods将UIImageViewAlignedSwift集成到您的Xcode项目中,请在您的Podfile指定它:
pod 'UIImageViewAlignedSwift'
然后,运行以下命令:
$ pod install
迦太基
是一个分散的依赖项管理器,可构建您的依赖项并为您提供二进制框架。
您可以使用以下命令将Carthage与一起安装:
$ brew update
$ brew install carthage
【文件预览】:
UIImageViewAlignedSwift-master
----UIImageViewAligned.swift(8KB)
----UIImageViewAlignedSwift.podspec(937B)
----LICENSE(1KB)
----.gitignore(345B)
----README.md(3KB)
----UIImageViewAlignedSwift()
--------UIImageViewAlignedSwift.xcodeproj()
--------UIImageViewAlignedSwift()