Admin

If you need to create blocks and sections in your MBurger project you can use the MBAdmin SDKarrow-up-right

circle-info

You will have to use a token with write permissions to edit the sections and with delete permissions to delete them.

Installation

Swift Package Manager

With Xcode 11 you can start using Swift Package Managerarrow-up-right to add MBAdmin to your project. Follow those simple steps:

  • In Xcode go to File > Swift Packages > Add Package Dependency.

  • Enter https://github.com/Mumble-SRL/MBAdminSwift.git in the "Choose Package Repository" dialog and press Next.

  • Specify the version using rule "Up to Next Major" with "1.0.6" as its earliest version and press Next.

  • Xcode will try to resolving the version, after this, you can choose the MBAdminSwift library and add it to your app target.

CocoaPods

CocoaPodsarrow-up-right is a dependency manager for Cocoa Projects, 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 MBurgerSwift into your Xcode project using CocoaPods, specify it in your Podfile:

platform :ios, '10.0'

target 'TargetName' do
    pod 'MBAdminSwift' '~> 1.0.6'
end

Chartage

Carthagearrow-up-right is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate MBAdmin into your Xcode project using Carthage, specify it in your Cartfile:

Manual installation

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

Note that MBAdminSwift has MBurgerSwift as a dependency, so you have to install also this library manually.

Last updated