iOS 放大镜 YPMagnifyingGlass

码农软件 · 软件分类 · 图像(Image) · 2019-05-29 22:42:59

软件介绍

YPMagnifyingGlass 是用 Swift 写成的 ACMagnifyingGlass 的端口,一个类似 iOS note 应用的放大镜。

使用示例:

选择你要放大的视图,并将其嵌入另一种视图。设置视图的类到 YPMagnifyingGlass,并连接它到你的 UIViewController (或者其它)的 IBOutlet 属性。在这个例子中,你调用的连接视图是 magnifyingView

然后在你的代码中加入:

var mag = YPMagnifyingGlass(frame:CGRectMake(magnifyingView.frame.origin.x, magnifyingView.frame.origin.y,100,100))
mag.scale = 2
self.magnifyingView.magnifyingGlass = mag

Screen_shot_2015-06-05_at_19.55.20

本文地址:https://codercto.com/soft/d/6839.html

Pro Git (Second Edition)

Pro Git (Second Edition)

Scott Chacon、Ben Straub / Apress / 2014-11-9 / USD 59.99

Scott Chacon is a cofounder and the CIO of GitHub and is also the maintainer of the Git homepage ( git-scm.com ) . Scott has presented at dozens of conferences around the world on Git, GitHub and the ......一起来看看 《Pro Git (Second Edition)》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

html转js在线工具
html转js在线工具

html转js在线工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换