Last active
April 22, 2020 21:38
-
-
Save flurrydev/b804d8ae8f76864d8b79248f57f3a9ef to your computer and use it in GitHub Desktop.
iOS User Properties
This file contains hidden or 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
NSArray *array = @[@"value1", @"value2", @"value3"]; | |
//Sets and replaces (if any exist) the values for a property. | |
[FlurryUserProperties set:@"key" Values: array]; | |
[FlurryUserProperties set:@"key" Value: @"string"]; | |
//Adds the values or single value to the property. | |
[FlurryUserProperties add:@"key" Values: array]; | |
[FlurryUserProperties add:@"key" Value: @"string"]; | |
//Removes the values or single value from the property | |
[FlurryUserProperties remove:@"key" Values: array]; | |
[FlurryUserProperties remove:@"key" Value: @"string"]; | |
//Removes all values from the property | |
[FlurryUserProperties remove:@"key"]; | |
//Sets key to true | |
[FlurryUserProperties flag:@"key"]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment