diff --git a/docs/Classes.html b/docs/Classes.html index 85428e55..a0238171 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -17,7 +17,7 @@
-

Mixpanel 4.2.0 Docs (0% documented)

+

Mixpanel 4.2.1 Docs (84% documented)

GitHubView on GitHub

@@ -118,7 +118,7 @@ Type Aliases @@ -137,9 +137,9 @@

Classes

  • - + - Group + Group
    @@ -152,15 +152,23 @@

    Classes

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    open class Group
    + +
    +
  • - + - Mixpanel + Mixpanel
    @@ -172,15 +180,23 @@

    Classes

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    open class Mixpanel
    + +
    +
  • - + - MixpanelInstance + MixpanelInstance
    @@ -192,15 +208,23 @@

    Classes

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    open class MixpanelInstance : CustomDebugStringConvertible, FlushDelegate, AEDelegate
    + +
    +
  • - + - People + People
    @@ -213,6 +237,14 @@

    Classes

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    open class People
    + +
    +
  • @@ -221,7 +253,7 @@

    Classes

    diff --git a/docs/Classes/Group.html b/docs/Classes/Group.html index f267f6f7..c723b56a 100644 --- a/docs/Classes/Group.html +++ b/docs/Classes/Group.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    Group

    +
    +
    + +
    open class Group
    + +
    +

    Access to the Mixpanel Groups API, available through the getGroup function from the main Mixpanel instance.

    @@ -147,9 +154,9 @@

    Group
  • @@ -165,15 +172,42 @@

    Group value is overwritten. Other existing properties will not be affected.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func set(properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    properties dictionary

    +
    +
    +
  • - + - set(property:to:) + set(property:to:)
    @@ -187,15 +221,54 @@

    Group MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func set(property: String, to: MixpanelType)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + property + + +
    +

    property name

    +
    +
    + + to + + +
    +

    property value

    +
    +
    +
  • - + - setOnce(properties:) + setOnce(properties:)
    @@ -211,15 +284,42 @@

    Group data about dates representing the first time something happened.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func setOnce(properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    properties dictionary

    +
    +
    +
  • - + - unset(property:) + unset(property:)
    @@ -232,15 +332,42 @@

    Group

    For properties that don’t exist there will be no effect.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func unset(property: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + property + + +
    +

    name of the property to unset

    +
    +
    +
  • - + - remove(key:value:) + remove(key:value:)
    @@ -254,15 +381,42 @@

    Group MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func remove(key: String, value: MixpanelType)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    mapping of list property names to values to remove

    +
    +
    +
  • - + - union(key:values:) + union(key:values:)
    @@ -275,15 +429,42 @@

    Group

    Property values must be array objects.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func union(key: String, values: [MixpanelType])
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    mapping of list property names to lists to union

    +
    +
    +
  • - + - deleteGroup() + deleteGroup()
    @@ -294,6 +475,14 @@

    Group

    Delete group’s record from Mixpanel Groups.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func deleteGroup()
    + +
    +
  • @@ -302,7 +491,7 @@

    Group diff --git a/docs/Classes/Mixpanel.html b/docs/Classes/Mixpanel.html index 42089c2e..d01ea85a 100644 --- a/docs/Classes/Mixpanel.html +++ b/docs/Classes/Mixpanel.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    Mixpanel

    +
    +
    + +
    open class Mixpanel
    + +
    +

    The primary class for integrating Mixpanel with your app.

    @@ -137,9 +144,9 @@

    Mixpanel

  • @@ -160,6 +167,131 @@

    Mixpanel

  • +
    +

    Declaration

    +
    +

    Swift

    +
    @discardableResult
    +open class func initialize(token apiToken: String,
    +                           trackAutomaticEvents: Bool,
    +                           flushInterval: Double = 60,
    +                           instanceName: String? = nil,
    +                           optOutTrackingByDefault: Bool = false,
    +                           useUniqueDistinctId: Bool = false,
    +                           superProperties: Properties? = nil,
    +                           serverURL: String? = nil) -> MixpanelInstance
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + token + + +
    +

    your project token

    +
    +
    + + trackAutomaticEvents + + +
    +

    Whether or not to collect common mobile events

    +
    +
    + + flushInterval + + +
    +

    Optional. Interval to run background flushing

    +
    +
    + + instanceName + + +
    +

    Optional. The name you want to uniquely identify the Mixpanel Instance. +It is useful when you want more than one Mixpanel instance under the same project token.

    +
    +
    + + optOutTrackingByDefault + + +
    +

    Optional. Whether or not to be opted out from tracking by default

    +
    +
    + + useUniqueDistinctId + + +
    +

    Optional. whether or not to use the unique device identifier as the distinct_id

    +
    +
    + + superProperties + + +
    +

    Optional. Super properties dictionary to register during initialization

    +
    +
    + + serverURL + + +
    +

    Optional. Mixpanel cluster URL

    +
    +
    +
    +
    +

    Return Value

    +

    returns a mixpanel instance if needed to keep throughout the project. +You can always get the instance by calling getInstance(name)

    +
    @@ -195,9 +327,9 @@

    Mixpanel

  • @@ -208,15 +340,46 @@

    Mixpanel

    Gets the mixpanel instance with the given name

    +
    +

    Declaration

    +
    +

    Swift

    +
    open class func getInstance(name: String) -> MixpanelInstance?
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + name + + +
    +

    the instance name

    +
    +
    +
    +
    +

    Return Value

    +

    returns the mixpanel instance

    +
  • @@ -229,15 +392,27 @@

    Mixpanel

    If not specified explicitly, the main instance is always the last instance added

    +
    +

    Declaration

    +
    +

    Swift

    +
    open class func mainInstance() -> MixpanelInstance
    + +
    +
    +
    +

    Return Value

    +

    returns the main Mixpanel instance

    +
  • @@ -248,15 +423,42 @@

    Mixpanel

    Sets the main instance based on the instance name

    +
    +

    Declaration

    +
    +

    Swift

    +
    open class func setMainInstance(name: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + name + + +
    +

    the instance name

    +
    +
    +
  • @@ -267,6 +469,33 @@

    Mixpanel

    Removes an unneeded Mixpanel instance based on its name

    +
    +

    Declaration

    +
    +

    Swift

    +
    open class func removeInstance(name: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + name + + +
    +

    the instance name

    +
    +
    +
  • @@ -275,7 +504,7 @@

    Mixpanel

    diff --git a/docs/Classes/MixpanelInstance.html b/docs/Classes/MixpanelInstance.html index ff5c9dbe..0849a60e 100644 --- a/docs/Classes/MixpanelInstance.html +++ b/docs/Classes/MixpanelInstance.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    MixpanelInstance

    +
    +
    + +
    open class MixpanelInstance : CustomDebugStringConvertible, FlushDelegate, AEDelegate
    + +
    +

    The class that represents the Mixpanel Instance

    @@ -137,9 +144,9 @@

    MixpanelInstance

  • - + - apiToken + apiToken
    @@ -150,15 +157,23 @@

    MixpanelInstance

    apiToken string that identifies the project to track data to

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var apiToken: String
    + +
    +
  • - + - delegate + delegate
    @@ -169,15 +184,23 @@

    MixpanelInstance

    The a MixpanelDelegate object that gives control over Mixpanel network activity.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open weak var delegate: MixpanelDelegate?
    + +
    +
  • @@ -188,15 +211,23 @@

    MixpanelInstance

    distinctId string that uniquely identifies the current user.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var distinctId: String
    + +
    +
  • @@ -207,15 +238,23 @@

    MixpanelInstance

    anonymousId string that uniquely identifies the device.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var anonymousId: String?
    + +
    +
  • - + - userId + userId
    @@ -226,15 +265,23 @@

    MixpanelInstance

    userId string that identify is called with.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var userId: String?
    + +
    +
  • @@ -246,15 +293,23 @@

    MixpanelInstance

    already exists in persistence

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var hadPersistedDistinctId: Bool?
    + +
    +
  • - + - alias + alias
    @@ -265,15 +320,23 @@

    MixpanelInstance

    alias string that uniquely identifies the current user.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var alias: String?
    + +
    +
  • - + - people + people
    @@ -284,15 +347,23 @@

    MixpanelInstance

    Accessor to the Mixpanel People API object.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var people: People!
    + +
    +
  • @@ -304,15 +375,23 @@

    MixpanelInstance

    data to the Mixpanel servers. Defaults to true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var showNetworkActivityIndicator: Bool
    + +
    +
  • @@ -323,15 +402,23 @@

    MixpanelInstance

    This allows enabling or disabling collecting common mobile events,

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var trackAutomaticEventsEnabled: Bool
    + +
    +
  • @@ -344,15 +431,23 @@

    MixpanelInstance

    to upload queued data to the Mixpanel server.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var flushInterval: Double { get set }
    + +
    +
  • @@ -364,15 +459,23 @@

    MixpanelInstance

    enters the background. Defaults to true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var flushOnBackground: Bool { get set }
    + +
    +
  • @@ -385,15 +488,23 @@

    MixpanelInstance

    Defaults to true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var useIPAddressForGeoLocation: Bool { get set }
    + +
    +
  • @@ -406,15 +517,23 @@

    MixpanelInstance

    and the server. The maximum size is 50; any value over 50 will default to 50.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var flushBatchSize: Int { get set }
    + +
    +
  • @@ -427,15 +546,23 @@

    MixpanelInstance

    https://api.mixpanel.com.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var serverURL: String { get set }
    + +
    +
  • @@ -445,15 +572,23 @@

    MixpanelInstance

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var debugDescription: String { get }
    + +
    +
  • @@ -470,15 +605,23 @@

    MixpanelInstance

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var loggingEnabled: Bool { get set }
    + +
    +
  • - + - name + name
    @@ -489,15 +632,23 @@

    MixpanelInstance

    A unique identifier for this MixpanelInstance

    +
    +

    Declaration

    +
    +

    Swift

    +
    public let name: String
    + +
    +
  • @@ -505,19 +656,26 @@

    MixpanelInstance

    -

    The minimum session duration (ms) that is tracked in automatic events. -The default value is 10000 (10 seconds).

    +

    Undocumented

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var minimumSessionDuration: UInt64 { get set }
    + +
    +
  • @@ -529,6 +687,14 @@

    MixpanelInstance

    The default value is UINT64_MAX (no maximum session duration).

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var maximumSessionDuration: UInt64 { get set }
    + +
    +
  • @@ -548,9 +714,9 @@

    Identity
  • @@ -581,15 +747,67 @@

    Identity mixpanelInstance.identify(mixpanelInstance.distinctId).

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func identify(distinctId: String, usePeople: Bool = true, completion: (() -> Void)? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + distinctId + + +
    +

    string that uniquely identifies the current user

    +
    +
    + + usePeople + + +
    +

    boolean that controls whether or not to set the people distinctId to the event distinctId. +This should only be set to false if you wish to prevent people profile updates for that user.

    +
    +
    + + completion + + +
    +

    an optional completion handler for when the identify has completed.

    +
    +
    +
  • @@ -610,15 +828,92 @@

    Identity

    mixpanelInstance.createAlias("Newer ID", distinctId: mixpanelInstance.distinctId)

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func createAlias(_ alias: String, distinctId: String, usePeople: Bool = true, andIdentify: Bool = true, completion: (() -> Void)? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + alias + + +
    +

    A unique identifier that you want to use as an identifier for this user.

    +
    +
    + + distinctId + + +
    +

    The current user identifier.

    +
    +
    + + usePeople + + +
    +

    boolean that controls whether or not to set the people distinctId to the event distinctId.

    +
    +
    + + andIdentify + + +
    +

    an optional boolean that controls whether or not to call ‘identify’ with your current +user identifier(not alias). Default to true for keeping your signup funnels working correctly in most cases.

    +
    +
    + + completion + + +
    +

    an optional completion handler for when the createAlias has completed. +This should only be set to false if you wish to prevent people profile updates for that user.

    +
    +
    +
  • @@ -630,6 +925,33 @@

    Identity Useful if your app’s user logs out.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func reset(completion: (() -> Void)? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + completion + + +
    +

    an optional completion handler for when the reset has completed.

    +
    +
    +
  • @@ -649,9 +971,9 @@

    Persistence
  • @@ -659,7 +981,16 @@

    Persistence
    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func archive()
    + +

    @@ -680,9 +1011,9 @@

    Flush
  • @@ -693,11 +1024,50 @@

    Flush

    Uploads queued data to the Mixpanel server.

    By default, queued data is flushed to the Mixpanel servers every minute (the -default for flushInterval), and on background (since -flushOnBackground is on by default). You only need to call this +default for flushInterval), and on background (since +flushOnBackground is on by default). You only need to call this method manually if you want to force a flush at a particular moment.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func flush(performFullFlush: Bool = false, completion: (() -> Void)? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + performFullFlush + + +
    +

    A optional boolean value indicating whether a full flush should be performed. If true, a full flush will be triggered, sending all events to the server. Default to false, a partial flush will be executed for reducing memory footprint.

    +
    +
    + + completion + + +
    +

    an optional completion handler for when the flush has completed.

    +
    +
    +
  • @@ -717,9 +1087,9 @@

    Track
  • @@ -736,15 +1106,54 @@

    Track If the event is being timed, the timer will stop and be added as a property.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func track(event: String?, properties: Properties? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + event + + +
    +

    event name

    +
    +
    + + properties + + +
    +

    properties dictionary

    +
    +
    +
  • @@ -761,15 +1170,66 @@

    Track If the event is being timed, the timer will stop and be added as a property.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func trackWithGroups(event: String?, properties: Properties? = nil, groups: Properties?)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + event + + +
    +

    event name

    +
    +
    + + properties + + +
    +

    properties dictionary

    +
    +
    + + groups + + +
    +

    groups dictionary

    +
    +
    +
  • @@ -777,7 +1237,16 @@

    Track
    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getGroup(groupKey: String, groupID: MixpanelType) -> Group
    + +

    @@ -785,9 +1254,9 @@

    Track
  • @@ -816,15 +1285,42 @@

    Track

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func time(event: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + event + + +
    +

    the event name to be timed

    +
    +
    +
  • @@ -835,15 +1331,42 @@

    Track

    Retrieves the time elapsed for the named event since time(event:) was called.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func eventElapsedTime(event: String) -> Double
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + event + + +
    +

    the name of the event to be tracked that was passed to time(event:)

    +
    +
    +
  • @@ -854,15 +1377,23 @@

    Track

    Clears all current event timers.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func clearTimedEvents()
    + +
    +
  • @@ -873,15 +1404,42 @@

    Track

    Clears the event timer for the named event.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func clearTimedEvent(event: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + event + + +
    +

    the name of the event to clear the timer for

    +
    +
    +
  • @@ -892,15 +1450,27 @@

    Track

    Returns the currently set super properties.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func currentSuperProperties() -> [String : Any]
    + +
    +
    +
    +

    Return Value

    +

    the current super properties

    +
  • @@ -911,15 +1481,23 @@

    Track

    Clears all currently set super properties.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func clearSuperProperties()
    + +
    +
  • @@ -936,15 +1514,42 @@

    Track MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func registerSuperProperties(_ properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    properties dictionary

    +
    +
    +
  • @@ -959,15 +1564,55 @@

    Track MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func registerSuperPropertiesOnce(_ properties: Properties,
    +                                      defaultValue: MixpanelType? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + properties + + +
    +

    properties dictionary

    +
    +
    + + defaultValue + + +
    +

    Optional. overwrite existing properties that have this value

    +
    +
    +
  • @@ -986,15 +1631,42 @@

    Track registered.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func unregisterSuperProperty(_ propertyName: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + propertyName + + +
    +

    array of property name strings to remove

    +
    +
    +
  • @@ -1005,15 +1677,54 @@

    Track

    Convenience method to set a single group the user belongs to.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func setGroup(groupKey: String, groupID: MixpanelType)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + groupKey + + +
    +

    The property name associated with this group type (must already have been set up).

    +
    +
    + + groupID + + +
    +

    The group the user belongs to.

    +
    +
    +
  • @@ -1024,15 +1735,54 @@

    Track

    Set the groups this user belongs to.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func setGroup(groupKey: String, groupIDs: [MixpanelType])
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + groupKey + + +
    +

    The property name associated with this group type (must already have been set up).

    +
    +
    + + groupIDs + + +
    +

    The list of groups the user belongs to.

    +
    +
    +
  • @@ -1043,15 +1793,54 @@

    Track

    Add a group to this user’s membership for a particular group key

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func addGroup(groupKey: String, groupID: MixpanelType)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + groupKey + + +
    +

    The property name associated with this group type (must already have been set up).

    +
    +
    + + groupID + + +
    +

    The new group the user belongs to.

    +
    +
    +
  • @@ -1062,15 +1851,54 @@

    Track

    Remove a group from this user’s membership for a particular group key

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func removeGroup(groupKey: String, groupID: MixpanelType)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + groupKey + + +
    +

    The property name associated with this group type (must already have been set up).

    +
    +
    + + groupID + + +
    +

    The group value to remove.

    +
    +
    +
  • @@ -1084,15 +1912,23 @@

    Track to be sent back to the Mixpanel server.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func optOutTracking()
    + +
    +
  • @@ -1108,15 +1944,55 @@

    Track

    This method will internally track an opt in event to your project.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func optInTracking(distinctId: String? = nil, properties: Properties? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + distintId + + +
    +

    an optional string to use as the distinct ID for events

    +
    +
    + + properties + + +
    +

    an optional properties dictionary that could be passed to add properties to the opt-in event +that is sent to Mixpanel

    +
    +
    +
  • @@ -1127,6 +2003,18 @@

    Track

    Returns if the current user has opted out tracking.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func hasOptedOutTracking() -> Bool
    + +
    +
    +
    +

    Return Value

    +

    the current super opted out tracking status

    +
  • @@ -1135,7 +2023,7 @@

    Track diff --git a/docs/Classes/People.html b/docs/Classes/People.html index 52246f6e..43edd351 100644 --- a/docs/Classes/People.html +++ b/docs/Classes/People.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases

  • @@ -128,6 +128,13 @@

    People

    +
    +
    + +
    open class People
    + +
    +

    Access to the Mixpanel People API, available as an accessible variable from the main Mixpanel instance.

    @@ -138,9 +145,9 @@

    People

  • @@ -155,6 +162,14 @@

    People

    current time for all $set, $append, and $add operations

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var ignoreTime: Bool
    + +
    +
  • @@ -174,9 +189,9 @@

    People
  • @@ -200,15 +215,42 @@

    People

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func set(properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    properties dictionary

    +
    +
    +
  • @@ -222,15 +264,54 @@

    People MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func set(property: String, to: MixpanelType)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + property + + +
    +

    property name

    +
    +
    + + to + + +
    +

    property value

    +
    +
    +
  • @@ -247,15 +328,42 @@

    People representing the first time something happened.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func setOnce(properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    properties dictionary

    +
    +
    +
  • @@ -270,15 +378,42 @@

    People that don’t exist there will be no effect.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func unset(properties: [String])
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    properties array

    +
    +
    +
  • @@ -293,15 +428,42 @@

    People will be set to the increment amount. Property values must be number objects.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func increment(properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    properties array

    +
    +
    +
  • @@ -313,15 +475,54 @@

    People amount.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func increment(property: String, by: Double)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + property + + +
    +

    property name

    +
    +
    + + by + + +
    +

    amount to increment by

    +
    +
    +
  • @@ -335,15 +536,42 @@

    People MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func append(properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    mapping of list property names to values to append

    +
    +
    +
  • @@ -357,15 +585,42 @@

    People MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func remove(properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    mapping of list property names to values to remove

    +
    +
    +
  • @@ -378,15 +633,42 @@

    People

    Property values must be array objects.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func union(properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    mapping of list property names to lists to union

    +
    +
    +
  • @@ -402,15 +684,54 @@

    People revenue analytics to see which products are generating the most revenue.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func trackCharge(amount: Double, properties: Properties? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + amount + + +
    +

    amount of revenue received

    +
    +
    + + properties + + +
    +

    Optional. properties dictionary

    +
    +
    +
  • @@ -421,15 +742,23 @@

    People

    Delete current user’s revenue history.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func clearCharges()
    + +
    +
  • @@ -440,6 +769,14 @@

    People

    Delete current user’s record from Mixpanel People.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func deleteUser()
    + +
    +
  • @@ -448,7 +785,7 @@

    People diff --git a/docs/Extensions.html b/docs/Extensions.html index 42ac1132..ad311ad4 100644 --- a/docs/Extensions.html +++ b/docs/Extensions.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -137,9 +137,9 @@

    Extensions

  • - + - Optional + Optional
    @@ -150,15 +150,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Optional: MixpanelType
    + +
    +
  • - + - String + String
    @@ -169,15 +177,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension String: MixpanelType
    + +
    +
  • - + - NSString + NSString
    @@ -188,15 +204,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension NSString: MixpanelType
    + +
    +
  • - + - NSNumber + NSNumber
    @@ -207,15 +231,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension NSNumber: MixpanelType
    + +
    +
  • - + - Int + Int
    @@ -226,15 +258,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Int: MixpanelType
    + +
    +
  • - + - UInt + UInt
    @@ -245,15 +285,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension UInt: MixpanelType
    + +
    +
  • - + - Double + Double
    @@ -264,15 +312,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Double: MixpanelType
    + +
    +
  • - + - Float + Float
    @@ -283,15 +339,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Float: MixpanelType
    + +
    +
  • - + - Bool + Bool
    @@ -302,15 +366,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Bool: MixpanelType
    + +
    +
  • - + - Date + Date
    @@ -321,15 +393,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Date: MixpanelType
    + +
    +
  • - + - URL + URL
    @@ -340,15 +420,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension URL: MixpanelType
    + +
    +
  • - + - NSNull + NSNull
    @@ -359,15 +447,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension NSNull: MixpanelType
    + +
    +
  • - + - Array + Array
    @@ -378,15 +474,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Array: MixpanelType
    + +
    +
  • - + - NSArray + NSArray
    @@ -397,15 +501,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension NSArray: MixpanelType
    + +
    +
  • @@ -416,6 +528,14 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Dictionary: MixpanelType
    + +
    +
  • @@ -424,7 +544,7 @@

    Extensions

    diff --git a/docs/Extensions/Array.html b/docs/Extensions/Array.html index 9bfaaf48..8bf3ea54 100644 --- a/docs/Extensions/Array.html +++ b/docs/Extensions/Array.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    Array

    +
    +
    + +
    extension Array: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    Array

  • @@ -149,15 +156,23 @@

    Array

    Checks if this object has nested object types that Mixpanel supports.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -165,7 +180,16 @@

    Array

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -175,7 +199,7 @@

    Array

    diff --git a/docs/Extensions/Bool.html b/docs/Extensions/Bool.html index 3c4333f8..c6a2008d 100644 --- a/docs/Extensions/Bool.html +++ b/docs/Extensions/Bool.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    Bool

    +
    +
    + +
    extension Bool: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    Bool

  • @@ -150,15 +157,23 @@

    Bool

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    Bool

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    Bool

    diff --git a/docs/Extensions/Date.html b/docs/Extensions/Date.html index 26bb102a..464c0642 100644 --- a/docs/Extensions/Date.html +++ b/docs/Extensions/Date.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    Date

    +
    +
    + +
    extension Date: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    Date

  • @@ -150,15 +157,23 @@

    Date

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    Date

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    Date

  • diff --git a/docs/Extensions/Dictionary.html b/docs/Extensions/Dictionary.html index 7bd271e7..79471f42 100644 --- a/docs/Extensions/Dictionary.html +++ b/docs/Extensions/Dictionary.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    Dictionary

    +
    +
    + +
    extension Dictionary: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    Dictionary

  • @@ -149,15 +156,23 @@

    Dictionary

    Checks if this object has nested object types that Mixpanel supports.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -165,7 +180,16 @@

    Dictionary

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -175,7 +199,7 @@

    Dictionary

    diff --git a/docs/Extensions/Double.html b/docs/Extensions/Double.html index 83e73128..747985c1 100644 --- a/docs/Extensions/Double.html +++ b/docs/Extensions/Double.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    Double

    +
    +
    + +
    extension Double: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    Double

  • @@ -150,15 +157,23 @@

    Double

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    Double

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    Double

    diff --git a/docs/Extensions/Float.html b/docs/Extensions/Float.html index 6d385283..e3a8476c 100644 --- a/docs/Extensions/Float.html +++ b/docs/Extensions/Float.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    Float

    +
    +
    + +
    extension Float: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    Float

  • @@ -150,15 +157,23 @@

    Float

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    Float

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    Float

  • diff --git a/docs/Extensions/Int.html b/docs/Extensions/Int.html index ed32e122..ee41b97d 100644 --- a/docs/Extensions/Int.html +++ b/docs/Extensions/Int.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    Int

    +
    +
    + +
    extension Int: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    Int

  • @@ -150,15 +157,23 @@

    Int

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    Int

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    Int

    diff --git a/docs/Extensions/NSArray.html b/docs/Extensions/NSArray.html index 054c400b..6ad9ae99 100644 --- a/docs/Extensions/NSArray.html +++ b/docs/Extensions/NSArray.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    NSArray

    +
    +
    + +
    extension NSArray: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    NSArray

  • @@ -149,15 +156,23 @@

    NSArray

    Checks if this object has nested object types that Mixpanel supports.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -165,7 +180,16 @@

    NSArray

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -175,7 +199,7 @@

    NSArray

    diff --git a/docs/Extensions/NSNull.html b/docs/Extensions/NSNull.html index 8543537d..bdd8091b 100644 --- a/docs/Extensions/NSNull.html +++ b/docs/Extensions/NSNull.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    NSNull

    +
    +
    + +
    extension NSNull: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    NSNull

  • @@ -150,15 +157,23 @@

    NSNull

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    NSNull

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    NSNull

  • diff --git a/docs/Extensions/NSNumber.html b/docs/Extensions/NSNumber.html index fc17886f..84ef36cb 100644 --- a/docs/Extensions/NSNumber.html +++ b/docs/Extensions/NSNumber.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    NSNumber

    +
    +
    + +
    extension NSNumber: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    NSNumber

  • @@ -150,15 +157,23 @@

    NSNumber

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    NSNumber

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    NSNumber

    diff --git a/docs/Extensions/NSString.html b/docs/Extensions/NSString.html index 3c77aaa5..720c22d1 100644 --- a/docs/Extensions/NSString.html +++ b/docs/Extensions/NSString.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    NSString

    +
    +
    + +
    extension NSString: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    NSString

  • @@ -150,15 +157,23 @@

    NSString

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    NSString

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    NSString

    diff --git a/docs/Extensions/Optional.html b/docs/Extensions/Optional.html index c1551ec2..0245f9ba 100644 --- a/docs/Extensions/Optional.html +++ b/docs/Extensions/Optional.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    Optional

    +
    +
    + +
    extension Optional: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    Optional

  • @@ -149,15 +156,23 @@

    Optional

    Checks if this object has nested object types that Mixpanel supports.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -165,7 +180,16 @@

    Optional

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -175,7 +199,7 @@

    Optional

  • diff --git a/docs/Extensions/String.html b/docs/Extensions/String.html index 9d28e60f..85a85015 100644 --- a/docs/Extensions/String.html +++ b/docs/Extensions/String.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    String

    +
    +
    + +
    extension String: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    String

  • @@ -150,15 +157,23 @@

    String

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    String

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    String

    diff --git a/docs/Extensions/UInt.html b/docs/Extensions/UInt.html index 3b2cca18..62ea6be0 100644 --- a/docs/Extensions/UInt.html +++ b/docs/Extensions/UInt.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    UInt

    +
    +
    + +
    extension UInt: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    UInt

  • @@ -150,15 +157,23 @@

    UInt

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    UInt

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    UInt

    diff --git a/docs/Extensions/URL.html b/docs/Extensions/URL.html index 62228c8e..8f13a99a 100644 --- a/docs/Extensions/URL.html +++ b/docs/Extensions/URL.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    URL

    +
    +
    + +
    extension URL: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    URL

  • @@ -150,15 +157,23 @@

    URL

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    URL

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    URL

  • diff --git a/docs/Protocols.html b/docs/Protocols.html index d7b63910..c2d12fbe 100644 --- a/docs/Protocols.html +++ b/docs/Protocols.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -137,9 +137,9 @@

    Protocols

  • @@ -151,15 +151,23 @@

    Protocols

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol MixpanelDelegate : AnyObject
    + +
    +
  • @@ -173,6 +181,14 @@

    Protocols

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol MixpanelType
    + +
    +
  • @@ -181,7 +197,7 @@

    Protocols

    diff --git a/docs/Protocols/MixpanelDelegate.html b/docs/Protocols/MixpanelDelegate.html index 1e5a6336..9427f4f2 100644 --- a/docs/Protocols/MixpanelDelegate.html +++ b/docs/Protocols/MixpanelDelegate.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    MixpanelDelegate

    +
    +
    + +
    public protocol MixpanelDelegate : AnyObject
    + +
    +

    Delegate protocol for controlling the Mixpanel API’s network behavior.

    @@ -137,9 +144,9 @@

    MixpanelDelegate

  • @@ -150,6 +157,37 @@

    MixpanelDelegate

    Asks the delegate if data should be uploaded to the server.

    +
    +

    Declaration

    +
    +

    Swift

    +
    func mixpanelWillFlush(_ mixpanel: MixpanelInstance) -> Bool
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + mixpanel + + +
    +

    The mixpanel instance

    +
    +
    +
    +
    +

    Return Value

    +

    return true to upload now or false to defer until later

    +
  • @@ -158,7 +196,7 @@

    MixpanelDelegate

    diff --git a/docs/Protocols/MixpanelType.html b/docs/Protocols/MixpanelType.html index 718924b0..4e70d727 100644 --- a/docs/Protocols/MixpanelType.html +++ b/docs/Protocols/MixpanelType.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    MixpanelType

    +
    +
    + +
    public protocol MixpanelType
    + +
    +

    Property keys must be String objects and the supported value types need to conform to MixpanelType. MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull. Numbers are not NaN or infinity

    @@ -139,9 +146,9 @@

    MixpanelType

  • @@ -152,15 +159,23 @@

    MixpanelType

    Checks if this object has nested object types that Mixpanel supports.

    +
    +

    Declaration

    +
    +

    Swift

    +
    func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -168,7 +183,16 @@

    MixpanelType

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -178,7 +202,7 @@

    MixpanelType

    diff --git a/docs/Typealiases.html b/docs/Typealiases.html index 7fe5a64a..2a2085c2 100644 --- a/docs/Typealiases.html +++ b/docs/Typealiases.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -137,9 +137,9 @@

    Type Aliases

  • @@ -147,7 +147,16 @@

    Type Aliases

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias Properties = [String : MixpanelType]
    + +
    @@ -157,7 +166,7 @@

    Type Aliases

    diff --git a/docs/badge.svg b/docs/badge.svg index a5d7e554..c8d6b742 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -1,15 +1,15 @@ - + - + - - + + @@ -18,11 +18,11 @@ documentation - - 0% + + 84% - - 0% + + 84% diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes.html index 85428e55..a0238171 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -137,9 +137,9 @@

    Classes

  • - + - Group + Group
    @@ -152,15 +152,23 @@

    Classes

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    open class Group
    + +
    +
  • - + - Mixpanel + Mixpanel
    @@ -172,15 +180,23 @@

    Classes

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    open class Mixpanel
    + +
    +
  • @@ -192,15 +208,23 @@

    Classes

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    open class MixpanelInstance : CustomDebugStringConvertible, FlushDelegate, AEDelegate
    + +
    +
  • - + - People + People
    @@ -213,6 +237,14 @@

    Classes

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    open class People
    + +
    +
  • @@ -221,7 +253,7 @@

    Classes

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes/Group.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes/Group.html index f267f6f7..c723b56a 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes/Group.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes/Group.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    Group

    +
    +
    + +
    open class Group
    + +
    +

    Access to the Mixpanel Groups API, available through the getGroup function from the main Mixpanel instance.

    @@ -147,9 +154,9 @@

    Group
  • @@ -165,15 +172,42 @@

    Group value is overwritten. Other existing properties will not be affected.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func set(properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    properties dictionary

    +
    +
    +
  • @@ -187,15 +221,54 @@

    Group MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func set(property: String, to: MixpanelType)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + property + + +
    +

    property name

    +
    +
    + + to + + +
    +

    property value

    +
    +
    +
  • @@ -211,15 +284,42 @@

    Group data about dates representing the first time something happened.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func setOnce(properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    properties dictionary

    +
    +
    +
  • @@ -232,15 +332,42 @@

    Group

    For properties that don’t exist there will be no effect.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func unset(property: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + property + + +
    +

    name of the property to unset

    +
    +
    +
  • @@ -254,15 +381,42 @@

    Group MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func remove(key: String, value: MixpanelType)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    mapping of list property names to values to remove

    +
    +
    +
  • @@ -275,15 +429,42 @@

    Group

    Property values must be array objects.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func union(key: String, values: [MixpanelType])
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    mapping of list property names to lists to union

    +
    +
    +
  • @@ -294,6 +475,14 @@

    Group

    Delete group’s record from Mixpanel Groups.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func deleteGroup()
    + +
    +
  • @@ -302,7 +491,7 @@

    Group diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes/Mixpanel.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes/Mixpanel.html index 42089c2e..d01ea85a 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes/Mixpanel.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes/Mixpanel.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    Mixpanel

    +
    +
    + +
    open class Mixpanel
    + +
    +

    The primary class for integrating Mixpanel with your app.

    @@ -137,9 +144,9 @@

    Mixpanel

  • @@ -160,6 +167,131 @@

    Mixpanel

  • +
    +

    Declaration

    +
    +

    Swift

    +
    @discardableResult
    +open class func initialize(token apiToken: String,
    +                           trackAutomaticEvents: Bool,
    +                           flushInterval: Double = 60,
    +                           instanceName: String? = nil,
    +                           optOutTrackingByDefault: Bool = false,
    +                           useUniqueDistinctId: Bool = false,
    +                           superProperties: Properties? = nil,
    +                           serverURL: String? = nil) -> MixpanelInstance
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + token + + +
    +

    your project token

    +
    +
    + + trackAutomaticEvents + + +
    +

    Whether or not to collect common mobile events

    +
    +
    + + flushInterval + + +
    +

    Optional. Interval to run background flushing

    +
    +
    + + instanceName + + +
    +

    Optional. The name you want to uniquely identify the Mixpanel Instance. +It is useful when you want more than one Mixpanel instance under the same project token.

    +
    +
    + + optOutTrackingByDefault + + +
    +

    Optional. Whether or not to be opted out from tracking by default

    +
    +
    + + useUniqueDistinctId + + +
    +

    Optional. whether or not to use the unique device identifier as the distinct_id

    +
    +
    + + superProperties + + +
    +

    Optional. Super properties dictionary to register during initialization

    +
    +
    + + serverURL + + +
    +

    Optional. Mixpanel cluster URL

    +
    +
    +
    +
    +

    Return Value

    +

    returns a mixpanel instance if needed to keep throughout the project. +You can always get the instance by calling getInstance(name)

    +
    @@ -195,9 +327,9 @@

    Mixpanel

  • @@ -208,15 +340,46 @@

    Mixpanel

    Gets the mixpanel instance with the given name

    +
    +

    Declaration

    +
    +

    Swift

    +
    open class func getInstance(name: String) -> MixpanelInstance?
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + name + + +
    +

    the instance name

    +
    +
    +
    +
    +

    Return Value

    +

    returns the mixpanel instance

    +
  • @@ -229,15 +392,27 @@

    Mixpanel

    If not specified explicitly, the main instance is always the last instance added

    +
    +

    Declaration

    +
    +

    Swift

    +
    open class func mainInstance() -> MixpanelInstance
    + +
    +
    +
    +

    Return Value

    +

    returns the main Mixpanel instance

    +
  • @@ -248,15 +423,42 @@

    Mixpanel

    Sets the main instance based on the instance name

    +
    +

    Declaration

    +
    +

    Swift

    +
    open class func setMainInstance(name: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + name + + +
    +

    the instance name

    +
    +
    +
  • @@ -267,6 +469,33 @@

    Mixpanel

    Removes an unneeded Mixpanel instance based on its name

    +
    +

    Declaration

    +
    +

    Swift

    +
    open class func removeInstance(name: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + name + + +
    +

    the instance name

    +
    +
    +
  • @@ -275,7 +504,7 @@

    Mixpanel

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes/MixpanelInstance.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes/MixpanelInstance.html index ff5c9dbe..0849a60e 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes/MixpanelInstance.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes/MixpanelInstance.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    MixpanelInstance

    +
    +
    + +
    open class MixpanelInstance : CustomDebugStringConvertible, FlushDelegate, AEDelegate
    + +
    +

    The class that represents the Mixpanel Instance

    @@ -137,9 +144,9 @@

    MixpanelInstance

  • - + - apiToken + apiToken
    @@ -150,15 +157,23 @@

    MixpanelInstance

    apiToken string that identifies the project to track data to

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var apiToken: String
    + +
    +
  • - + - delegate + delegate
    @@ -169,15 +184,23 @@

    MixpanelInstance

    The a MixpanelDelegate object that gives control over Mixpanel network activity.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open weak var delegate: MixpanelDelegate?
    + +
    +
  • @@ -188,15 +211,23 @@

    MixpanelInstance

    distinctId string that uniquely identifies the current user.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var distinctId: String
    + +
    +
  • @@ -207,15 +238,23 @@

    MixpanelInstance

    anonymousId string that uniquely identifies the device.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var anonymousId: String?
    + +
    +
  • - + - userId + userId
    @@ -226,15 +265,23 @@

    MixpanelInstance

    userId string that identify is called with.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var userId: String?
    + +
    +
  • @@ -246,15 +293,23 @@

    MixpanelInstance

    already exists in persistence

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var hadPersistedDistinctId: Bool?
    + +
    +
  • - + - alias + alias
    @@ -265,15 +320,23 @@

    MixpanelInstance

    alias string that uniquely identifies the current user.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var alias: String?
    + +
    +
  • - + - people + people
    @@ -284,15 +347,23 @@

    MixpanelInstance

    Accessor to the Mixpanel People API object.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var people: People!
    + +
    +
  • @@ -304,15 +375,23 @@

    MixpanelInstance

    data to the Mixpanel servers. Defaults to true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var showNetworkActivityIndicator: Bool
    + +
    +
  • @@ -323,15 +402,23 @@

    MixpanelInstance

    This allows enabling or disabling collecting common mobile events,

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var trackAutomaticEventsEnabled: Bool
    + +
    +
  • @@ -344,15 +431,23 @@

    MixpanelInstance

    to upload queued data to the Mixpanel server.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var flushInterval: Double { get set }
    + +
    +
  • @@ -364,15 +459,23 @@

    MixpanelInstance

    enters the background. Defaults to true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var flushOnBackground: Bool { get set }
    + +
    +
  • @@ -385,15 +488,23 @@

    MixpanelInstance

    Defaults to true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var useIPAddressForGeoLocation: Bool { get set }
    + +
    +
  • @@ -406,15 +517,23 @@

    MixpanelInstance

    and the server. The maximum size is 50; any value over 50 will default to 50.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var flushBatchSize: Int { get set }
    + +
    +
  • @@ -427,15 +546,23 @@

    MixpanelInstance

    https://api.mixpanel.com.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var serverURL: String { get set }
    + +
    +
  • @@ -445,15 +572,23 @@

    MixpanelInstance

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var debugDescription: String { get }
    + +
    +
  • @@ -470,15 +605,23 @@

    MixpanelInstance

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var loggingEnabled: Bool { get set }
    + +
    +
  • - + - name + name
    @@ -489,15 +632,23 @@

    MixpanelInstance

    A unique identifier for this MixpanelInstance

    +
    +

    Declaration

    +
    +

    Swift

    +
    public let name: String
    + +
    +
  • @@ -505,19 +656,26 @@

    MixpanelInstance

    -

    The minimum session duration (ms) that is tracked in automatic events. -The default value is 10000 (10 seconds).

    +

    Undocumented

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var minimumSessionDuration: UInt64 { get set }
    + +
    +
  • @@ -529,6 +687,14 @@

    MixpanelInstance

    The default value is UINT64_MAX (no maximum session duration).

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var maximumSessionDuration: UInt64 { get set }
    + +
    +
  • @@ -548,9 +714,9 @@

    Identity
  • @@ -581,15 +747,67 @@

    Identity mixpanelInstance.identify(mixpanelInstance.distinctId).

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func identify(distinctId: String, usePeople: Bool = true, completion: (() -> Void)? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + distinctId + + +
    +

    string that uniquely identifies the current user

    +
    +
    + + usePeople + + +
    +

    boolean that controls whether or not to set the people distinctId to the event distinctId. +This should only be set to false if you wish to prevent people profile updates for that user.

    +
    +
    + + completion + + +
    +

    an optional completion handler for when the identify has completed.

    +
    +
    +
  • @@ -610,15 +828,92 @@

    Identity

    mixpanelInstance.createAlias("Newer ID", distinctId: mixpanelInstance.distinctId)

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func createAlias(_ alias: String, distinctId: String, usePeople: Bool = true, andIdentify: Bool = true, completion: (() -> Void)? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + + + + + + + + + +
    + + alias + + +
    +

    A unique identifier that you want to use as an identifier for this user.

    +
    +
    + + distinctId + + +
    +

    The current user identifier.

    +
    +
    + + usePeople + + +
    +

    boolean that controls whether or not to set the people distinctId to the event distinctId.

    +
    +
    + + andIdentify + + +
    +

    an optional boolean that controls whether or not to call ‘identify’ with your current +user identifier(not alias). Default to true for keeping your signup funnels working correctly in most cases.

    +
    +
    + + completion + + +
    +

    an optional completion handler for when the createAlias has completed. +This should only be set to false if you wish to prevent people profile updates for that user.

    +
    +
    +
  • @@ -630,6 +925,33 @@

    Identity Useful if your app’s user logs out.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func reset(completion: (() -> Void)? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + completion + + +
    +

    an optional completion handler for when the reset has completed.

    +
    +
    +
  • @@ -649,9 +971,9 @@

    Persistence
  • @@ -659,7 +981,16 @@

    Persistence
    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func archive()
    + +

    @@ -680,9 +1011,9 @@

    Flush
  • @@ -693,11 +1024,50 @@

    Flush

    Uploads queued data to the Mixpanel server.

    By default, queued data is flushed to the Mixpanel servers every minute (the -default for flushInterval), and on background (since -flushOnBackground is on by default). You only need to call this +default for flushInterval), and on background (since +flushOnBackground is on by default). You only need to call this method manually if you want to force a flush at a particular moment.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func flush(performFullFlush: Bool = false, completion: (() -> Void)? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + performFullFlush + + +
    +

    A optional boolean value indicating whether a full flush should be performed. If true, a full flush will be triggered, sending all events to the server. Default to false, a partial flush will be executed for reducing memory footprint.

    +
    +
    + + completion + + +
    +

    an optional completion handler for when the flush has completed.

    +
    +
    +
  • @@ -717,9 +1087,9 @@

    Track
  • @@ -736,15 +1106,54 @@

    Track If the event is being timed, the timer will stop and be added as a property.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func track(event: String?, properties: Properties? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + event + + +
    +

    event name

    +
    +
    + + properties + + +
    +

    properties dictionary

    +
    +
    +
  • @@ -761,15 +1170,66 @@

    Track If the event is being timed, the timer will stop and be added as a property.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func trackWithGroups(event: String?, properties: Properties? = nil, groups: Properties?)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + event + + +
    +

    event name

    +
    +
    + + properties + + +
    +

    properties dictionary

    +
    +
    + + groups + + +
    +

    groups dictionary

    +
    +
    +
  • @@ -777,7 +1237,16 @@

    Track
    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func getGroup(groupKey: String, groupID: MixpanelType) -> Group
    + +

    @@ -785,9 +1254,9 @@

    Track
  • @@ -816,15 +1285,42 @@

    Track

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func time(event: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + event + + +
    +

    the event name to be timed

    +
    +
    +
  • @@ -835,15 +1331,42 @@

    Track

    Retrieves the time elapsed for the named event since time(event:) was called.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func eventElapsedTime(event: String) -> Double
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + event + + +
    +

    the name of the event to be tracked that was passed to time(event:)

    +
    +
    +
  • @@ -854,15 +1377,23 @@

    Track

    Clears all current event timers.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func clearTimedEvents()
    + +
    +
  • @@ -873,15 +1404,42 @@

    Track

    Clears the event timer for the named event.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func clearTimedEvent(event: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + event + + +
    +

    the name of the event to clear the timer for

    +
    +
    +
  • @@ -892,15 +1450,27 @@

    Track

    Returns the currently set super properties.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func currentSuperProperties() -> [String : Any]
    + +
    +
    +
    +

    Return Value

    +

    the current super properties

    +
  • @@ -911,15 +1481,23 @@

    Track

    Clears all currently set super properties.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func clearSuperProperties()
    + +
    +
  • @@ -936,15 +1514,42 @@

    Track MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func registerSuperProperties(_ properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    properties dictionary

    +
    +
    +
  • @@ -959,15 +1564,55 @@

    Track MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func registerSuperPropertiesOnce(_ properties: Properties,
    +                                      defaultValue: MixpanelType? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + properties + + +
    +

    properties dictionary

    +
    +
    + + defaultValue + + +
    +

    Optional. overwrite existing properties that have this value

    +
    +
    +
  • @@ -986,15 +1631,42 @@

    Track registered.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func unregisterSuperProperty(_ propertyName: String)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + propertyName + + +
    +

    array of property name strings to remove

    +
    +
    +
  • @@ -1005,15 +1677,54 @@

    Track

    Convenience method to set a single group the user belongs to.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func setGroup(groupKey: String, groupID: MixpanelType)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + groupKey + + +
    +

    The property name associated with this group type (must already have been set up).

    +
    +
    + + groupID + + +
    +

    The group the user belongs to.

    +
    +
    +
  • @@ -1024,15 +1735,54 @@

    Track

    Set the groups this user belongs to.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func setGroup(groupKey: String, groupIDs: [MixpanelType])
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + groupKey + + +
    +

    The property name associated with this group type (must already have been set up).

    +
    +
    + + groupIDs + + +
    +

    The list of groups the user belongs to.

    +
    +
    +
  • @@ -1043,15 +1793,54 @@

    Track

    Add a group to this user’s membership for a particular group key

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func addGroup(groupKey: String, groupID: MixpanelType)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + groupKey + + +
    +

    The property name associated with this group type (must already have been set up).

    +
    +
    + + groupID + + +
    +

    The new group the user belongs to.

    +
    +
    +
  • @@ -1062,15 +1851,54 @@

    Track

    Remove a group from this user’s membership for a particular group key

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func removeGroup(groupKey: String, groupID: MixpanelType)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + groupKey + + +
    +

    The property name associated with this group type (must already have been set up).

    +
    +
    + + groupID + + +
    +

    The group value to remove.

    +
    +
    +
  • @@ -1084,15 +1912,23 @@

    Track to be sent back to the Mixpanel server.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func optOutTracking()
    + +
    +
  • @@ -1108,15 +1944,55 @@

    Track

    This method will internally track an opt in event to your project.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func optInTracking(distinctId: String? = nil, properties: Properties? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + distintId + + +
    +

    an optional string to use as the distinct ID for events

    +
    +
    + + properties + + +
    +

    an optional properties dictionary that could be passed to add properties to the opt-in event +that is sent to Mixpanel

    +
    +
    +
  • @@ -1127,6 +2003,18 @@

    Track

    Returns if the current user has opted out tracking.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func hasOptedOutTracking() -> Bool
    + +
    +
    +
    +

    Return Value

    +

    the current super opted out tracking status

    +
  • @@ -1135,7 +2023,7 @@

    Track diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes/People.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes/People.html index 52246f6e..43edd351 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes/People.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Classes/People.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases

  • @@ -128,6 +128,13 @@

    People

    +
    +
    + +
    open class People
    + +
    +

    Access to the Mixpanel People API, available as an accessible variable from the main Mixpanel instance.

    @@ -138,9 +145,9 @@

    People

  • @@ -155,6 +162,14 @@

    People

    current time for all $set, $append, and $add operations

    +
    +

    Declaration

    +
    +

    Swift

    +
    open var ignoreTime: Bool
    + +
    +
  • @@ -174,9 +189,9 @@

    People
  • @@ -200,15 +215,42 @@

    People

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func set(properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    properties dictionary

    +
    +
    +
  • @@ -222,15 +264,54 @@

    People MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func set(property: String, to: MixpanelType)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + property + + +
    +

    property name

    +
    +
    + + to + + +
    +

    property value

    +
    +
    +
  • @@ -247,15 +328,42 @@

    People representing the first time something happened.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func setOnce(properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    properties dictionary

    +
    +
    +
  • @@ -270,15 +378,42 @@

    People that don’t exist there will be no effect.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func unset(properties: [String])
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    properties array

    +
    +
    +
  • @@ -293,15 +428,42 @@

    People will be set to the increment amount. Property values must be number objects.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func increment(properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    properties array

    +
    +
    +
  • @@ -313,15 +475,54 @@

    People amount.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func increment(property: String, by: Double)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + property + + +
    +

    property name

    +
    +
    + + by + + +
    +

    amount to increment by

    +
    +
    +
  • @@ -335,15 +536,42 @@

    People MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func append(properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    mapping of list property names to values to append

    +
    +
    +
  • @@ -357,15 +585,42 @@

    People MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func remove(properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    mapping of list property names to values to remove

    +
    +
    +
  • @@ -378,15 +633,42 @@

    People

    Property values must be array objects.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func union(properties: Properties)
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + properties + + +
    +

    mapping of list property names to lists to union

    +
    +
    +
  • @@ -402,15 +684,54 @@

    People revenue analytics to see which products are generating the most revenue.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func trackCharge(amount: Double, properties: Properties? = nil)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + amount + + +
    +

    amount of revenue received

    +
    +
    + + properties + + +
    +

    Optional. properties dictionary

    +
    +
    +
  • @@ -421,15 +742,23 @@

    People

    Delete current user’s revenue history.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func clearCharges()
    + +
    +
  • @@ -440,6 +769,14 @@

    People

    Delete current user’s record from Mixpanel People.

    +
    +

    Declaration

    +
    +

    Swift

    +
    open func deleteUser()
    + +
    +
  • @@ -448,7 +785,7 @@

    People diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions.html index 42ac1132..ad311ad4 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -137,9 +137,9 @@

    Extensions

  • - + - Optional + Optional
    @@ -150,15 +150,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Optional: MixpanelType
    + +
    +
  • - + - String + String
    @@ -169,15 +177,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension String: MixpanelType
    + +
    +
  • - + - NSString + NSString
    @@ -188,15 +204,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension NSString: MixpanelType
    + +
    +
  • - + - NSNumber + NSNumber
    @@ -207,15 +231,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension NSNumber: MixpanelType
    + +
    +
  • - + - Int + Int
    @@ -226,15 +258,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Int: MixpanelType
    + +
    +
  • - + - UInt + UInt
    @@ -245,15 +285,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension UInt: MixpanelType
    + +
    +
  • - + - Double + Double
    @@ -264,15 +312,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Double: MixpanelType
    + +
    +
  • - + - Float + Float
    @@ -283,15 +339,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Float: MixpanelType
    + +
    +
  • - + - Bool + Bool
    @@ -302,15 +366,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Bool: MixpanelType
    + +
    +
  • - + - Date + Date
    @@ -321,15 +393,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Date: MixpanelType
    + +
    +
  • - + - URL + URL
    @@ -340,15 +420,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension URL: MixpanelType
    + +
    +
  • - + - NSNull + NSNull
    @@ -359,15 +447,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension NSNull: MixpanelType
    + +
    +
  • - + - Array + Array
    @@ -378,15 +474,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Array: MixpanelType
    + +
    +
  • - + - NSArray + NSArray
    @@ -397,15 +501,23 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension NSArray: MixpanelType
    + +
    +
  • @@ -416,6 +528,14 @@

    Extensions

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    extension Dictionary: MixpanelType
    + +
    +
  • @@ -424,7 +544,7 @@

    Extensions

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Array.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Array.html index 9bfaaf48..8bf3ea54 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Array.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Array.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    Array

    +
    +
    + +
    extension Array: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    Array

  • @@ -149,15 +156,23 @@

    Array

    Checks if this object has nested object types that Mixpanel supports.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -165,7 +180,16 @@

    Array

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -175,7 +199,7 @@

    Array

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Bool.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Bool.html index 3c4333f8..c6a2008d 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Bool.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Bool.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    Bool

    +
    +
    + +
    extension Bool: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    Bool

  • @@ -150,15 +157,23 @@

    Bool

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    Bool

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    Bool

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Date.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Date.html index 26bb102a..464c0642 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Date.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Date.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    Date

    +
    +
    + +
    extension Date: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    Date

  • @@ -150,15 +157,23 @@

    Date

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    Date

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    Date

  • diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Dictionary.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Dictionary.html index 7bd271e7..79471f42 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Dictionary.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Dictionary.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    Dictionary

    +
    +
    + +
    extension Dictionary: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    Dictionary

  • @@ -149,15 +156,23 @@

    Dictionary

    Checks if this object has nested object types that Mixpanel supports.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -165,7 +180,16 @@

    Dictionary

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -175,7 +199,7 @@

    Dictionary

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Double.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Double.html index 83e73128..747985c1 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Double.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Double.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    Double

    +
    +
    + +
    extension Double: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    Double

  • @@ -150,15 +157,23 @@

    Double

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    Double

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    Double

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Float.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Float.html index 6d385283..e3a8476c 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Float.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Float.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    Float

    +
    +
    + +
    extension Float: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    Float

  • @@ -150,15 +157,23 @@

    Float

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    Float

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    Float

  • diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Int.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Int.html index ed32e122..ee41b97d 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Int.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Int.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    Int

    +
    +
    + +
    extension Int: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    Int

  • @@ -150,15 +157,23 @@

    Int

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    Int

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    Int

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/NSArray.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/NSArray.html index 054c400b..6ad9ae99 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/NSArray.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/NSArray.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    NSArray

    +
    +
    + +
    extension NSArray: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    NSArray

  • @@ -149,15 +156,23 @@

    NSArray

    Checks if this object has nested object types that Mixpanel supports.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -165,7 +180,16 @@

    NSArray

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -175,7 +199,7 @@

    NSArray

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/NSNull.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/NSNull.html index 8543537d..bdd8091b 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/NSNull.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/NSNull.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    NSNull

    +
    +
    + +
    extension NSNull: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    NSNull

  • @@ -150,15 +157,23 @@

    NSNull

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    NSNull

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    NSNull

  • diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/NSNumber.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/NSNumber.html index fc17886f..84ef36cb 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/NSNumber.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/NSNumber.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    NSNumber

    +
    +
    + +
    extension NSNumber: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    NSNumber

  • @@ -150,15 +157,23 @@

    NSNumber

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    NSNumber

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    NSNumber

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/NSString.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/NSString.html index 3c77aaa5..720c22d1 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/NSString.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/NSString.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    NSString

    +
    +
    + +
    extension NSString: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    NSString

  • @@ -150,15 +157,23 @@

    NSString

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    NSString

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    NSString

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Optional.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Optional.html index c1551ec2..0245f9ba 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Optional.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/Optional.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    Optional

    +
    +
    + +
    extension Optional: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    Optional

  • @@ -149,15 +156,23 @@

    Optional

    Checks if this object has nested object types that Mixpanel supports.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -165,7 +180,16 @@

    Optional

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -175,7 +199,7 @@

    Optional

  • diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/String.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/String.html index 9d28e60f..85a85015 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/String.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/String.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    String

    +
    +
    + +
    extension String: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    String

  • @@ -150,15 +157,23 @@

    String

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    String

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    String

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/UInt.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/UInt.html index 3b2cca18..62ea6be0 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/UInt.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/UInt.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    UInt

    +
    +
    + +
    extension UInt: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    UInt

  • @@ -150,15 +157,23 @@

    UInt

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    UInt

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    UInt

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/URL.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/URL.html index 62228c8e..8f13a99a 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/URL.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Extensions/URL.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -128,6 +128,13 @@

    URL

    +
    +
    + +
    extension URL: MixpanelType
    + +
    +
    @@ -136,9 +143,9 @@

    URL

  • @@ -150,15 +157,23 @@

    URL

    Will always return true.

    +
    +

    Declaration

    +
    +

    Swift

    +
    public func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -166,7 +181,16 @@

    URL

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -176,7 +200,7 @@

    URL

  • diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Protocols.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Protocols.html index d7b63910..c2d12fbe 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Protocols.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Protocols.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -137,9 +137,9 @@

    Protocols

  • @@ -151,15 +151,23 @@

    Protocols

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol MixpanelDelegate : AnyObject
    + +
    +
  • @@ -173,6 +181,14 @@

    Protocols

    See more
    +
    +

    Declaration

    +
    +

    Swift

    +
    public protocol MixpanelType
    + +
    +
  • @@ -181,7 +197,7 @@

    Protocols

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Protocols/MixpanelDelegate.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Protocols/MixpanelDelegate.html index 1e5a6336..9427f4f2 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Protocols/MixpanelDelegate.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Protocols/MixpanelDelegate.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    MixpanelDelegate

    +
    +
    + +
    public protocol MixpanelDelegate : AnyObject
    + +
    +

    Delegate protocol for controlling the Mixpanel API’s network behavior.

    @@ -137,9 +144,9 @@

    MixpanelDelegate

  • @@ -150,6 +157,37 @@

    MixpanelDelegate

    Asks the delegate if data should be uploaded to the server.

    +
    +

    Declaration

    +
    +

    Swift

    +
    func mixpanelWillFlush(_ mixpanel: MixpanelInstance) -> Bool
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + mixpanel + + +
    +

    The mixpanel instance

    +
    +
    +
    +
    +

    Return Value

    +

    return true to upload now or false to defer until later

    +
  • @@ -158,7 +196,7 @@

    MixpanelDelegate

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Protocols/MixpanelType.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Protocols/MixpanelType.html index 718924b0..4e70d727 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Protocols/MixpanelType.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Protocols/MixpanelType.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases @@ -128,6 +128,13 @@

    MixpanelType

    +
    +
    + +
    public protocol MixpanelType
    + +
    +

    Property keys must be String objects and the supported value types need to conform to MixpanelType. MixpanelType can be either String, Int, UInt, Double, Float, Bool, [MixpanelType], [String: MixpanelType], Date, URL, or NSNull. Numbers are not NaN or infinity

    @@ -139,9 +146,9 @@

    MixpanelType

  • @@ -152,15 +159,23 @@

    MixpanelType

    Checks if this object has nested object types that Mixpanel supports.

    +
    +

    Declaration

    +
    +

    Swift

    +
    func isValidNestedTypeAndValue() -> Bool
    + +
    +
  • @@ -168,7 +183,16 @@

    MixpanelType

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func equals(rhs: MixpanelType) -> Bool
    + +
    @@ -178,7 +202,7 @@

    MixpanelType

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Typealiases.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Typealiases.html index 7fe5a64a..2a2085c2 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Typealiases.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/Typealiases.html @@ -17,7 +17,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -118,7 +118,7 @@ Type Aliases
  • @@ -137,9 +137,9 @@

    Type Aliases

  • @@ -147,7 +147,16 @@

    Type Aliases

    - +

    Undocumented

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public typealias Properties = [String : MixpanelType]
    + +
    @@ -157,7 +166,7 @@

    Type Aliases

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/index.html b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/index.html index 1256e072..4b7be01a 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/index.html +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/index.html @@ -16,7 +16,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -117,7 +117,7 @@ Type Aliases
  • @@ -207,7 +207,7 @@

    2. Initialize Mixpanel

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { ... - Mixpanel.initialize(token: "MIXPANEL_TOKEN", trackAutomaticEvents: true) + Mixpanel.initialize(token: "MIXPANEL_TOKEN", trackAutomaticEvents: false) ... } @@ -238,7 +238,7 @@

    Complete Code Example

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { ... - Mixpanel.initialize(token: "MIXPANEL_TOKEN", trackAutomaticEvents: true) + Mixpanel.initialize(token: "MIXPANEL_TOKEN", trackAutomaticEvents: false) Mixpanel.mainInstance().track(event: "Sign Up", properties: [ "source": "Pat's affiliate site", "Opted out of email": true @@ -288,7 +288,7 @@

    I want to know more!

    diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/search.json b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/search.json index 504b8654..277197b0 100644 --- a/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/search.json +++ b/docs/docsets/Mixpanel.docset/Contents/Resources/Documents/search.json @@ -1 +1 @@ -{"Typealiases.html#/Properties":{"name":"Properties"},"Protocols/MixpanelType.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"MixpanelType"},"Protocols/MixpanelType.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"MixpanelType"},"Protocols/MixpanelDelegate.html#/mixpanelWillFlush(_:)":{"name":"mixpanelWillFlush(_:)","abstract":"

    Asks the delegate if data should be uploaded to the server.

    ","parent_name":"MixpanelDelegate"},"Protocols/MixpanelDelegate.html":{"name":"MixpanelDelegate","abstract":"

    Delegate protocol for controlling the Mixpanel API’s network behavior.

    "},"Protocols/MixpanelType.html":{"name":"MixpanelType","abstract":"

    Property keys must be String objects and the supported value types need to conform to MixpanelType."},"Extensions/Dictionary.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"Dictionary"},"Extensions/Dictionary.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"Dictionary"},"Extensions/NSArray.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"NSArray"},"Extensions/NSArray.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"NSArray"},"Extensions/Array.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"Array"},"Extensions/Array.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"Array"},"Extensions/NSNull.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"NSNull"},"Extensions/NSNull.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"NSNull"},"Extensions/URL.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"URL"},"Extensions/URL.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"URL"},"Extensions/Date.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Date"},"Extensions/Date.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"Date"},"Extensions/Bool.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Bool"},"Extensions/Bool.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"Bool"},"Extensions/Float.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Float"},"Extensions/Float.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"Float"},"Extensions/Double.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Double"},"Extensions/Double.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"Double"},"Extensions/UInt.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"UInt"},"Extensions/UInt.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"UInt"},"Extensions/Int.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Int"},"Extensions/Int.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"Int"},"Extensions/NSNumber.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"NSNumber"},"Extensions/NSNumber.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"NSNumber"},"Extensions/NSString.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"NSString"},"Extensions/NSString.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"NSString"},"Extensions/String.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"String"},"Extensions/String.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"String"},"Extensions/Optional.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"Optional"},"Extensions/Optional.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"Optional"},"Extensions/Optional.html":{"name":"Optional"},"Extensions/String.html":{"name":"String"},"Extensions/NSString.html":{"name":"NSString"},"Extensions/NSNumber.html":{"name":"NSNumber"},"Extensions/Int.html":{"name":"Int"},"Extensions/UInt.html":{"name":"UInt"},"Extensions/Double.html":{"name":"Double"},"Extensions/Float.html":{"name":"Float"},"Extensions/Bool.html":{"name":"Bool"},"Extensions/Date.html":{"name":"Date"},"Extensions/URL.html":{"name":"URL"},"Extensions/NSNull.html":{"name":"NSNull"},"Extensions/Array.html":{"name":"Array"},"Extensions/NSArray.html":{"name":"NSArray"},"Extensions/Dictionary.html":{"name":"Dictionary"},"Classes/People.html#/ignoreTime":{"name":"ignoreTime","abstract":"

    controls the $ignore_time property in any subsequent MixpanelPeople operation.","parent_name":"People"},"Classes/People.html#/set(properties:)":{"name":"set(properties:)","abstract":"

    Set properties on the current user in Mixpanel People.

    ","parent_name":"People"},"Classes/People.html#/set(property:to:)":{"name":"set(property:to:)","abstract":"

    Convenience method for setting a single property in Mixpanel People.

    ","parent_name":"People"},"Classes/People.html#/setOnce(properties:)":{"name":"setOnce(properties:)","abstract":"

    Set properties on the current user in Mixpanel People, but doesn’t overwrite if","parent_name":"People"},"Classes/People.html#/unset(properties:)":{"name":"unset(properties:)","abstract":"

    Remove a list of properties and their values from the current user’s profile","parent_name":"People"},"Classes/People.html#/increment(properties:)":{"name":"increment(properties:)","abstract":"

    Increment the given numeric properties by the given values.

    ","parent_name":"People"},"Classes/People.html#/increment(property:by:)":{"name":"increment(property:by:)","abstract":"

    Convenience method for incrementing a single numeric property by the specified","parent_name":"People"},"Classes/People.html#/append(properties:)":{"name":"append(properties:)","abstract":"

    Append values to list properties.

    ","parent_name":"People"},"Classes/People.html#/remove(properties:)":{"name":"remove(properties:)","abstract":"

    Removes list properties.

    ","parent_name":"People"},"Classes/People.html#/union(properties:)":{"name":"union(properties:)","abstract":"

    Union list properties.

    ","parent_name":"People"},"Classes/People.html#/trackCharge(amount:properties:)":{"name":"trackCharge(amount:properties:)","abstract":"

    Track money spent by the current user for revenue analytics and associate","parent_name":"People"},"Classes/People.html#/clearCharges()":{"name":"clearCharges()","abstract":"

    Delete current user’s revenue history.

    ","parent_name":"People"},"Classes/People.html#/deleteUser()":{"name":"deleteUser()","abstract":"

    Delete current user’s record from Mixpanel People.

    ","parent_name":"People"},"Classes/MixpanelInstance.html#/apiToken":{"name":"apiToken","abstract":"

    apiToken string that identifies the project to track data to

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/delegate":{"name":"delegate","abstract":"

    The a MixpanelDelegate object that gives control over Mixpanel network activity.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/distinctId":{"name":"distinctId","abstract":"

    distinctId string that uniquely identifies the current user.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/anonymousId":{"name":"anonymousId","abstract":"

    anonymousId string that uniquely identifies the device.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/userId":{"name":"userId","abstract":"

    userId string that identify is called with.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/hadPersistedDistinctId":{"name":"hadPersistedDistinctId","abstract":"

    hadPersistedDistinctId is a boolean value which specifies that the stored distinct_id","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/alias":{"name":"alias","abstract":"

    alias string that uniquely identifies the current user.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/people":{"name":"people","abstract":"

    Accessor to the Mixpanel People API object.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/showNetworkActivityIndicator":{"name":"showNetworkActivityIndicator","abstract":"

    Controls whether to show spinning network activity indicator when flushing","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/trackAutomaticEventsEnabled":{"name":"trackAutomaticEventsEnabled","abstract":"

    This allows enabling or disabling collecting common mobile events,

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/flushInterval":{"name":"flushInterval","abstract":"

    Flush timer’s interval.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/flushOnBackground":{"name":"flushOnBackground","abstract":"

    Control whether the library should flush data to Mixpanel when the app","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/useIPAddressForGeoLocation":{"name":"useIPAddressForGeoLocation","abstract":"

    Controls whether to automatically send the client IP Address as part of","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/flushBatchSize":{"name":"flushBatchSize","abstract":"

    The flushBatchSize property determines the number of events sent in a single network request to the Mixpanel server.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/serverURL":{"name":"serverURL","abstract":"

    The base URL used for Mixpanel API requests.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/debugDescription":{"name":"debugDescription","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/loggingEnabled":{"name":"loggingEnabled","abstract":"

    This allows enabling or disabling of all Mixpanel logs at run time.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/name":{"name":"name","abstract":"

    A unique identifier for this MixpanelInstance

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/minimumSessionDuration":{"name":"minimumSessionDuration","abstract":"

    The minimum session duration (ms) that is tracked in automatic events.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/maximumSessionDuration":{"name":"maximumSessionDuration","abstract":"

    The maximum session duration (ms) that is tracked in automatic events.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/identify(distinctId:usePeople:completion:)":{"name":"identify(distinctId:usePeople:completion:)","abstract":"

    Sets the distinct ID of the current user.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/createAlias(_:distinctId:usePeople:andIdentify:completion:)":{"name":"createAlias(_:distinctId:usePeople:andIdentify:completion:)","abstract":"

    The alias method creates an alias which Mixpanel will use to remap one id to another.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/reset(completion:)":{"name":"reset(completion:)","abstract":"

    Clears all stored properties including the distinct Id.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/archive()":{"name":"archive()","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/flush(performFullFlush:completion:)":{"name":"flush(performFullFlush:completion:)","abstract":"

    Uploads queued data to the Mixpanel server.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/track(event:properties:)":{"name":"track(event:properties:)","abstract":"

    Tracks an event with properties.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/trackWithGroups(event:properties:groups:)":{"name":"trackWithGroups(event:properties:groups:)","abstract":"

    Tracks an event with properties and to specific groups.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/getGroup(groupKey:groupID:)":{"name":"getGroup(groupKey:groupID:)","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/time(event:)":{"name":"time(event:)","abstract":"

    Starts a timer that will be stopped and added as a property when a","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/eventElapsedTime(event:)":{"name":"eventElapsedTime(event:)","abstract":"

    Retrieves the time elapsed for the named event since time(event:) was called.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/clearTimedEvents()":{"name":"clearTimedEvents()","abstract":"

    Clears all current event timers.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/clearTimedEvent(event:)":{"name":"clearTimedEvent(event:)","abstract":"

    Clears the event timer for the named event.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/currentSuperProperties()":{"name":"currentSuperProperties()","abstract":"

    Returns the currently set super properties.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/clearSuperProperties()":{"name":"clearSuperProperties()","abstract":"

    Clears all currently set super properties.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/registerSuperProperties(_:)":{"name":"registerSuperProperties(_:)","abstract":"

    Registers super properties, overwriting ones that have already been set.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/registerSuperPropertiesOnce(_:defaultValue:)":{"name":"registerSuperPropertiesOnce(_:defaultValue:)","abstract":"

    Registers super properties without overwriting ones that have already been set,","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/unregisterSuperProperty(_:)":{"name":"unregisterSuperProperty(_:)","abstract":"

    Removes a previously registered super property.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/setGroup(groupKey:groupID:)":{"name":"setGroup(groupKey:groupID:)","abstract":"

    Convenience method to set a single group the user belongs to.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/setGroup(groupKey:groupIDs:)":{"name":"setGroup(groupKey:groupIDs:)","abstract":"

    Set the groups this user belongs to.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/addGroup(groupKey:groupID:)":{"name":"addGroup(groupKey:groupID:)","abstract":"

    Add a group to this user’s membership for a particular group key

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/removeGroup(groupKey:groupID:)":{"name":"removeGroup(groupKey:groupID:)","abstract":"

    Remove a group from this user’s membership for a particular group key

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/optOutTracking()":{"name":"optOutTracking()","abstract":"

    Opt out tracking.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/optInTracking(distinctId:properties:)":{"name":"optInTracking(distinctId:properties:)","abstract":"

    Opt in tracking.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/hasOptedOutTracking()":{"name":"hasOptedOutTracking()","abstract":"

    Returns if the current user has opted out tracking.

    ","parent_name":"MixpanelInstance"},"Classes/Mixpanel.html#/initialize(token:trackAutomaticEvents:flushInterval:instanceName:optOutTrackingByDefault:useUniqueDistinctId:superProperties:serverURL:)":{"name":"initialize(token:trackAutomaticEvents:flushInterval:instanceName:optOutTrackingByDefault:useUniqueDistinctId:superProperties:serverURL:)","abstract":"

    Initializes an instance of the API with the given project token.

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/initialize(token:flushInterval:instanceName:optOutTrackingByDefault:useUniqueDistinctId:superProperties:serverURL:)":{"name":"initialize(token:flushInterval:instanceName:optOutTrackingByDefault:useUniqueDistinctId:superProperties:serverURL:)","abstract":"

    Initializes an instance of the API with the given project token (MAC OS ONLY).

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/getInstance(name:)":{"name":"getInstance(name:)","abstract":"

    Gets the mixpanel instance with the given name

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/mainInstance()":{"name":"mainInstance()","abstract":"

    Returns the main instance that was initialized.

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/setMainInstance(name:)":{"name":"setMainInstance(name:)","abstract":"

    Sets the main instance based on the instance name

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/removeInstance(name:)":{"name":"removeInstance(name:)","abstract":"

    Removes an unneeded Mixpanel instance based on its name

    ","parent_name":"Mixpanel"},"Classes/Group.html#/set(properties:)":{"name":"set(properties:)","abstract":"

    Sets properties on this group.

    ","parent_name":"Group"},"Classes/Group.html#/set(property:to:)":{"name":"set(property:to:)","abstract":"

    Convenience method for setting a single property in Mixpanel Groups.

    ","parent_name":"Group"},"Classes/Group.html#/setOnce(properties:)":{"name":"setOnce(properties:)","abstract":"

    Sets properties on the current Mixpanel Group, but doesn’t overwrite if","parent_name":"Group"},"Classes/Group.html#/unset(property:)":{"name":"unset(property:)","abstract":"

    Remove a property and its value from a group’s profile in Mixpanel Groups.

    ","parent_name":"Group"},"Classes/Group.html#/remove(key:value:)":{"name":"remove(key:value:)","abstract":"

    Removes list properties.

    ","parent_name":"Group"},"Classes/Group.html#/union(key:values:)":{"name":"union(key:values:)","abstract":"

    Union list properties.

    ","parent_name":"Group"},"Classes/Group.html#/deleteGroup()":{"name":"deleteGroup()","abstract":"

    Delete group’s record from Mixpanel Groups.

    ","parent_name":"Group"},"Classes/Group.html":{"name":"Group","abstract":"

    Access to the Mixpanel Groups API, available through the getGroup function from"},"Classes/Mixpanel.html":{"name":"Mixpanel","abstract":"

    The primary class for integrating Mixpanel with your app.

    "},"Classes/MixpanelInstance.html":{"name":"MixpanelInstance","abstract":"

    The class that represents the Mixpanel Instance

    "},"Classes/People.html":{"name":"People","abstract":"

    Access to the Mixpanel People API, available as an accessible variable from"},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Extensions.html":{"name":"Extensions","abstract":"

    The following extensions are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Typealiases.html":{"name":"Type Aliases","abstract":"

    The following type aliases are available globally.

    "}} \ No newline at end of file +{"Typealiases.html#/s:8Mixpanel10Propertiesa":{"name":"Properties","abstract":"

    Undocumented

    "},"Protocols/MixpanelType.html#/s:8Mixpanel0A4TypeP013isValidNestedB8AndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"MixpanelType"},"Protocols/MixpanelType.html#/s:8Mixpanel0A4TypeP6equals3rhsSbAaB_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"MixpanelType"},"Protocols/MixpanelDelegate.html#/s:8Mixpanel0A8DelegateP17mixpanelWillFlushySbAA0A8InstanceCF":{"name":"mixpanelWillFlush(_:)","abstract":"

    Asks the delegate if data should be uploaded to the server.

    ","parent_name":"MixpanelDelegate"},"Protocols/MixpanelDelegate.html":{"name":"MixpanelDelegate","abstract":"

    Delegate protocol for controlling the Mixpanel API’s network behavior.

    "},"Protocols/MixpanelType.html":{"name":"MixpanelType","abstract":"

    Property keys must be String objects and the supported value types need to conform to MixpanelType."},"Extensions/Dictionary.html#/s:SD8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"Dictionary"},"Extensions/Dictionary.html#/s:SD8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"Dictionary"},"Extensions/NSArray.html#/s:So7NSArrayC8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"NSArray"},"Extensions/NSArray.html#/s:So7NSArrayC8MixpanelE6equals3rhsSbAC0B4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"NSArray"},"Extensions/Array.html#/s:Sa8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"Array"},"Extensions/Array.html#/s:Sa8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"Array"},"Extensions/NSNull.html#/s:So6NSNullC8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"NSNull"},"Extensions/NSNull.html#/s:So6NSNullC8MixpanelE6equals3rhsSbAC0B4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"NSNull"},"Extensions/URL.html#/s:10Foundation3URLV8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"URL"},"Extensions/URL.html#/s:10Foundation3URLV8MixpanelE6equals3rhsSbAD0C4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"URL"},"Extensions/Date.html#/s:10Foundation4DateV8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Date"},"Extensions/Date.html#/s:10Foundation4DateV8MixpanelE6equals3rhsSbAD0C4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"Date"},"Extensions/Bool.html#/s:Sb8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Bool"},"Extensions/Bool.html#/s:Sb8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"Bool"},"Extensions/Float.html#/s:Sf8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Float"},"Extensions/Float.html#/s:Sf8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"Float"},"Extensions/Double.html#/s:Sd8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Double"},"Extensions/Double.html#/s:Sd8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"Double"},"Extensions/UInt.html#/s:Su8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"UInt"},"Extensions/UInt.html#/s:Su8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"UInt"},"Extensions/Int.html#/s:Si8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Int"},"Extensions/Int.html#/s:Si8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"Int"},"Extensions/NSNumber.html#/s:So8NSNumberC8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"NSNumber"},"Extensions/NSNumber.html#/s:So8NSNumberC8MixpanelE6equals3rhsSbAC0B4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"NSNumber"},"Extensions/NSString.html#/s:So8NSStringC8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"NSString"},"Extensions/NSString.html#/s:So8NSStringC8MixpanelE6equals3rhsSbAC0B4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"NSString"},"Extensions/String.html#/s:SS8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"String"},"Extensions/String.html#/s:SS8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"String"},"Extensions/Optional.html#/s:Sq8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"Optional"},"Extensions/Optional.html#/s:Sq8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"Optional"},"Extensions/Optional.html":{"name":"Optional"},"Extensions/String.html":{"name":"String"},"Extensions/NSString.html":{"name":"NSString"},"Extensions/NSNumber.html":{"name":"NSNumber"},"Extensions/Int.html":{"name":"Int"},"Extensions/UInt.html":{"name":"UInt"},"Extensions/Double.html":{"name":"Double"},"Extensions/Float.html":{"name":"Float"},"Extensions/Bool.html":{"name":"Bool"},"Extensions/Date.html":{"name":"Date"},"Extensions/URL.html":{"name":"URL"},"Extensions/NSNull.html":{"name":"NSNull"},"Extensions/Array.html":{"name":"Array"},"Extensions/NSArray.html":{"name":"NSArray"},"Extensions/Dictionary.html":{"name":"Dictionary"},"Classes/People.html#/s:8Mixpanel6PeopleC10ignoreTimeSbvp":{"name":"ignoreTime","abstract":"

    controls the $ignore_time property in any subsequent MixpanelPeople operation.","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC3set10propertiesySDySSAA0A4Type_pG_tF":{"name":"set(properties:)","abstract":"

    Set properties on the current user in Mixpanel People.

    ","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC3set8property2toySS_AA0A4Type_ptF":{"name":"set(property:to:)","abstract":"

    Convenience method for setting a single property in Mixpanel People.

    ","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC7setOnce10propertiesySDySSAA0A4Type_pG_tF":{"name":"setOnce(properties:)","abstract":"

    Set properties on the current user in Mixpanel People, but doesn’t overwrite if","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC5unset10propertiesySaySSG_tF":{"name":"unset(properties:)","abstract":"

    Remove a list of properties and their values from the current user’s profile","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC9increment10propertiesySDySSAA0A4Type_pG_tF":{"name":"increment(properties:)","abstract":"

    Increment the given numeric properties by the given values.

    ","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC9increment8property2byySS_SdtF":{"name":"increment(property:by:)","abstract":"

    Convenience method for incrementing a single numeric property by the specified","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC6append10propertiesySDySSAA0A4Type_pG_tF":{"name":"append(properties:)","abstract":"

    Append values to list properties.

    ","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC6remove10propertiesySDySSAA0A4Type_pG_tF":{"name":"remove(properties:)","abstract":"

    Removes list properties.

    ","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC5union10propertiesySDySSAA0A4Type_pG_tF":{"name":"union(properties:)","abstract":"

    Union list properties.

    ","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC11trackCharge6amount10propertiesySd_SDySSAA0A4Type_pGSgtF":{"name":"trackCharge(amount:properties:)","abstract":"

    Track money spent by the current user for revenue analytics and associate","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC12clearChargesyyF":{"name":"clearCharges()","abstract":"

    Delete current user’s revenue history.

    ","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC10deleteUseryyF":{"name":"deleteUser()","abstract":"

    Delete current user’s record from Mixpanel People.

    ","parent_name":"People"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC8apiTokenSSvp":{"name":"apiToken","abstract":"

    apiToken string that identifies the project to track data to

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC8delegateAA0A8Delegate_pSgvp":{"name":"delegate","abstract":"

    The a MixpanelDelegate object that gives control over Mixpanel network activity.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC10distinctIdSSvp":{"name":"distinctId","abstract":"

    distinctId string that uniquely identifies the current user.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC11anonymousIdSSSgvp":{"name":"anonymousId","abstract":"

    anonymousId string that uniquely identifies the device.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC6userIdSSSgvp":{"name":"userId","abstract":"

    userId string that identify is called with.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC22hadPersistedDistinctIdSbSgvp":{"name":"hadPersistedDistinctId","abstract":"

    hadPersistedDistinctId is a boolean value which specifies that the stored distinct_id","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC5aliasSSSgvp":{"name":"alias","abstract":"

    alias string that uniquely identifies the current user.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC6peopleAA6PeopleCSgvp":{"name":"people","abstract":"

    Accessor to the Mixpanel People API object.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC28showNetworkActivityIndicatorSbvp":{"name":"showNetworkActivityIndicator","abstract":"

    Controls whether to show spinning network activity indicator when flushing","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC27trackAutomaticEventsEnabledSbvp":{"name":"trackAutomaticEventsEnabled","abstract":"

    This allows enabling or disabling collecting common mobile events,

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC13flushIntervalSdvp":{"name":"flushInterval","abstract":"

    Flush timer’s interval.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC17flushOnBackgroundSbvp":{"name":"flushOnBackground","abstract":"

    Control whether the library should flush data to Mixpanel when the app","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC26useIPAddressForGeoLocationSbvp":{"name":"useIPAddressForGeoLocation","abstract":"

    Controls whether to automatically send the client IP Address as part of","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC14flushBatchSizeSivp":{"name":"flushBatchSize","abstract":"

    The flushBatchSize property determines the number of events sent in a single network request to the Mixpanel server.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC9serverURLSSvp":{"name":"serverURL","abstract":"

    The base URL used for Mixpanel API requests.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp":{"name":"debugDescription","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC14loggingEnabledSbvp":{"name":"loggingEnabled","abstract":"

    This allows enabling or disabling of all Mixpanel logs at run time.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC4nameSSvp":{"name":"name","abstract":"

    A unique identifier for this MixpanelInstance

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC22minimumSessionDurations6UInt64Vvp":{"name":"minimumSessionDuration","abstract":"

    Undocumented

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC22maximumSessionDurations6UInt64Vvp":{"name":"maximumSessionDuration","abstract":"

    The maximum session duration (ms) that is tracked in automatic events.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC8identify10distinctId9usePeople10completionySS_SbyycSgtF":{"name":"identify(distinctId:usePeople:completion:)","abstract":"

    Sets the distinct ID of the current user.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC11createAlias_10distinctId9usePeople11andIdentify10completionySS_SSS2byycSgtF":{"name":"createAlias(_:distinctId:usePeople:andIdentify:completion:)","abstract":"

    The alias method creates an alias which Mixpanel will use to remap one id to another.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC5reset10completionyyycSg_tF":{"name":"reset(completion:)","abstract":"

    Clears all stored properties including the distinct Id.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC7archiveyyF":{"name":"archive()","abstract":"

    Undocumented

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC5flush16performFullFlush10completionySb_yycSgtF":{"name":"flush(performFullFlush:completion:)","abstract":"

    Uploads queued data to the Mixpanel server.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC5track5event10propertiesySSSg_SDySSAA0A4Type_pGSgtF":{"name":"track(event:properties:)","abstract":"

    Tracks an event with properties.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC15trackWithGroups5event10properties6groupsySSSg_SDySSAA0A4Type_pGSgAKtF":{"name":"trackWithGroups(event:properties:groups:)","abstract":"

    Tracks an event with properties and to specific groups.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC8getGroup8groupKey0E2IDAA0D0CSS_AA0A4Type_ptF":{"name":"getGroup(groupKey:groupID:)","abstract":"

    Undocumented

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC4time5eventySS_tF":{"name":"time(event:)","abstract":"

    Starts a timer that will be stopped and added as a property when a","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC16eventElapsedTime0C0SdSS_tF":{"name":"eventElapsedTime(event:)","abstract":"

    Retrieves the time elapsed for the named event since time(event:) was called.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC16clearTimedEventsyyF":{"name":"clearTimedEvents()","abstract":"

    Clears all current event timers.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC15clearTimedEvent5eventySS_tF":{"name":"clearTimedEvent(event:)","abstract":"

    Clears the event timer for the named event.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC22currentSuperPropertiesSDySSypGyF":{"name":"currentSuperProperties()","abstract":"

    Returns the currently set super properties.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC20clearSuperPropertiesyyF":{"name":"clearSuperProperties()","abstract":"

    Clears all currently set super properties.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC23registerSuperPropertiesyySDySSAA0A4Type_pGF":{"name":"registerSuperProperties(_:)","abstract":"

    Registers super properties, overwriting ones that have already been set.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC27registerSuperPropertiesOnce_12defaultValueySDySSAA0A4Type_pG_AaF_pSgtF":{"name":"registerSuperPropertiesOnce(_:defaultValue:)","abstract":"

    Registers super properties without overwriting ones that have already been set,","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC23unregisterSuperPropertyyySSF":{"name":"unregisterSuperProperty(_:)","abstract":"

    Removes a previously registered super property.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC8setGroup8groupKey0E2IDySS_AA0A4Type_ptF":{"name":"setGroup(groupKey:groupID:)","abstract":"

    Convenience method to set a single group the user belongs to.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC8setGroup8groupKey0E3IDsySS_SayAA0A4Type_pGtF":{"name":"setGroup(groupKey:groupIDs:)","abstract":"

    Set the groups this user belongs to.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC8addGroup8groupKey0E2IDySS_AA0A4Type_ptF":{"name":"addGroup(groupKey:groupID:)","abstract":"

    Add a group to this user’s membership for a particular group key

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC11removeGroup8groupKey0E2IDySS_AA0A4Type_ptF":{"name":"removeGroup(groupKey:groupID:)","abstract":"

    Remove a group from this user’s membership for a particular group key

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC14optOutTrackingyyF":{"name":"optOutTracking()","abstract":"

    Opt out tracking.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC13optInTracking10distinctId10propertiesySSSg_SDySSAA0A4Type_pGSgtF":{"name":"optInTracking(distinctId:properties:)","abstract":"

    Opt in tracking.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC19hasOptedOutTrackingSbyF":{"name":"hasOptedOutTracking()","abstract":"

    Returns if the current user has opted out tracking.

    ","parent_name":"MixpanelInstance"},"Classes/Mixpanel.html#/s:8MixpanelAAC10initialize5token20trackAutomaticEvents13flushInterval12instanceName23optOutTrackingByDefault19useUniqueDistinctId15superProperties9serverURLAA0A8InstanceCSS_SbSdSSSgS2bSDySSAA0A4Type_pGSgANtFZ":{"name":"initialize(token:trackAutomaticEvents:flushInterval:instanceName:optOutTrackingByDefault:useUniqueDistinctId:superProperties:serverURL:)","abstract":"

    Initializes an instance of the API with the given project token.

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/initialize(token:flushInterval:instanceName:optOutTrackingByDefault:useUniqueDistinctId:superProperties:serverURL:)":{"name":"initialize(token:flushInterval:instanceName:optOutTrackingByDefault:useUniqueDistinctId:superProperties:serverURL:)","abstract":"

    Initializes an instance of the API with the given project token (MAC OS ONLY).

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/s:8MixpanelAAC11getInstance4nameAA0aC0CSgSS_tFZ":{"name":"getInstance(name:)","abstract":"

    Gets the mixpanel instance with the given name

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/s:8MixpanelAAC12mainInstanceAA0aC0CyFZ":{"name":"mainInstance()","abstract":"

    Returns the main instance that was initialized.

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/s:8MixpanelAAC15setMainInstance4nameySS_tFZ":{"name":"setMainInstance(name:)","abstract":"

    Sets the main instance based on the instance name

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/s:8MixpanelAAC14removeInstance4nameySS_tFZ":{"name":"removeInstance(name:)","abstract":"

    Removes an unneeded Mixpanel instance based on its name

    ","parent_name":"Mixpanel"},"Classes/Group.html#/s:8Mixpanel5GroupC3set10propertiesySDySSAA0A4Type_pG_tF":{"name":"set(properties:)","abstract":"

    Sets properties on this group.

    ","parent_name":"Group"},"Classes/Group.html#/s:8Mixpanel5GroupC3set8property2toySS_AA0A4Type_ptF":{"name":"set(property:to:)","abstract":"

    Convenience method for setting a single property in Mixpanel Groups.

    ","parent_name":"Group"},"Classes/Group.html#/s:8Mixpanel5GroupC7setOnce10propertiesySDySSAA0A4Type_pG_tF":{"name":"setOnce(properties:)","abstract":"

    Sets properties on the current Mixpanel Group, but doesn’t overwrite if","parent_name":"Group"},"Classes/Group.html#/s:8Mixpanel5GroupC5unset8propertyySS_tF":{"name":"unset(property:)","abstract":"

    Remove a property and its value from a group’s profile in Mixpanel Groups.

    ","parent_name":"Group"},"Classes/Group.html#/s:8Mixpanel5GroupC6remove3key5valueySS_AA0A4Type_ptF":{"name":"remove(key:value:)","abstract":"

    Removes list properties.

    ","parent_name":"Group"},"Classes/Group.html#/s:8Mixpanel5GroupC5union3key6valuesySS_SayAA0A4Type_pGtF":{"name":"union(key:values:)","abstract":"

    Union list properties.

    ","parent_name":"Group"},"Classes/Group.html#/s:8Mixpanel5GroupC06deleteB0yyF":{"name":"deleteGroup()","abstract":"

    Delete group’s record from Mixpanel Groups.

    ","parent_name":"Group"},"Classes/Group.html":{"name":"Group","abstract":"

    Access to the Mixpanel Groups API, available through the getGroup function from"},"Classes/Mixpanel.html":{"name":"Mixpanel","abstract":"

    The primary class for integrating Mixpanel with your app.

    "},"Classes/MixpanelInstance.html":{"name":"MixpanelInstance","abstract":"

    The class that represents the Mixpanel Instance

    "},"Classes/People.html":{"name":"People","abstract":"

    Access to the Mixpanel People API, available as an accessible variable from"},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Extensions.html":{"name":"Extensions","abstract":"

    The following extensions are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Typealiases.html":{"name":"Type Aliases","abstract":"

    The following type aliases are available globally.

    "}} \ No newline at end of file diff --git a/docs/docsets/Mixpanel.docset/Contents/Resources/docSet.dsidx b/docs/docsets/Mixpanel.docset/Contents/Resources/docSet.dsidx index c81e1343..80e89fa0 100644 Binary files a/docs/docsets/Mixpanel.docset/Contents/Resources/docSet.dsidx and b/docs/docsets/Mixpanel.docset/Contents/Resources/docSet.dsidx differ diff --git a/docs/docsets/Mixpanel.tgz b/docs/docsets/Mixpanel.tgz index 82564a08..ae47dad6 100644 Binary files a/docs/docsets/Mixpanel.tgz and b/docs/docsets/Mixpanel.tgz differ diff --git a/docs/index.html b/docs/index.html index 1256e072..4b7be01a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -16,7 +16,7 @@
    -

    Mixpanel 4.2.0 Docs (0% documented)

    +

    Mixpanel 4.2.1 Docs (84% documented)

    GitHubView on GitHub

    @@ -117,7 +117,7 @@ Type Aliases @@ -207,7 +207,7 @@

    2. Initialize Mixpanel

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { ... - Mixpanel.initialize(token: "MIXPANEL_TOKEN", trackAutomaticEvents: true) + Mixpanel.initialize(token: "MIXPANEL_TOKEN", trackAutomaticEvents: false) ... } @@ -238,7 +238,7 @@

    Complete Code Example

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { ... - Mixpanel.initialize(token: "MIXPANEL_TOKEN", trackAutomaticEvents: true) + Mixpanel.initialize(token: "MIXPANEL_TOKEN", trackAutomaticEvents: false) Mixpanel.mainInstance().track(event: "Sign Up", properties: [ "source": "Pat's affiliate site", "Opted out of email": true @@ -288,7 +288,7 @@

    I want to know more!

    diff --git a/docs/search.json b/docs/search.json index 504b8654..277197b0 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -{"Typealiases.html#/Properties":{"name":"Properties"},"Protocols/MixpanelType.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"MixpanelType"},"Protocols/MixpanelType.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"MixpanelType"},"Protocols/MixpanelDelegate.html#/mixpanelWillFlush(_:)":{"name":"mixpanelWillFlush(_:)","abstract":"

    Asks the delegate if data should be uploaded to the server.

    ","parent_name":"MixpanelDelegate"},"Protocols/MixpanelDelegate.html":{"name":"MixpanelDelegate","abstract":"

    Delegate protocol for controlling the Mixpanel API’s network behavior.

    "},"Protocols/MixpanelType.html":{"name":"MixpanelType","abstract":"

    Property keys must be String objects and the supported value types need to conform to MixpanelType."},"Extensions/Dictionary.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"Dictionary"},"Extensions/Dictionary.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"Dictionary"},"Extensions/NSArray.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"NSArray"},"Extensions/NSArray.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"NSArray"},"Extensions/Array.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"Array"},"Extensions/Array.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"Array"},"Extensions/NSNull.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"NSNull"},"Extensions/NSNull.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"NSNull"},"Extensions/URL.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"URL"},"Extensions/URL.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"URL"},"Extensions/Date.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Date"},"Extensions/Date.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"Date"},"Extensions/Bool.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Bool"},"Extensions/Bool.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"Bool"},"Extensions/Float.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Float"},"Extensions/Float.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"Float"},"Extensions/Double.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Double"},"Extensions/Double.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"Double"},"Extensions/UInt.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"UInt"},"Extensions/UInt.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"UInt"},"Extensions/Int.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Int"},"Extensions/Int.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"Int"},"Extensions/NSNumber.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"NSNumber"},"Extensions/NSNumber.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"NSNumber"},"Extensions/NSString.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"NSString"},"Extensions/NSString.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"NSString"},"Extensions/String.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"String"},"Extensions/String.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"String"},"Extensions/Optional.html#/isValidNestedTypeAndValue()":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"Optional"},"Extensions/Optional.html#/equals(rhs:)":{"name":"equals(rhs:)","parent_name":"Optional"},"Extensions/Optional.html":{"name":"Optional"},"Extensions/String.html":{"name":"String"},"Extensions/NSString.html":{"name":"NSString"},"Extensions/NSNumber.html":{"name":"NSNumber"},"Extensions/Int.html":{"name":"Int"},"Extensions/UInt.html":{"name":"UInt"},"Extensions/Double.html":{"name":"Double"},"Extensions/Float.html":{"name":"Float"},"Extensions/Bool.html":{"name":"Bool"},"Extensions/Date.html":{"name":"Date"},"Extensions/URL.html":{"name":"URL"},"Extensions/NSNull.html":{"name":"NSNull"},"Extensions/Array.html":{"name":"Array"},"Extensions/NSArray.html":{"name":"NSArray"},"Extensions/Dictionary.html":{"name":"Dictionary"},"Classes/People.html#/ignoreTime":{"name":"ignoreTime","abstract":"

    controls the $ignore_time property in any subsequent MixpanelPeople operation.","parent_name":"People"},"Classes/People.html#/set(properties:)":{"name":"set(properties:)","abstract":"

    Set properties on the current user in Mixpanel People.

    ","parent_name":"People"},"Classes/People.html#/set(property:to:)":{"name":"set(property:to:)","abstract":"

    Convenience method for setting a single property in Mixpanel People.

    ","parent_name":"People"},"Classes/People.html#/setOnce(properties:)":{"name":"setOnce(properties:)","abstract":"

    Set properties on the current user in Mixpanel People, but doesn’t overwrite if","parent_name":"People"},"Classes/People.html#/unset(properties:)":{"name":"unset(properties:)","abstract":"

    Remove a list of properties and their values from the current user’s profile","parent_name":"People"},"Classes/People.html#/increment(properties:)":{"name":"increment(properties:)","abstract":"

    Increment the given numeric properties by the given values.

    ","parent_name":"People"},"Classes/People.html#/increment(property:by:)":{"name":"increment(property:by:)","abstract":"

    Convenience method for incrementing a single numeric property by the specified","parent_name":"People"},"Classes/People.html#/append(properties:)":{"name":"append(properties:)","abstract":"

    Append values to list properties.

    ","parent_name":"People"},"Classes/People.html#/remove(properties:)":{"name":"remove(properties:)","abstract":"

    Removes list properties.

    ","parent_name":"People"},"Classes/People.html#/union(properties:)":{"name":"union(properties:)","abstract":"

    Union list properties.

    ","parent_name":"People"},"Classes/People.html#/trackCharge(amount:properties:)":{"name":"trackCharge(amount:properties:)","abstract":"

    Track money spent by the current user for revenue analytics and associate","parent_name":"People"},"Classes/People.html#/clearCharges()":{"name":"clearCharges()","abstract":"

    Delete current user’s revenue history.

    ","parent_name":"People"},"Classes/People.html#/deleteUser()":{"name":"deleteUser()","abstract":"

    Delete current user’s record from Mixpanel People.

    ","parent_name":"People"},"Classes/MixpanelInstance.html#/apiToken":{"name":"apiToken","abstract":"

    apiToken string that identifies the project to track data to

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/delegate":{"name":"delegate","abstract":"

    The a MixpanelDelegate object that gives control over Mixpanel network activity.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/distinctId":{"name":"distinctId","abstract":"

    distinctId string that uniquely identifies the current user.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/anonymousId":{"name":"anonymousId","abstract":"

    anonymousId string that uniquely identifies the device.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/userId":{"name":"userId","abstract":"

    userId string that identify is called with.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/hadPersistedDistinctId":{"name":"hadPersistedDistinctId","abstract":"

    hadPersistedDistinctId is a boolean value which specifies that the stored distinct_id","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/alias":{"name":"alias","abstract":"

    alias string that uniquely identifies the current user.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/people":{"name":"people","abstract":"

    Accessor to the Mixpanel People API object.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/showNetworkActivityIndicator":{"name":"showNetworkActivityIndicator","abstract":"

    Controls whether to show spinning network activity indicator when flushing","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/trackAutomaticEventsEnabled":{"name":"trackAutomaticEventsEnabled","abstract":"

    This allows enabling or disabling collecting common mobile events,

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/flushInterval":{"name":"flushInterval","abstract":"

    Flush timer’s interval.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/flushOnBackground":{"name":"flushOnBackground","abstract":"

    Control whether the library should flush data to Mixpanel when the app","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/useIPAddressForGeoLocation":{"name":"useIPAddressForGeoLocation","abstract":"

    Controls whether to automatically send the client IP Address as part of","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/flushBatchSize":{"name":"flushBatchSize","abstract":"

    The flushBatchSize property determines the number of events sent in a single network request to the Mixpanel server.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/serverURL":{"name":"serverURL","abstract":"

    The base URL used for Mixpanel API requests.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/debugDescription":{"name":"debugDescription","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/loggingEnabled":{"name":"loggingEnabled","abstract":"

    This allows enabling or disabling of all Mixpanel logs at run time.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/name":{"name":"name","abstract":"

    A unique identifier for this MixpanelInstance

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/minimumSessionDuration":{"name":"minimumSessionDuration","abstract":"

    The minimum session duration (ms) that is tracked in automatic events.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/maximumSessionDuration":{"name":"maximumSessionDuration","abstract":"

    The maximum session duration (ms) that is tracked in automatic events.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/identify(distinctId:usePeople:completion:)":{"name":"identify(distinctId:usePeople:completion:)","abstract":"

    Sets the distinct ID of the current user.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/createAlias(_:distinctId:usePeople:andIdentify:completion:)":{"name":"createAlias(_:distinctId:usePeople:andIdentify:completion:)","abstract":"

    The alias method creates an alias which Mixpanel will use to remap one id to another.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/reset(completion:)":{"name":"reset(completion:)","abstract":"

    Clears all stored properties including the distinct Id.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/archive()":{"name":"archive()","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/flush(performFullFlush:completion:)":{"name":"flush(performFullFlush:completion:)","abstract":"

    Uploads queued data to the Mixpanel server.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/track(event:properties:)":{"name":"track(event:properties:)","abstract":"

    Tracks an event with properties.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/trackWithGroups(event:properties:groups:)":{"name":"trackWithGroups(event:properties:groups:)","abstract":"

    Tracks an event with properties and to specific groups.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/getGroup(groupKey:groupID:)":{"name":"getGroup(groupKey:groupID:)","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/time(event:)":{"name":"time(event:)","abstract":"

    Starts a timer that will be stopped and added as a property when a","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/eventElapsedTime(event:)":{"name":"eventElapsedTime(event:)","abstract":"

    Retrieves the time elapsed for the named event since time(event:) was called.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/clearTimedEvents()":{"name":"clearTimedEvents()","abstract":"

    Clears all current event timers.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/clearTimedEvent(event:)":{"name":"clearTimedEvent(event:)","abstract":"

    Clears the event timer for the named event.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/currentSuperProperties()":{"name":"currentSuperProperties()","abstract":"

    Returns the currently set super properties.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/clearSuperProperties()":{"name":"clearSuperProperties()","abstract":"

    Clears all currently set super properties.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/registerSuperProperties(_:)":{"name":"registerSuperProperties(_:)","abstract":"

    Registers super properties, overwriting ones that have already been set.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/registerSuperPropertiesOnce(_:defaultValue:)":{"name":"registerSuperPropertiesOnce(_:defaultValue:)","abstract":"

    Registers super properties without overwriting ones that have already been set,","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/unregisterSuperProperty(_:)":{"name":"unregisterSuperProperty(_:)","abstract":"

    Removes a previously registered super property.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/setGroup(groupKey:groupID:)":{"name":"setGroup(groupKey:groupID:)","abstract":"

    Convenience method to set a single group the user belongs to.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/setGroup(groupKey:groupIDs:)":{"name":"setGroup(groupKey:groupIDs:)","abstract":"

    Set the groups this user belongs to.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/addGroup(groupKey:groupID:)":{"name":"addGroup(groupKey:groupID:)","abstract":"

    Add a group to this user’s membership for a particular group key

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/removeGroup(groupKey:groupID:)":{"name":"removeGroup(groupKey:groupID:)","abstract":"

    Remove a group from this user’s membership for a particular group key

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/optOutTracking()":{"name":"optOutTracking()","abstract":"

    Opt out tracking.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/optInTracking(distinctId:properties:)":{"name":"optInTracking(distinctId:properties:)","abstract":"

    Opt in tracking.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/hasOptedOutTracking()":{"name":"hasOptedOutTracking()","abstract":"

    Returns if the current user has opted out tracking.

    ","parent_name":"MixpanelInstance"},"Classes/Mixpanel.html#/initialize(token:trackAutomaticEvents:flushInterval:instanceName:optOutTrackingByDefault:useUniqueDistinctId:superProperties:serverURL:)":{"name":"initialize(token:trackAutomaticEvents:flushInterval:instanceName:optOutTrackingByDefault:useUniqueDistinctId:superProperties:serverURL:)","abstract":"

    Initializes an instance of the API with the given project token.

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/initialize(token:flushInterval:instanceName:optOutTrackingByDefault:useUniqueDistinctId:superProperties:serverURL:)":{"name":"initialize(token:flushInterval:instanceName:optOutTrackingByDefault:useUniqueDistinctId:superProperties:serverURL:)","abstract":"

    Initializes an instance of the API with the given project token (MAC OS ONLY).

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/getInstance(name:)":{"name":"getInstance(name:)","abstract":"

    Gets the mixpanel instance with the given name

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/mainInstance()":{"name":"mainInstance()","abstract":"

    Returns the main instance that was initialized.

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/setMainInstance(name:)":{"name":"setMainInstance(name:)","abstract":"

    Sets the main instance based on the instance name

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/removeInstance(name:)":{"name":"removeInstance(name:)","abstract":"

    Removes an unneeded Mixpanel instance based on its name

    ","parent_name":"Mixpanel"},"Classes/Group.html#/set(properties:)":{"name":"set(properties:)","abstract":"

    Sets properties on this group.

    ","parent_name":"Group"},"Classes/Group.html#/set(property:to:)":{"name":"set(property:to:)","abstract":"

    Convenience method for setting a single property in Mixpanel Groups.

    ","parent_name":"Group"},"Classes/Group.html#/setOnce(properties:)":{"name":"setOnce(properties:)","abstract":"

    Sets properties on the current Mixpanel Group, but doesn’t overwrite if","parent_name":"Group"},"Classes/Group.html#/unset(property:)":{"name":"unset(property:)","abstract":"

    Remove a property and its value from a group’s profile in Mixpanel Groups.

    ","parent_name":"Group"},"Classes/Group.html#/remove(key:value:)":{"name":"remove(key:value:)","abstract":"

    Removes list properties.

    ","parent_name":"Group"},"Classes/Group.html#/union(key:values:)":{"name":"union(key:values:)","abstract":"

    Union list properties.

    ","parent_name":"Group"},"Classes/Group.html#/deleteGroup()":{"name":"deleteGroup()","abstract":"

    Delete group’s record from Mixpanel Groups.

    ","parent_name":"Group"},"Classes/Group.html":{"name":"Group","abstract":"

    Access to the Mixpanel Groups API, available through the getGroup function from"},"Classes/Mixpanel.html":{"name":"Mixpanel","abstract":"

    The primary class for integrating Mixpanel with your app.

    "},"Classes/MixpanelInstance.html":{"name":"MixpanelInstance","abstract":"

    The class that represents the Mixpanel Instance

    "},"Classes/People.html":{"name":"People","abstract":"

    Access to the Mixpanel People API, available as an accessible variable from"},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Extensions.html":{"name":"Extensions","abstract":"

    The following extensions are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Typealiases.html":{"name":"Type Aliases","abstract":"

    The following type aliases are available globally.

    "}} \ No newline at end of file +{"Typealiases.html#/s:8Mixpanel10Propertiesa":{"name":"Properties","abstract":"

    Undocumented

    "},"Protocols/MixpanelType.html#/s:8Mixpanel0A4TypeP013isValidNestedB8AndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"MixpanelType"},"Protocols/MixpanelType.html#/s:8Mixpanel0A4TypeP6equals3rhsSbAaB_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"MixpanelType"},"Protocols/MixpanelDelegate.html#/s:8Mixpanel0A8DelegateP17mixpanelWillFlushySbAA0A8InstanceCF":{"name":"mixpanelWillFlush(_:)","abstract":"

    Asks the delegate if data should be uploaded to the server.

    ","parent_name":"MixpanelDelegate"},"Protocols/MixpanelDelegate.html":{"name":"MixpanelDelegate","abstract":"

    Delegate protocol for controlling the Mixpanel API’s network behavior.

    "},"Protocols/MixpanelType.html":{"name":"MixpanelType","abstract":"

    Property keys must be String objects and the supported value types need to conform to MixpanelType."},"Extensions/Dictionary.html#/s:SD8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"Dictionary"},"Extensions/Dictionary.html#/s:SD8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"Dictionary"},"Extensions/NSArray.html#/s:So7NSArrayC8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"NSArray"},"Extensions/NSArray.html#/s:So7NSArrayC8MixpanelE6equals3rhsSbAC0B4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"NSArray"},"Extensions/Array.html#/s:Sa8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"Array"},"Extensions/Array.html#/s:Sa8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"Array"},"Extensions/NSNull.html#/s:So6NSNullC8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"NSNull"},"Extensions/NSNull.html#/s:So6NSNullC8MixpanelE6equals3rhsSbAC0B4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"NSNull"},"Extensions/URL.html#/s:10Foundation3URLV8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"URL"},"Extensions/URL.html#/s:10Foundation3URLV8MixpanelE6equals3rhsSbAD0C4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"URL"},"Extensions/Date.html#/s:10Foundation4DateV8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Date"},"Extensions/Date.html#/s:10Foundation4DateV8MixpanelE6equals3rhsSbAD0C4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"Date"},"Extensions/Bool.html#/s:Sb8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Bool"},"Extensions/Bool.html#/s:Sb8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"Bool"},"Extensions/Float.html#/s:Sf8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Float"},"Extensions/Float.html#/s:Sf8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"Float"},"Extensions/Double.html#/s:Sd8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Double"},"Extensions/Double.html#/s:Sd8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"Double"},"Extensions/UInt.html#/s:Su8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"UInt"},"Extensions/UInt.html#/s:Su8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"UInt"},"Extensions/Int.html#/s:Si8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"Int"},"Extensions/Int.html#/s:Si8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"Int"},"Extensions/NSNumber.html#/s:So8NSNumberC8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"NSNumber"},"Extensions/NSNumber.html#/s:So8NSNumberC8MixpanelE6equals3rhsSbAC0B4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"NSNumber"},"Extensions/NSString.html#/s:So8NSStringC8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"NSString"},"Extensions/NSString.html#/s:So8NSStringC8MixpanelE6equals3rhsSbAC0B4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"NSString"},"Extensions/String.html#/s:SS8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.","parent_name":"String"},"Extensions/String.html#/s:SS8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"String"},"Extensions/Optional.html#/s:Sq8MixpanelE25isValidNestedTypeAndValueSbyF":{"name":"isValidNestedTypeAndValue()","abstract":"

    Checks if this object has nested object types that Mixpanel supports.

    ","parent_name":"Optional"},"Extensions/Optional.html#/s:Sq8MixpanelE6equals3rhsSbAA0A4Type_p_tF":{"name":"equals(rhs:)","abstract":"

    Undocumented

    ","parent_name":"Optional"},"Extensions/Optional.html":{"name":"Optional"},"Extensions/String.html":{"name":"String"},"Extensions/NSString.html":{"name":"NSString"},"Extensions/NSNumber.html":{"name":"NSNumber"},"Extensions/Int.html":{"name":"Int"},"Extensions/UInt.html":{"name":"UInt"},"Extensions/Double.html":{"name":"Double"},"Extensions/Float.html":{"name":"Float"},"Extensions/Bool.html":{"name":"Bool"},"Extensions/Date.html":{"name":"Date"},"Extensions/URL.html":{"name":"URL"},"Extensions/NSNull.html":{"name":"NSNull"},"Extensions/Array.html":{"name":"Array"},"Extensions/NSArray.html":{"name":"NSArray"},"Extensions/Dictionary.html":{"name":"Dictionary"},"Classes/People.html#/s:8Mixpanel6PeopleC10ignoreTimeSbvp":{"name":"ignoreTime","abstract":"

    controls the $ignore_time property in any subsequent MixpanelPeople operation.","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC3set10propertiesySDySSAA0A4Type_pG_tF":{"name":"set(properties:)","abstract":"

    Set properties on the current user in Mixpanel People.

    ","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC3set8property2toySS_AA0A4Type_ptF":{"name":"set(property:to:)","abstract":"

    Convenience method for setting a single property in Mixpanel People.

    ","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC7setOnce10propertiesySDySSAA0A4Type_pG_tF":{"name":"setOnce(properties:)","abstract":"

    Set properties on the current user in Mixpanel People, but doesn’t overwrite if","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC5unset10propertiesySaySSG_tF":{"name":"unset(properties:)","abstract":"

    Remove a list of properties and their values from the current user’s profile","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC9increment10propertiesySDySSAA0A4Type_pG_tF":{"name":"increment(properties:)","abstract":"

    Increment the given numeric properties by the given values.

    ","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC9increment8property2byySS_SdtF":{"name":"increment(property:by:)","abstract":"

    Convenience method for incrementing a single numeric property by the specified","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC6append10propertiesySDySSAA0A4Type_pG_tF":{"name":"append(properties:)","abstract":"

    Append values to list properties.

    ","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC6remove10propertiesySDySSAA0A4Type_pG_tF":{"name":"remove(properties:)","abstract":"

    Removes list properties.

    ","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC5union10propertiesySDySSAA0A4Type_pG_tF":{"name":"union(properties:)","abstract":"

    Union list properties.

    ","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC11trackCharge6amount10propertiesySd_SDySSAA0A4Type_pGSgtF":{"name":"trackCharge(amount:properties:)","abstract":"

    Track money spent by the current user for revenue analytics and associate","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC12clearChargesyyF":{"name":"clearCharges()","abstract":"

    Delete current user’s revenue history.

    ","parent_name":"People"},"Classes/People.html#/s:8Mixpanel6PeopleC10deleteUseryyF":{"name":"deleteUser()","abstract":"

    Delete current user’s record from Mixpanel People.

    ","parent_name":"People"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC8apiTokenSSvp":{"name":"apiToken","abstract":"

    apiToken string that identifies the project to track data to

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC8delegateAA0A8Delegate_pSgvp":{"name":"delegate","abstract":"

    The a MixpanelDelegate object that gives control over Mixpanel network activity.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC10distinctIdSSvp":{"name":"distinctId","abstract":"

    distinctId string that uniquely identifies the current user.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC11anonymousIdSSSgvp":{"name":"anonymousId","abstract":"

    anonymousId string that uniquely identifies the device.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC6userIdSSSgvp":{"name":"userId","abstract":"

    userId string that identify is called with.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC22hadPersistedDistinctIdSbSgvp":{"name":"hadPersistedDistinctId","abstract":"

    hadPersistedDistinctId is a boolean value which specifies that the stored distinct_id","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC5aliasSSSgvp":{"name":"alias","abstract":"

    alias string that uniquely identifies the current user.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC6peopleAA6PeopleCSgvp":{"name":"people","abstract":"

    Accessor to the Mixpanel People API object.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC28showNetworkActivityIndicatorSbvp":{"name":"showNetworkActivityIndicator","abstract":"

    Controls whether to show spinning network activity indicator when flushing","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC27trackAutomaticEventsEnabledSbvp":{"name":"trackAutomaticEventsEnabled","abstract":"

    This allows enabling or disabling collecting common mobile events,

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC13flushIntervalSdvp":{"name":"flushInterval","abstract":"

    Flush timer’s interval.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC17flushOnBackgroundSbvp":{"name":"flushOnBackground","abstract":"

    Control whether the library should flush data to Mixpanel when the app","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC26useIPAddressForGeoLocationSbvp":{"name":"useIPAddressForGeoLocation","abstract":"

    Controls whether to automatically send the client IP Address as part of","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC14flushBatchSizeSivp":{"name":"flushBatchSize","abstract":"

    The flushBatchSize property determines the number of events sent in a single network request to the Mixpanel server.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC9serverURLSSvp":{"name":"serverURL","abstract":"

    The base URL used for Mixpanel API requests.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp":{"name":"debugDescription","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC14loggingEnabledSbvp":{"name":"loggingEnabled","abstract":"

    This allows enabling or disabling of all Mixpanel logs at run time.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC4nameSSvp":{"name":"name","abstract":"

    A unique identifier for this MixpanelInstance

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC22minimumSessionDurations6UInt64Vvp":{"name":"minimumSessionDuration","abstract":"

    Undocumented

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC22maximumSessionDurations6UInt64Vvp":{"name":"maximumSessionDuration","abstract":"

    The maximum session duration (ms) that is tracked in automatic events.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC8identify10distinctId9usePeople10completionySS_SbyycSgtF":{"name":"identify(distinctId:usePeople:completion:)","abstract":"

    Sets the distinct ID of the current user.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC11createAlias_10distinctId9usePeople11andIdentify10completionySS_SSS2byycSgtF":{"name":"createAlias(_:distinctId:usePeople:andIdentify:completion:)","abstract":"

    The alias method creates an alias which Mixpanel will use to remap one id to another.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC5reset10completionyyycSg_tF":{"name":"reset(completion:)","abstract":"

    Clears all stored properties including the distinct Id.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC7archiveyyF":{"name":"archive()","abstract":"

    Undocumented

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC5flush16performFullFlush10completionySb_yycSgtF":{"name":"flush(performFullFlush:completion:)","abstract":"

    Uploads queued data to the Mixpanel server.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC5track5event10propertiesySSSg_SDySSAA0A4Type_pGSgtF":{"name":"track(event:properties:)","abstract":"

    Tracks an event with properties.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC15trackWithGroups5event10properties6groupsySSSg_SDySSAA0A4Type_pGSgAKtF":{"name":"trackWithGroups(event:properties:groups:)","abstract":"

    Tracks an event with properties and to specific groups.","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC8getGroup8groupKey0E2IDAA0D0CSS_AA0A4Type_ptF":{"name":"getGroup(groupKey:groupID:)","abstract":"

    Undocumented

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC4time5eventySS_tF":{"name":"time(event:)","abstract":"

    Starts a timer that will be stopped and added as a property when a","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC16eventElapsedTime0C0SdSS_tF":{"name":"eventElapsedTime(event:)","abstract":"

    Retrieves the time elapsed for the named event since time(event:) was called.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC16clearTimedEventsyyF":{"name":"clearTimedEvents()","abstract":"

    Clears all current event timers.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC15clearTimedEvent5eventySS_tF":{"name":"clearTimedEvent(event:)","abstract":"

    Clears the event timer for the named event.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC22currentSuperPropertiesSDySSypGyF":{"name":"currentSuperProperties()","abstract":"

    Returns the currently set super properties.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC20clearSuperPropertiesyyF":{"name":"clearSuperProperties()","abstract":"

    Clears all currently set super properties.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC23registerSuperPropertiesyySDySSAA0A4Type_pGF":{"name":"registerSuperProperties(_:)","abstract":"

    Registers super properties, overwriting ones that have already been set.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC27registerSuperPropertiesOnce_12defaultValueySDySSAA0A4Type_pG_AaF_pSgtF":{"name":"registerSuperPropertiesOnce(_:defaultValue:)","abstract":"

    Registers super properties without overwriting ones that have already been set,","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC23unregisterSuperPropertyyySSF":{"name":"unregisterSuperProperty(_:)","abstract":"

    Removes a previously registered super property.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC8setGroup8groupKey0E2IDySS_AA0A4Type_ptF":{"name":"setGroup(groupKey:groupID:)","abstract":"

    Convenience method to set a single group the user belongs to.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC8setGroup8groupKey0E3IDsySS_SayAA0A4Type_pGtF":{"name":"setGroup(groupKey:groupIDs:)","abstract":"

    Set the groups this user belongs to.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC8addGroup8groupKey0E2IDySS_AA0A4Type_ptF":{"name":"addGroup(groupKey:groupID:)","abstract":"

    Add a group to this user’s membership for a particular group key

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC11removeGroup8groupKey0E2IDySS_AA0A4Type_ptF":{"name":"removeGroup(groupKey:groupID:)","abstract":"

    Remove a group from this user’s membership for a particular group key

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC14optOutTrackingyyF":{"name":"optOutTracking()","abstract":"

    Opt out tracking.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC13optInTracking10distinctId10propertiesySSSg_SDySSAA0A4Type_pGSgtF":{"name":"optInTracking(distinctId:properties:)","abstract":"

    Opt in tracking.

    ","parent_name":"MixpanelInstance"},"Classes/MixpanelInstance.html#/s:8Mixpanel0A8InstanceC19hasOptedOutTrackingSbyF":{"name":"hasOptedOutTracking()","abstract":"

    Returns if the current user has opted out tracking.

    ","parent_name":"MixpanelInstance"},"Classes/Mixpanel.html#/s:8MixpanelAAC10initialize5token20trackAutomaticEvents13flushInterval12instanceName23optOutTrackingByDefault19useUniqueDistinctId15superProperties9serverURLAA0A8InstanceCSS_SbSdSSSgS2bSDySSAA0A4Type_pGSgANtFZ":{"name":"initialize(token:trackAutomaticEvents:flushInterval:instanceName:optOutTrackingByDefault:useUniqueDistinctId:superProperties:serverURL:)","abstract":"

    Initializes an instance of the API with the given project token.

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/initialize(token:flushInterval:instanceName:optOutTrackingByDefault:useUniqueDistinctId:superProperties:serverURL:)":{"name":"initialize(token:flushInterval:instanceName:optOutTrackingByDefault:useUniqueDistinctId:superProperties:serverURL:)","abstract":"

    Initializes an instance of the API with the given project token (MAC OS ONLY).

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/s:8MixpanelAAC11getInstance4nameAA0aC0CSgSS_tFZ":{"name":"getInstance(name:)","abstract":"

    Gets the mixpanel instance with the given name

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/s:8MixpanelAAC12mainInstanceAA0aC0CyFZ":{"name":"mainInstance()","abstract":"

    Returns the main instance that was initialized.

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/s:8MixpanelAAC15setMainInstance4nameySS_tFZ":{"name":"setMainInstance(name:)","abstract":"

    Sets the main instance based on the instance name

    ","parent_name":"Mixpanel"},"Classes/Mixpanel.html#/s:8MixpanelAAC14removeInstance4nameySS_tFZ":{"name":"removeInstance(name:)","abstract":"

    Removes an unneeded Mixpanel instance based on its name

    ","parent_name":"Mixpanel"},"Classes/Group.html#/s:8Mixpanel5GroupC3set10propertiesySDySSAA0A4Type_pG_tF":{"name":"set(properties:)","abstract":"

    Sets properties on this group.

    ","parent_name":"Group"},"Classes/Group.html#/s:8Mixpanel5GroupC3set8property2toySS_AA0A4Type_ptF":{"name":"set(property:to:)","abstract":"

    Convenience method for setting a single property in Mixpanel Groups.

    ","parent_name":"Group"},"Classes/Group.html#/s:8Mixpanel5GroupC7setOnce10propertiesySDySSAA0A4Type_pG_tF":{"name":"setOnce(properties:)","abstract":"

    Sets properties on the current Mixpanel Group, but doesn’t overwrite if","parent_name":"Group"},"Classes/Group.html#/s:8Mixpanel5GroupC5unset8propertyySS_tF":{"name":"unset(property:)","abstract":"

    Remove a property and its value from a group’s profile in Mixpanel Groups.

    ","parent_name":"Group"},"Classes/Group.html#/s:8Mixpanel5GroupC6remove3key5valueySS_AA0A4Type_ptF":{"name":"remove(key:value:)","abstract":"

    Removes list properties.

    ","parent_name":"Group"},"Classes/Group.html#/s:8Mixpanel5GroupC5union3key6valuesySS_SayAA0A4Type_pGtF":{"name":"union(key:values:)","abstract":"

    Union list properties.

    ","parent_name":"Group"},"Classes/Group.html#/s:8Mixpanel5GroupC06deleteB0yyF":{"name":"deleteGroup()","abstract":"

    Delete group’s record from Mixpanel Groups.

    ","parent_name":"Group"},"Classes/Group.html":{"name":"Group","abstract":"

    Access to the Mixpanel Groups API, available through the getGroup function from"},"Classes/Mixpanel.html":{"name":"Mixpanel","abstract":"

    The primary class for integrating Mixpanel with your app.

    "},"Classes/MixpanelInstance.html":{"name":"MixpanelInstance","abstract":"

    The class that represents the Mixpanel Instance

    "},"Classes/People.html":{"name":"People","abstract":"

    Access to the Mixpanel People API, available as an accessible variable from"},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Extensions.html":{"name":"Extensions","abstract":"

    The following extensions are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Typealiases.html":{"name":"Type Aliases","abstract":"

    The following type aliases are available globally.

    "}} \ No newline at end of file diff --git a/docs/undocumented.json b/docs/undocumented.json index f6c7d87e..128be9cf 100644 --- a/docs/undocumented.json +++ b/docs/undocumented.json @@ -1,6 +1,145 @@ { "warnings": [ - + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelInstance.swift", + "line": 38, + "symbol": "Properties", + "symbol_kind": "source.lang.swift.decl.typealias", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelInstance.swift", + "line": 188, + "symbol": "MixpanelInstance.minimumSessionDuration", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelInstance.swift", + "line": 844, + "symbol": "MixpanelInstance.archive()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelInstance.swift", + "line": 1096, + "symbol": "MixpanelInstance.getGroup(groupKey:groupID:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelType.swift", + "line": 20, + "symbol": "MixpanelType.equals(rhs:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelType.swift", + "line": 38, + "symbol": "Optional.equals(rhs:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelType.swift", + "line": 72, + "symbol": "String.equals(rhs:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelType.swift", + "line": 87, + "symbol": "NSString.equals(rhs:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelType.swift", + "line": 104, + "symbol": "NSNumber.equals(rhs:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelType.swift", + "line": 119, + "symbol": "Int.equals(rhs:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelType.swift", + "line": 134, + "symbol": "UInt.equals(rhs:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelType.swift", + "line": 150, + "symbol": "Double.equals(rhs:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelType.swift", + "line": 166, + "symbol": "Float.equals(rhs:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelType.swift", + "line": 180, + "symbol": "Bool.equals(rhs:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelType.swift", + "line": 195, + "symbol": "Date.equals(rhs:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelType.swift", + "line": 210, + "symbol": "URL.equals(rhs:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelType.swift", + "line": 225, + "symbol": "NSNull.equals(rhs:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelType.swift", + "line": 246, + "symbol": "Array.equals(rhs:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelType.swift", + "line": 283, + "symbol": "NSArray.equals(rhs:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/jaredmcfarland/Developer/mixpanel-swift/Sources/MixpanelType.swift", + "line": 320, + "symbol": "Dictionary.equals(rhs:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + } ], - "source_directory": "/Users/zihejia/Documents/Projects/Develop/mixpanel-swift" + "source_directory": "/Users/jaredmcfarland/Developer/mixpanel-swift" } \ No newline at end of file