PreEmptive Analytics iOS API  2.0
The official iOS API for sending PreEmptive Analytics data.
PAFieldGenerator.h
1 //
2 // PA_GUIDGenerator.h
3 // PreEmptiveAnalyticsClient
4 //
5 // Copyright (c) 2013 PreEmptive Solutions. All rights reserved.
6 //
7 
8 #import <Foundation/Foundation.h>
9 
13 @interface PAFieldGenerator : NSObject
14 
15 
20 +(NSString *) generateGUID;
21 
26 +(NSString *) generateTimeStamp;
27 
33 +(NSDate *) parseDate:(NSString*)date;
34 
40 +(BOOL)validateGUID:(NSString*) aGUID;
41 
42 @end
NSString * generateTimeStamp()
Generates a timestamp for the current time.
A helper class to deal with GUID and timestamps.
NSString * generateGUID()
Generates a valid GUID.