To start create your account

Installation Guide

First of all, you will need your Application key to initialize the Framework. How to get an Application key?

Installing the MCSS Framework for Swift (iOS)

Method 1: Swift Package Manager

  1. In Xcode, select File > Add Packages…
  2. Copy the Github URL: https://github.com/getmcss/MCSS-Swift.git into the "Search or enter Package URL" field
    https://github.com/getmcss/MCSS-Swift.git
    
  3. In dependency rules choose "up to next major" and a minor version of 1.0.4
  4. Click Add Package and Follow the prompts

Method 2: Manual Installation

  1. Download the MCSSFramework.xcframework and the UIView+MCSS.swift files class from https://github.com/getmcss/MCSS-Swift or use the command:

    git clone https://github.com/getmcss/MCSS-Swift
    

    Both files can be located in the sources directory.

  2. Drag and drop MCSSFramework.xcframework and UIView+MCSS.swift to your project, mark the option copy items if needed.

  3. Go to embedded content and mark MCSS as embed and sign.

Installing the MCSS Framework for Java or Kotlin (Android)

Method 1: Gradle Package Manager

  1. Open the project's settings.gradle file in your Android Studio project and add the following code fragment:
    dependencyResolutionManagement {
      repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
      repositories {
        ...
        maven { url 'https://jitpack.io' }
      }
    }
    
  2. Open the module's build.gradle file, add the following code fragment:
    dependencies {
      implementation 'com.github.getmcss:MCSS-FRAMEWORK-ANDROID:1.0.0'
    }
    

Method 2: Manual Installation

  1. Download the mcss-android-release.aar framework from the https://github.com/getmcss/MCSS-FRAMEWORK-ANDROID if your project uses Android

    git clone https://github.com/getmcss/MCSS-FRAMEWORK-ANDROID
    
  2. In the main module of your Android Studio project verify that the libs folder exists.

  3. Copy the mcss-android-release.aar Framework you just downloaded into the libs folder.

  4. In your Android Studio project open the build.gradle file of the project, add the following code fragment:

    dependencies {
      implementation files('libs/mcss-android-release.aar')
    }