SASecretCommandViewController

码农软件 · 软件分类 · 其他(Others) · 2019-07-21 09:44:16

软件介绍

SASecretCommandViewController 是使用 Swift 所写,通过手势的拨动和按钮来激活。手指按钮的隐藏指令可以自定义。感觉就是有点开启秘籍那样,比较有趣。拨动的时候视图中会出现方向指示。 [Code4App.com]

示例:

class ViewController: SASecretCommandViewController {
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
        // Register secret command with SASecretCommandType
        let commandList: [SASecretCommandType] = [
            .Up,
            .Up,
            .Down,
            .Down,
            .Left,
            .Right,
            .Left,
            .Right,
            .B,
            .A
        ]
        self.registerSecretCommand(commandList)
        //Show inpunt command as icon
        self.showInputCommand = true
    }
}


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

高性能HTML5

高性能HTML5

Jay Bryant、Mike Jones / 奇舞团 / 电子工业出版社 / 2014-5

《高性能html5》为读者讲解了如何用html5 从一开始就设计一个高性能的网站,以及如何对已有网站进行改良,使得它们具备优越的性能。《高性能html5》中总结了许多实践经验、关键技巧,并提供了丰富的示例,作者有意无意地将软件工程以及前端开发技术之道隐藏于朴实的描述中。 通过学习《高性能html5》,读者能够掌握如何创建自己的高性能网站。《高性能html5》适合于想创建自己网站的初学者,同样......一起来看看 《高性能HTML5》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

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

RGB CMYK 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具