Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martinjuhasz/MJPopupViewController
A UIViewController Category to display a ViewController as a popup with different transition effects.
https://github.com/martinjuhasz/MJPopupViewController
Last synced: 5 days ago
JSON representation
A UIViewController Category to display a ViewController as a popup with different transition effects.
- Host: GitHub
- URL: https://github.com/martinjuhasz/MJPopupViewController
- Owner: martinjuhasz
- License: mit
- Archived: true
- Created: 2012-06-24T19:33:39.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2020-06-16T16:56:54.000Z (over 4 years ago)
- Last Synced: 2024-10-21T00:00:19.243Z (22 days ago)
- Language: Objective-C
- Size: 321 KB
- Stars: 964
- Watchers: 51
- Forks: 220
- Open Issues: 51
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome - MJPopupViewController - A UIViewController Category to display a ViewController as a popup with different transition effects. (etc)
- awesome - MJPopupViewController - A UIViewController Category to display a ViewController as a popup with different transition effects. (etc)
README
# MJPopupViewController (deprecated)
A UIViewController Category to display a ViewController as a popup with different transition effects.
Written by [Martin Juhasz](http://martinjuhasz.de), June 2012.
**Note: You should no longer use this category since it's outdated and there are more modern approaches for facing this problem.**
## 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