ApplicationGroupKit logo
ApplicationGroupKit logo

ApplicationGroupKit is a powerful framework that allows you to easily share data and resources across multiple applications within an application group on iOS and macOS platforms. With ApplicationGroupKit, you can break free from the constraints of app sandboxing and seamlessly communicate between your apps to deliver enhanced user experiences and improved cross-app functionality.

Key Features

  • Share data and resources between applications within an application group
  • Synchronize preferences and user settings across multiple apps
  • Send notifications and trigger actions across app boundaries
  • Efficient and secure data sharing using App Group container
  • Support for both iOS and macOS platforms
  • Simple and intuitive API for easy integration

Usage Guide

Using ApplicationGroupKit is straightforward and requires only a few steps for integration. Follow the steps below to get started:

  1. Ensure that all the apps that need to share data are part of the same application group in their App IDs.
  2. Import the ApplicationGroupKit framework into your projects.
  3. Configure your app’s entitlements to allow access to the shared container using the “” key.
  4. Initialize the shared container using the ApplicationGroup shared identifier.
  5. Start sharing data and communicating between your apps using the provided API.

Code Examples

Take a look at the following code snippets to understand how to use ApplicationGroupKit effectively.

// Set up the shared container
let sharedContainer = ApplicationGroup.shared.container()

// Store data in the shared container
sharedContainer.set("Hello, World!", forKey: "SharedKey")

// Retrieve data from the shared container
if let sharedValue = sharedContainer.string(forKey: "SharedKey") {
    print(sharedValue) // Output: "Hello, World!"

// Send a notification across app boundaries
ApplicationGroup.shared.postNotification(name: "SharedNotification", object: nil, userInfo: ["message": "Hello from App 1!"])


ApplicationGroupKit is compatible with the following platforms:

  • iOS 9 and above
  • macOS 10.10 and above


To install ApplicationGroupKit, follow the steps below:

  1. Open the Terminal and navigate to your project directory.
  2. Run the following command to integrate ApplicationGroupKit via Swift Package Manager:

$ swift package init
$ echo 'import PackageDescription
let package = Package(
    name: "MyApp",
    dependencies: [
        .package(url: "", from: "1.0.0")
    targets: [
            name: "MyApp",
            dependencies: ["ApplicationGroupKit"]
)' > Package.swift
$ swift build

Additional Resources

Explore the following resources to learn more about ApplicationGroupKit: