iOS 模糊和镂空透明层 A-VibrancyView

码农软件 · 软件分类 · 高级UI组件(Advanced) · 2019-07-11 20:43:41

软件介绍

A-VibrancyView 是 iOS 模糊和镂空透明层。示例代码:

vibrancyView.presentEffect() //Dispaly Light blur style with 0.5 second animation
vibrancyView.presentEffect(.Dark, animationDuration: 0) //Dsipaly Dark blur style with no fade aniamtion
vibrancyView.convertAllSubview()  // Convert all subview to cut-out transparent
vibrancyView.recoverAllSubview()  // Recovert all cut-out transparent in this vibrancy view
vibrancyView.alphaOfEffect = 0.1  // Set alpha of blur effect layer

recording demo

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

终极算法

终极算法

[美] 佩德罗·多明戈斯 / 黄芳萍 / 中信出版集团 / 2017-1-1 / 68.00元

算法已在多大程度上影响我们的生活? 购物网站用算法来为你推荐商品,点评网站用算法来帮你选择餐馆,GPS系统用算法来帮你选择最佳路线,公司用算法来选择求职者…… 当机器最终学会如何学习时,将会发生什么? 不同于传统算法,现在悄然主导我们生活的是“能够学习的机器”,它们通过学习我们琐碎的数据,来执行任务;它们甚至在我们还没提出要求,就能完成我们想做的事。 什么是终极算法? ......一起来看看 《终极算法》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具