{"repo":"mixpanel/mixpanel-swift","free":true,"listed":false,"github":"https://github.com/mixpanel/mixpanel-swift","clone":"git clone https://github.com/mixpanel/mixpanel-swift.git","description":"Official iOS (Swift) Tracking Library for Mixpanel Analytics","language":"Swift","stars":472,"topics":["mixpanel","analytics","tracking","sdk","cocoapods","mixpanel-swift","ios","swift","best","carthage"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Table of Contents - Overview - Quick Start Guide - Install Mixpanel - Initialize Mixpanel - Send Data - Check for Success - Complete Code Example - FAQ - I want to know more! Overview Welcome to the official Mixpanel Swift Library The Mixpanel Swift library for iOS is an open-source project, and we'd love to see your contributions! We'd also love for you to come and work with us! Check out Jobs for details. If you are using Objective-C, we recommend using our Objective-C Library . Check out our Advanced iOS Swift Guide for additional advanced configurations and use cases, like setting up your project with European Union data storage. --- SDK Development This section is relevant only if you are developing or contributing to this SDK repository . Swift Formatting (Apple swift-format) This repository uses Apple's swift-format to ensure consistent Swift formatting across all developers. Formatting rules are defined in the .swift-format file at the repo root. Prerequisite Install swift-format: Format Swift Code Locally Format the entire repository: Format a single file: Format multiple files: Required Git Hook Setup After pulling the repo, run: This enables the pre-commit hook that checks formatting before each commit. How it works 1. When you commit, the hook checks if staged Swift files are properly formatted 2. If formatting issues are found, the commit is blocked 3. The hook displays which files need formatting and provides the exact command to fix them 4. After running the fo","default_branch":null,"files":null,"tree":[],"storefront":"/r/mixpanel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mixpanel/mixpanel-swift/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}