Skip to content

mirego/MRGControlPanel

Repository files navigation

MRGControlPanel

The Control panel of your dream

Installation with Swift Package Manager

Swift Package Manager is a tool for managing the distribution of Swift code and is integrated into Xcode.

Package.swift

dependencies: [
    .package(url: "https://github.com/mirego/MRGControlPanel.git", from: "0.1.2")
]

Xcode

In Xcode, go to File → Add Package Dependencies…, enter the repository URL https://github.com/mirego/MRGControlPanel.git, and select the version you want to use.

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like this super control panel in your projects.

Podfile

platform :ios, '7.0'
pod TODO

Project Setup

- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
    if ([MRGControlPanel isControlPanelURL:url]) {
	    _panel = [MRGControlPanel controlPanel];
    	[_panel addPlugin:[MRGControlPanelSamplePlugin plugin]];
	    self.window.rootViewController = [_panel rootViewController];
	    [self.window makeKeyAndVisible];
    }
    return YES;
}

Plugin how to

  • Add MRGControlPanel as a dependency in your project
  • Create a class that implement MRGControlPanelPlugin protocol
  • [_panel addPlugin:[YourAwesomePlugin plugin]];

See MRGControlPanelSamplePlugin.

License

MRGControlPanel is © 2016 Mirego and may be freely distributed under the New BSD license. See the LICENSE.md file.

About Mirego

Mirego is a team of passionate people who believe that work is a place where you can innovate and have fun. We're a team of talented people who imagine and build beautiful Web and mobile applications. We come together to share ideas and change the world.

We also love open-source software and we try to give back to the community as much as we can.

About

The Control panel of your dream.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors