Latest 0.0.1
License MIT
Platforms ios 7.0, requires ARC
Dependencies FXBlurView

TZPopup helps you pop a viewcontroller





  • If you are using Cocoapods, insert the line below into your podfile
    pod 'TZPopup', '~> 0.0.1'
  • OR manually import TZPopup.h, TZPopup.m + UIKit directory into your project

How to use

First you want to import the library into your viewController

#import <TZPopup.h>

For now the library is using a singleton pattern to modify its properties, so just go ahead and set wathever public available properties you want

//Init general properties of popup
[[TZPopup shared] setBackgroundColor:[UIColor blackColor]];
[[TZPopup shared] setBackgroundMaxAlpha:50.f];
[[TZPopup shared] setPopAnimation:TZPopAnimationBottom];
[[TZPopup shared] setBlurEnabled:YES];

when you are ready to pop your viewController, 3 lines:

//Init delegate
[[TZPopup shared] setDelegate:self];

//Init the uiviewcontroller you want to pop
TZPopupViewController *viewControllerToPop = [[TZPopupViewController alloc] initWithNibName:@"TZPopupViewController" bundle:nil];

//Show popup
[TZPopup showPopup:viewControllerToPop incontroller:self];

And finally when you want to dismiss the popup

[TZPopup dismissPopupWithAnimation:YES];

Delegates (optionals)

- (void) popupDidShow;
- (void) popupDidDismiss;


  • I’m using FXBlurView awesome library to enable blurred background
  • Singleton pattern is used, but maybe it’s not good, if you have a better idea, I’m really open to discuss on this matter !


  • Want to contribute? Great! Do not hesitate to add a Issue/Fork/Comment my code ! I will try my best to answer quickly your questions !
  • I’m not an expert and I’m excited to learn some best practices, show me your tricks !


  • Put in cocoapods
  • Handle landscape orientation
  • add 3D Transformation properties
  • Add Top / Left "from" animation



Free Code, Hell Yeah!

Latest podspec

    "name": "TZPopup",
    "version": "0.0.1",
    "license": "MIT",
    "summary": "Pop any viewcontrollers you want, easily, with some stylish animations (work in progress :p)",
    "homepage": "",
    "authors": {
        "Nataniel Martin": "[email protected]"
    "social_media_url": "",
    "source": {
        "git": "",
        "tag": "0.0.1"
    "source_files": "TZPopup.{h,m}",
    "platforms": {
        "ios": "7.0"
    "requires_arc": true,
    "dependencies": {
        "FXBlurView": []
    "subspecs": [
            "name": "UIKit",
            "platforms": {
                "ios": "6.0"
            "ios": {
                "public_header_files": "UIKit+TZPopup/*.h",
                "source_files": "UIKit+TZPopup"
            "osx": {
                "source_files": ""

Pin It on Pinterest

Share This