Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

plangrid/gauges-ios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

gaug.es iOS Wrapper

This is a �very simple wrapper for gaug.es, so you can use it in an iOS mobile application. It doesn't really support anything except for pageviews with a title, but I'll add more things as they're requested!

Installation

Just copy GaugesHelper.h and GaugesHelper.m to your project and include them with Xcode. Then fill in the line:

static NSString * kGaugesSite = @"YOUR_GAUGES_ID";

you can find your ID easily by using the tracking code from the gaug.es website:

t.setAttribute('data-site-id', 'ID');

Usage

To use, include it in a UIViewController's viewWillAppear method:

#import "GaugesHelper.h"

- (void) viewWillAppear:(BOOL)animated
{
    [GaugesHelper addView:@"Foo"];   
}

Feel free to email me with any questions! [email protected]

About

A simple gaug.es wrapper for iOS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published