This repository contains the source code for Cannonball, an iOS application written in Swift built with Fabric.
Cannonball is the fun way to create and share stories and poems on your phone. Start with a beautiful image from the gallery, then choose words about #adventure, #romance, #nature or #mystery to complete the story and share it with friends. Browse top stories created by other users for inspiration.
If you would like to play with the app, Cannonball is available on the App Store.
Cannonball is a canonical sample iOS app to demonstrate how to use Fabric, the easiest way to build the best apps.
Cannonball uses many of the features available in Fabric, including Crashlytics, Answers, Sign In with Twitter and Phone Number via Digits, Embedded Timelines with the Twitter Kit as well as the Tweet Composer to share on Twitter, and finally Native Ads from MoPub.
To get started and run the app, you need to follow these simple steps:
- Open the Cannonball project with Xcode.
- Sign up for Fabric on fabric.io.
- Download and install the Fabric Mac app.
- Sign in with your Fabric account, select the Cannonball Xcode project and choose an organization.
- Install Crashlytics, Digits, Twitter and MoPub Kits from the Mac app.
- You're all set! Run Cannonball on your iPhone or the iOS Simulator.
Please note that in order to display Native Ads from MoPub on the History screen, you will need to insert your MoPub Ad Unit ID in PoemHistoryViewController.swift
.
This project is written in Swift. The code has been converted to Swift 2.0 so Cannonball now requires Xcode 7 to build and run.
Cannonball for iOS is compatible with iOS 7+.
Copyright 2014-2015 Twitter, Inc. and contributors.
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0