Coach marks
&
Google analytics
Coach marks
Quartz 2D
1. It is a two dimensional graphics drawing engine that makes up the bulk of the UIKIT Core Graphics Framework.
2. It is a C based application programming interface (API).
3. Quartz 2D drawing typically takes place on a UIView Object.
4. Drawing is achieved by subclassing the UIView class, implementing the drawRect method and placing within that method the Quartz 2D API calls to draw the graphics.
Google analytics
Introduction
Requirements
There are 3 steps to perform this operation,
1. Add headers and libraries to your project.
2. Initialize the tracker.
3. Add screen measurement.
1. Adding header files and configuring your project
- GAI.h
- GAITracker.h
- GAITrackedViewController.h
- GAITransaction.h
- GAITransactionItem.h
- libGoogleAnalytics.a
- libGoogleAnalytics.a
- CoreData.framework
- SystemConfiguration.framework
2. Initalizing the tracker
Import GAI.h into delegate.m file and this code to application:didFinishLaunchingWithOptions: method
[GAI sharedInstance].trackUncaughtExceptions = YES;
[GAI sharedInstance].dispatchInterval = 120;
[GAI sharedInstance].debug = YES;
id<GAITracker> tracker=[[GAI sharedInstance] trackerWithTrackingId:@"ID"];
3. Implementing Screen Measurement
To automatically measure views in app , make your view controller extend GAITrackedViewController which extends UIViewController.
Add this line of code in viewDidLoad method
-(void)viewDidLoad {
[super viewDidLoad];
self.trackedViewName=@"Screen Name";
}
Thank You
coach marks and google analytics
By Torry Harris Business Solutions
coach marks and google analytics
- 1,957