文章来源:淘论文网   发布者: 毕业设计   浏览量: 31



还可以点击去查询以下关键词:
[Swift]    [TinyCon]    [毕业]    [小型]    [日志]    [控制台]    [【Swift】TinyCon毕业sole 小型日志控制台]   

项目介绍:

https://github.com/Cosmo/TinyConsole

TinyConsole

A tiny log console to display information while using your iOS app.
Written in Swift 3.

一个小型日志控制台,论文,可在使用iOS应用程序时显示信息。

Usage

Create a TinyConsoleController-Instance and pass your App-ViewController as a rootViewController parameter.

TinyConsoleController(rootViewController: MyMainViewController())ActionsTinyConsole.shared.print(text: 'hello') TinyConsole.shared.addMarker() TinyConsole.shared.clear()Gestures 操作步骤

Swipe from Left to Right: Add marker
从左到右滑动:“添加标记”

2 Finger Tap: Add custom log entry
2个手指点击:“添加自定义日志条目”

3 Finger Tap: Show Action Sheet to Clear Console and Send Mail
3手指点击:显示操作菜单为`清除控制台'和'发送邮件'

Shake to toggle the console view. If you’re using the Simulator, press ⌃ ctrl-⌘ cmd-z.

Implementation Example

Instead of

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { self.window = UIWindow(frame: UIScreen.main.bounds) self.window?.rootViewController = MainViewController() self.window?.makeKeyAndVisible() return true }

write

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { self.window = UIWindow(frame: UIScreen.main.bounds) self.window?.rootViewController = TinyConsoleController(rootViewController: MainViewController()) self.window?.makeKeyAndVisible() return true }

or checkout the example project included in this repository.

Demo

InstallationCarthage

Add this to your Cartfile:

github 'Cosmo/TinyConsole'Manually

Just drag the source files into your project.

Hierarchy 项目结构层次

Contact

Devran "Cosmo" Uenal

Twitter: @maccosmo

开题报告


这里还有:


还可以点击去查询:
[Swift]    [TinyCon]    [毕业]    [小型]    [日志]    [控制台]    [【Swift】TinyCon毕业sole 小型日志控制台]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/8496.docx
  • 上一篇:PictureHouseKeeper 照片大管家
  • 下一篇:RainyRefreshControl