Henry is a Simple Log Monitor Tool for iOS App.
- Logging print output
- iOS 10.0+
- Xcode 9.0+
- Swift 4.0+
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate Henry into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
target '<Your Target Name>' do
use_frameworks!
# Add this line
pod 'Henry', :git => 'https://github.com/watanabetoshinori/Henry.git', :branch => 'master'
end
Then, run the following command:
$ pod install
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate Henry into your Xcode project using Carthage, specify it in your Cartfile
:
github "watanabetoshinori/Henry"
Run carthage update
to build the framework and drag the built Henry.framework
into your Xcode project.
In your AppDelegate:
import Henry
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool {
Henry.enabled()
return true
}
In your ViewController:
Henry.show()
You can see the sample code from the Example directory.
Henry is released under the MIT license. See LICENSE for details.