Swiftpack.co - Package - mtribes/client-ios

mtribes iOS SDK

mtribes is an UX personalization platform that brings audience segmentation, user targeting and real-time insights together.


  • Minimum OS versions supported
    • iOS 10.0
    • tvOS 10.0
    • macOS 10.12
    • watchOS 3.0
  • Xcode 11.0+
  • Swift 5.1+


If you haven't already, first install the CLI and integrate your mtribes Space by following our Getting started.

Once your Space is integrated, head on over to our iOS SDK integration guide to install the SDK using your preferred method.


Stars: 0


Used By

Total: 0


0.4.0 -

  • Return MTSessionStatus instead of Result in session start handler
  • Changed opacity type in MTColor from Double to CGFloat
  • Only connect web socket when change listener is added
  • Updated poll rates
  • Surface scenarioId for experiences
  • Keep server session alive for analytics events

0.3.2: Date and number contextual properties -

support Date and number contextual properties

0.3.1 -

Added header when connecting to web socket.

0.3.0 -

  • Added hibernation mode - stop polling when app is inactive
    • For iOS, tvOS and macOS, the SDK will hibernate automatically when app is inactive
    • For watchOS, you’ll need to call Mtribes.session.applicationDidEnterBackground() and Mtribes.session.applicationWillEnterForeground() in your ExtensionDelegate’s applicationDidEnterBackground and applicationWillEnterForeground functions respectively.
  • Added Combine framework support
  • Added auto update flag - SDK will not make background request or connect t to web socket if no experience is available for the space
  • Renamed public contracts:
    • MTSession.start has renamed to MTSession.startWithCallback
    • MTSession.update has renamed to MTSession.updateWithCallback
    • MTSession.observeSession has renamed to MTSession.changedWithCallback
    • MTExperience.onChange has renamed to MTExperience.changedWithCallback
    • MTSection.onChange has renamed to MTSection.changedWithCallback
  • Introduced new public contracts to support Combine framework:
    • MTSession.start
    • MTSession.update
    • MTSession.changed
    • MTExperience.changed
    • MTSection.changed
  • Analytics improvement: avoid served events on sections

0.2.1 -

  • fixed user agent in request header
  • improved analytics error handling
  • persist client ID
  • identify device and platform info
  • changed section children from function to get-only property
  • fixed documentation

0.2.0 -

feature: deprecate identify and anonymize in favour of start (#4)

0.1.0 -

Add support for CocoaPods! To install the SDK via CocoaPods, add the following in your Podfile:

pod 'Mtribes'

Then run pod install in the terminal.

v1.0.0-alpha.2 -

Fix property type for date experience.

v1.0.0-alpha.1 -

Initial release for Mtribes iOS client SDK. Please visit https://mtribes.com for more information.