Installation

CocoaPods
Manual
CocoaPods

CocoaPods is a dependency manager for iOS, which automates and simplifies the process of using 3rd-party libraries in your projects. You can install CocoaPods with the following command:

$ gem install cocoapods

To integrate the MPush into your Xcode project using CocoaPods, specify it in your Podfile:

platform :ios, '10.0'
target 'TargetName' do
use_frameworks!
pod 'MPushSwift'
end

Then, run the following command:

$ pod install

CocoaPods is the preferred method to install the library.

Manual

To install the library manually drag and drop the folder MPush to your project structure in XCode.

Note that MPush has MBNetworking (1.0) as a dependency, so you have to install also this library.