Skip to content

Pop up that has the same look as AppStore purchase pop up, have fun

License

Notifications You must be signed in to change notification settings

mcmatan/PurchasePopUp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language

ImageOpenTransition Icon

Description

  • Fully customizable pop up

  • Easy to use

Usage: EasyList

//As Static
PurchasePopUpPresentor.show(contentView: someView,
                            title: "Your amazing title",
                            cancelHandler: {
//User pressed cancel button
})

//As Instance veriable
self.purchasePopUpPresentor = PurchasePopUpPresentor(contentView: contentView, title: title)
        self.purchasePopUpPresentor?.show(cancelHandler: {
            //User pressed cancel button
        })
        
 //Dismiss
self.purchasePopUpPresentor?.dismissViews()
})
        

Installation

Cocoapods

ImageScaleTransition is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'PurchasePopUp'

Manually

  1. Download and drop /PurchasePopUp folder in your project.
  2. Congratulations!

Author

Matan made this with ❤️.

About

Pop up that has the same look as AppStore purchase pop up, have fun

Resources

License

Stars

Watchers

Forks

Packages

No packages published