NgDialogPresentationController 1.1.1

NgDialogPresentationController 1.1.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Feb 2016

Maintained by Meiwin Fu.



  • By
  • Meiwin Fu

Objective-c custom UIPresentationController for presenting UIViewController with dialog style.

Adding to your project

If you are using CocoaPods, add to your Podfile:

pod 'NgDialogPresentationController'

To manually add to your projects:

  1. Add files in NgDialogPresentationController folder to your project.
  2. Add these frameworks to your project: UIKit.

Since the library has dependency to NgKeyboardTracker pod, you need to also manually add it to your project.

Usage

To present a view controller with dialog presentation style, create instance of DialogTransitionStyle and set it as the view controller's transition delegate.

You can refer to demo application file TextFieldDialogViewController.m for example.