Skip to content

Instantly share code, notes, and snippets.

@flurrydev
Last active April 19, 2022 22:24
Show Gist options
  • Save flurrydev/425c32284cd58beaca4dd9d7ceca0d13 to your computer and use it in GitHub Desktop.
Save flurrydev/425c32284cd58beaca4dd9d7ceca0d13 to your computer and use it in GitHub Desktop.
let 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