Coder Social home page Coder Social logo

imwithher's Introduction

ImWithHer

CI Status Version License Platform

Why?

The 2016 presidential election is extremely important, and as a country, we must not let a dangerous, bigoted, fraudulent man become the president. The two biggest ways to do your part is 1) register to vote and vote Hillary, and 2) donate to the Hillary campaign.

How does this work?

You're on GitHub reading this right now, so you probably build software. Have an iOS app? Want to do your part in making sure Donald Trump doesn't win? This prompt allows you to prompt your users to donate to Hillary with at most 3 lines of code.

In your application:didFinishLaunchingWithOptions: function, add the following line of code.

ImWithHer.appLaunched()

Optionally, set how many days after the user first launches your app that you want to prompt them. (Default 0)

ImWithHer.daysUntilPrompt = 2

Optionally, set how many times a user must open your app before you prompt them. (Default 0)

ImWithHer.usesUntilPrompt = 2

Installation

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

pod "ImWithHer"

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Author

canzhiye, [email protected]

License

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

imwithher's People

Contributors

canzhiye avatar

Stargazers

Krish Dholakiya avatar Scott Raymond avatar Ash avatar Zuhayeer Musa avatar Allison Snodgrass avatar Ben Zotto avatar  avatar Rohan Pai avatar

Watchers

James Cloos avatar  avatar

Forkers

ashbhat

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.