Reveal Swift3.0使用
2017-11-04 本文已影响0人
wangtieshan
swift 3.0 使用reveal命令行命令
command alias swift_reveal_load_sim expr dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/libReveal.dylib", 2)
command alias swift_reveal_load_dev expr dlopen(Bundle.main.path(forResource: "libReveal", ofType: "dylib")!, 2)
command alias swift_reveal_start expr NotificationCenter.default.post(name: NSNotification.Name(rawValue: "IBARevealRequestStart"), object: nil)
command alias swift_reveal_stop expr NotificationCenter.default.post(name: NSNotification.Name(rawValue: "IBARevealRequestStop"), object: nil)