Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

sinoru/Nemo

Repository files navigation

Nemo

Build Status Carthage compatible

Nemo is a photos menu framework for iOS

Example

Installation

You can install Nemo with CocoaPods, simply add this line to your Podfile:

pod 'Nemo'

You can install Nemo with Carthage, simply add this line to your Cartfile:

github "sinoru/Nemo"

Manually

  1. Drag Nemo.xcodeproj file into you project
  2. Add Nemo.framework into Project Setting's General->Embedded Binaries

Usage

Swift

  • Import Nemo framework by:
import Nemo
  • Init PhotosMenuController by:
let controller = PhotosMenuController()
  • Present it by UIViewController's present view controller method:
self.presentViewController(controller, animated: true, completion: nil)

Objective-C

  • Import Nemo framework by:
@import Nemo;
// or
#import <Nemo/Nemo.h>
  • Init PhotosMenuController by:
NMPhotosMenuController *controller = [[NMPhotosMenuController alloc] init];
  • Present it by UIViewController's present view controller method:
[self presentViewController:controller animated:YES completion:nil];

Or you can simply check NemoExample on Nemo.xcodeproj

License

Read LICENSE for more information.