CVLogger 0.4

CVLogger 0.4

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release May 2016

Maintained by Cristian Villaseca.




CVLogger is a tool that shows a button over UIWindow (only DEBUG build). When it pushed will show any log printed by NSLog.

screenshot

Show Appetize.io DEMO

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

In your AppDelegate.h:

#import <CVLogger/CVLogger.h>

@property (strong, nonatomic) CVLogger *cvlogger;

In your AppDelegate.m:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
//UIWindow must not be nil before init CVLogger
#ifdef DEBUG
    self.cvlogger =[[CVLogger alloc] init];
#endif
}

Requirements

CVLogger works on iOS 7+ and requires ARC to build. It depends on the following Apple frameworks, which should already be included with most Xcode templates:

  • Foundation.framework
  • UIKit.framework

You will need the latest developer tools in order to build CVLogger. Old Xcode versions might work, but compatibility will not be explicitly maintained.

Installation

CVLogger is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "CVLogger"

Author

Cristian Villaseca, [email protected]

License

CVLogger is available under the MIT license. See the LICENSE file for more info.