forked from Appboy/appboy-segment-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Wenzhi
committed
Mar 22, 2016
1 parent
08dd8cb
commit 87fd20b
Showing
9 changed files
with
28 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,11 +19,18 @@ - (void)didReceiveMemoryWarning | |
} | ||
|
||
- (IBAction)identifyButtonPress:(id)sender { | ||
NSInteger integerAttribute = 200; | ||
float floatAttribute = 12.3f; | ||
int intAttribute = 18; | ||
short shortAttribute = (short)2; | ||
[[SEGAnalytics sharedAnalytics] identify:@"appboySegementTestUseriOS" | ||
traits:@{ @"email": @"[email protected]", | ||
@"bool" : @(YES), | ||
@"double" : @(3.14159), | ||
@"integer": @(31), | ||
@"intAttribute": @(intAttribute), | ||
@"integerAttribute" : @(integerAttribute), | ||
@"floatAttribute" : @(floatAttribute), | ||
@"shortAttribute" : @(shortAttribute), | ||
@"gender" : @"female", | ||
@"birthday" : [NSDate dateWithTimeIntervalSince1970:564559200], | ||
@"firstName" : @"Appboy", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters