GithubHelp home page GithubHelp logo

amanuel / cbmailinglistsignup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thecocoabots/cbmailinglistsignup

1.0 2.0 0.0 97 KB

Sign users up to your Campaign Monitor mailing lists from within your Cocoa app.

cbmailinglistsignup's Introduction

CBMailingListSignup

This is Cocoa code for signing users up to Campaign Monitor mailing lists from within your application. It automatically looks in the user's address book for their name and their possible email addresses and asks the user to confirm before using the Campaign Monitor web services API to register the user. It allows submitting custom information via the API - by default it will push through the App name, and the long and short version strings.

This code is heavily based upon UKCrashReporter and JRFeedbackProvider.

This code is currently a work in progress.

Usage

  1. Drag the following files to your own project:

    Classes/CBMailingListSignupWindowController.h Classes/CBMailingListSignupWindowController.m Resources/CBMailingListSignup.xib Resources/CBMailingListSignup.strings

  2. Add a new key and value to your application's Info.plist:

    CBMailingListSignupURL = http://api.createsend.com/api/api.asmx

  3. Modify both the sCMListID (ListID) and sCMAPIKey (API Key) to reflect your own List ID and API Key (you can find these in your Campaign Monitor account).

  4. Import the "CBMailingListSignupWindowController.h" header into your application delegate.

  5. Call the following code from somewhere within your code (I'd suggest an IBAction) to show the signup:

    [CBMailingListSignupWindowController showSignupWindow];

LICENSE

This code is licensed under Creative Commons Attribution 2.5.

cbmailinglistsignup's People

Contributors

tonyarnold avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.