• Stars
    star
    211
  • Rank 182,476 (Top 4 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 10 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple to use and functional popup view for iOS

AFPopupView

A simple to use and functional popup view for iOS, as seen in Wunderlist iOS app.

##Preview

alt text

##Cocoapods

AFPopupView is on CocoaPods, so you can get the pod by adding this line to your Podfile

pod 'AFPopupView', '~> 1.0'

If not, just import these files to your project:

AFPopupView.h
AFPopupView.m

##Usage

First of all, make sure that you've added to your project the QuartzCore framework.

Import AFPopupView to your class

#import "AFPopupView.h"

Declare AFPopupView

@property (nonatomic, strong) AFPopupView *popup;

Init the class with -popupWithView: assigning a valid UIView that will be shown. When you're ready to open the view, just call -show

_popup = [AFPopupView popupWithView:_modalTest.view];
[_popup show];

To hide it, call -hide

[_popup hide];

##Author

Made by Alvaro Franco. If you have any question, feel free to drop me a line at [email protected]