All Projects → gokulgovind → Glinapppurchase

gokulgovind / Glinapppurchase

Licence: mit
Tinder Style InApp Purchase Banner

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Glinapppurchase

Nearbyweather
NearbyWeather is an open source weather app for iOS, which uses the OpenWeatherMap API. With this project developers are invited to learn advanced iOS concepts, as well as to contribute further advancements. Fork this repo to get started.
Stars: ✭ 146 (-18.89%)
Mutual labels:  opensource, cocoapods
Placeholderview
This library provides advance views for lists and stacks. Some of the views are build on top of RecyclerView and others are written in their own. Annotations are compiled by annotation processor to generate bind classes. DOCS -->
Stars: ✭ 2,104 (+1068.89%)
Mutual labels:  tinder
Umbrella android
Open source Android, iOS and Web app for learning about and managing digital and physical security. From how to send a secure message to dealing with a kidnap. Umbrella has best practice guides in over 40 topics in multiple languages. Used daily by people working in high risk countries - journalists, activists, diplomats, business travelers etc.
Stars: ✭ 171 (-5%)
Mutual labels:  opensource
Data Structures And Algorithms In Cpp
This repository is in development phase and will soon provide you with c++ code of various data structures and algorithms
Stars: ✭ 176 (-2.22%)
Mutual labels:  opensource
Beefun Pro
Github client for iOS in Swift.
Stars: ✭ 172 (-4.44%)
Mutual labels:  opensource
Icimulator
Simulate camera functions on iOS Simulator with images, videos, or your MacBook Camera.
Stars: ✭ 177 (-1.67%)
Mutual labels:  cocoapods
Svprogresshud
A clean and lightweight progress HUD for your iOS and tvOS app.
Stars: ✭ 12,339 (+6755%)
Mutual labels:  cocoapods
Startup Landing
Collection of free top of the line startup landing templates built using react/nextjs/gatsby. Free to download, simply edit and deploy! Updated weekly!
Stars: ✭ 176 (-2.22%)
Mutual labels:  opensource
L10n Swift
Localization of the application with ability to change language "on the fly" and support for plural form in any language.
Stars: ✭ 177 (-1.67%)
Mutual labels:  cocoapods
Toactionsheet
A custom-designed reimplementation of the UIActionSheet control for iOS
Stars: ✭ 175 (-2.78%)
Mutual labels:  cocoapods
Tock
Tock - the open source conversational AI toolkit
Stars: ✭ 175 (-2.78%)
Mutual labels:  opensource
Irldocumentscanner
A drop-in Objective-C ViewController that will Automatically scan a document for you you.
Stars: ✭ 172 (-4.44%)
Mutual labels:  cocoapods
Tamburetei
Fazendo de tamburete as cadeiras de [email protected]
Stars: ✭ 177 (-1.67%)
Mutual labels:  opensource
Wkcookiewebview
WKWebView with cookie sharing support
Stars: ✭ 171 (-5%)
Mutual labels:  cocoapods
Swift Docker
Build & test your swift packages using docker - `swift docker test`
Stars: ✭ 179 (-0.56%)
Mutual labels:  opensource
Cocoalumberjack
A fast & simple, yet powerful & flexible logging framework for Mac and iOS
Stars: ✭ 12,584 (+6891.11%)
Mutual labels:  cocoapods
Countrypicker
A simple, customizable Country picker for picking country or dialing code. 🇮🇳 🇯🇵 🇰🇷 🇩🇪 🇨🇳 🇺🇸 🇫🇷 🇪🇸 🇮🇹 🇷🇺 🇬🇧
Stars: ✭ 174 (-3.33%)
Mutual labels:  cocoapods
Nvdate
📅 Swift4 Date extension library
Stars: ✭ 176 (-2.22%)
Mutual labels:  cocoapods
Hxphotopicker
图片/视频选择器 - 支持LivePhoto、GIF图片选择、3DTouch预览、在线下载iCloud上的资源、编辑图片/视频、浏览网络图片 功能 Imitation wx photo/image picker - support for LivePhoto, GIF image selection, 3DTouch preview, Download the resources on iCloud online, browse the web image function
Stars: ✭ 2,363 (+1212.78%)
Mutual labels:  cocoapods
Modernavplayer
ModernAVPlayer is a persistence AVPlayer wrapper
Stars: ✭ 179 (-0.56%)
Mutual labels:  cocoapods

GLInAppPurchase

CI Status Version License Platform

overView overView overView overView

FYI: Use tag0.1.2 for swift 2.2

Example

To run the example project, clone the repo, and run pod install from the Example directory first.Compatiable with ObjC,Swift 2 & Swift 3.0

Requirements

Installation

CocoaPods

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

Manual

Copy the file GLInAppPurchaseUI.swift & GLInAppPurchaseUI.xib from ~/GLNotificationBar/GLNotificationBar/Classes to your project.

pod "GLInAppPurchase"

User Guide

Swift:

let appBanner = GLInAppPurchaseUI(title: "Skip The Line", subTitle: "Be first in the queue", bannerBackGroundStyle: .TransparentStyle)

//Add image and Discription
appBanner.displayContent(imageSetWithDescription:
[
UIImage(named:"IMG_1")!:"Rewind Your Last Swipe##Go back and swipe again",
UIImage(named:"IMG_2")!:"",
UIImage(named:"IMG_3")!:"Send More Super Likes##Let them know you are interested",
])

//Add Button Action
appBanner.addAction(GLInAppAction(title: "10", subTitle: "Boosts", price: "₹155.00/ea", handler: { (actin) in
print("Completion handler called \(actin.actionSubTitle) Boost For \(actin.actionPrice)")
}))
appBanner.addAction(GLInAppAction(title: "5", subTitle: "Boosts", price: "₹184.00/ea", handler: { (action) in
print("Completion handler called \(action.actionSubTitle) Boost For \(action.actionPrice)")
}))

appBanner.addAction(GLInAppAction(title: "1", subTitle: "Boosts", price: "₹250.00/ea", handler: { (action) in
print("Completion handler called \(action.actionSubTitle) Boost For \(action.actionPrice)")
}))

//Button & Background Theme
appBanner.setBannerTheme([UIColor.whiteColor()], headerTextColor: UIColor.blackColor())
appBanner.setButtomTheme([UIColor.blueColor(),UIColor(netHex:0x2375F8)], buttonTextColor: UIColor.whiteColor())

//Set Okay and Cancel Button Title
appBanner.addButtonWith("BOOST ME", cancelTitle: "NO, THANKS") { (str) in
print(str)
if str == "NO, THANKS" {
}
appBanner.dismissBanner()
self.showSimpleAlert("\(str) Button Clicked")
}

appBanner.presentBanner()

Author

gokulgovind, [email protected]

License

GLInAppPurchase is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].