StanKit 0.2

StanKit 0.2

LangLanguage Obj-CObjective C
License Apache 2
ReleasedLast Release Dec 2015

Maintained by Unclaimed.

  • By
  • Thijs Scheepers

iOS library with various extensions on the default iOS SDK, used at Label305 for app development.


  • An easy logger to log to remote services like Crashlytics.
  • Google Analytics event and screen API
  • Block methods for UIResponder, UIAlertView and UIGestureRecognizer.
  • Runscope category for NSURL.
  • NSObject selector swizzle methods.


#import <StanKit/StanKit.h>
#import <StanKit/Analytics.h>
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    SKLoggerMode loggerMode = SKLoggerModeRelease;
#ifdef DEBUG
    loggerMode = SKLoggerModeDebug;
#ifdef TESTING
    loggerMode = SKLoggerModeTesting;

    [SKLogger setupWithMode:loggerMode crashlyticsAPIKey:@"abcdefghijk"];
    [SKAnalytics setupGoogleAnalyticsWithTrackingId:@"UA-xxx-1"];

// Log to the console, Crashlytics according to the SKLoggerMode
SKLog(@"Send a log message crashlytics");
// Send screen / event to Google Analytics. Also sends a Checkpoint to Crashlytics.
[[SKAnalytics sharedInstance] trackEventWithCategory:@"Account" action:@"Login" label:nil value:nil];
[[SKAnalytics sharedInstance] trackScreenWithName:@"Start_Screen"];


Copyright 2014 Label305 B.V.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.