Logger for iOS platform which allows you to see/display all print logs on UI component while you are using the app. Cool right?
You can use CocoaPods to install Juno
by adding it to your Podfile
:
platform :ios, '11.0'
use_frameworks!
target 'MyApp' do
pod 'Juno', :git => 'https://github.com/emreond/Juno.git', :tag => '0.0.2'
end
Run pods install
or pods update
to intagrate pods with your project.
Initialize the Juno just before didFinishLaunchWithOptions
function return in AppDelegate and see print your logs with Juno.print()
and see the magic!
How To Use It
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
let bounds = UIScreen.main.bounds
window = UIWindow(frame: bounds)
let mainController = ViewController()
window?.rootViewController = UINavigationController(rootViewController: mainController)
window?.makeKeyAndVisible()
#if DEBUG
Juno()
#endif
return true
}
Run below code to print
Juno.print("Console Log Example")
How To Run Example
Just select JunoExample
scheme and hit run!