MJPopupViewController 0.4

MJPopupViewController 0.4

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.


Downloads

Total195,045
Week0
Month0

Installs

Apps1,851
Test Targets103
powered by Segment

GitHub

Stars986
Watchers58
Forks244
Issues44
Contributors7
Pull Requests8

Code

Files4
LOCLines of Code 305


  • By
  • martinjuhasz

A UIViewController Category to display a ViewController as a popup with different transition effects.

Written by Martin Juhasz, June 2012.

Installation

Just drop the files under Source into your Xcode project. Also you need to add the QuartzCore-Framework to your project.

Usage

First you have to import the category

#import "UIViewController+MJPopupViewController.h"

then simply use presentPopupViewController:animationType, f.e.:

[self presentPopupViewController:detailViewController animationType:MJPopupViewAnimationFade];

to dismiss the popup, use dismissPopupViewControllerWithanimationType

[self dismissPopupViewControllerWithanimationType:MJPopupViewAnimationFade];

see the demo for more detailed examples

Demo

You can open the MJPopupViewControllerDemo demo project in Xcode and run it on your iPhone as well as in the Simulator.

Issues and Feature Requests

Please report issues via GitHub's issue tracker.

ARC

This version is made using Automated Reference Counting.

TODO

  • Rotation Support
  • More animation types
  • support different background types