UILabel-PinchZoom:UILabel 的简单缩放类别

时间:2021-07-05 13:23:52
【文件属性】:
文件名称:UILabel-PinchZoom:UILabel 的简单缩放类别
文件大小:21KB
文件格式:ZIP
更新时间:2021-07-05 13:23:52
Objective-C UILabel+双指缩放 UILabel 的简单缩放类别。 这显然受到启发,他是该类别的真正作者。 我只是做了一些调整,让它在 UILabel 上工作,还有一个示例程序来展示它如何使用故事板来实现 安装 可可豆 与安装通过添加以下到您的Podfile: platform :ios , '4.3' pod 'UILabel+PinchZoom' , '~> 0.0.2' 注意:我们遵循对公共 API 进行版本控制。 手动 或者将UILabel-PinchZoom/目录从此 repo 复制到您的项目中。 用法 这是您创建它的方式: #import "UILabel+PinchZoom.h" //... UILabel *label = [[UILabel alloc] initWithFrame:self.view.frame]; [self.view addSubview:la
【文件预览】:
UILabel-PinchZoom-master
----UILabel-PinchZoom()
--------UILabel+PinchZoom.h(350B)
--------UILabel+PinchZoom.m(2KB)
----UILabel+PinchZoom.podspec(545B)
----LICENSE.md(1KB)
----.gitignore(213B)
----UILabel-PinchZoomExample()
--------PinchZoom.xcodeproj()
--------PinchZoomTests()
--------PinchZoom()
----README.md(2KB)

网友评论