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

Realm of Racket

Realm of Racket

Matthias Felleisen、Conrad Barski M.D.、David Van Horn、Eight Students Northeastern University of / No Starch Press / 2013-6-25 / USD 39.95

Racket is the noble descendant of Lisp, a programming language renowned for its elegance and power. But while Racket retains the functional goodness of Lisp that makes programming purists drool, it wa......一起来看看 《Realm of Racket》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具