GithubHelp home page GithubHelp logo

kpcc-iphone's Introduction

KPCC-iPhone

The KPCC iOS App for iPhone

Currently being targeted at iOS7 and up. Compiled and built with Xcode 6 for iOS8. And meet our new best friend, Swift.

Config

In order for this app to hook up to the variety of third-party services we use, you're going to have to setup a file 'KPCC/Config.plist' - as seen in SCPR/KPCC-iPad.

Here's what that might look like for you:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>LinkedIn</key>
  <dict>
  	<key>AppKey</key>
  	<string></string>
  	<key>ClientSecret</key>
  	<string></string>
  </dict>
  <key>Twitter</key>
  <dict>
  	<key>ConsumerKey</key>
  	<string></string>
  	<key>ConsumerSecret</key>
  	<string></string>
  </dict>
  <key>Readability</key>
  <dict>
  	<key>ApiKey</key>
  	<string></string>
  </dict>
  <key>Mixpanel</key>
  <dict>
  	<key>SandboxToken</key>
  	<string>...</string>
  	<key>ProductionToken</key>
  	<string>...</string>
  	<key>BetaToken</key>
  	<string>...</string>
  </dict>
  <key>Desk</key>
  <dict>
  	<key>AuthPassword</key>
  	<string>...</string>
  	<key>AuthUser</key>
  	<string>...</string>
  </dict>
  <key>AdSettings</key>
  <dict>
  	<key>AdGtpId</key>
  	<string></string>
  	<key>VendorId</key>
  	<string></string>
  </dict>
  <key>Flurry</key>
  <dict>
  	<key>ProductionKey</key>
  	<string>...</string>
  	<key>DebugKey</key>
  	<string>...</string>
  </dict>
  <key>TestFlight</key>
  <dict>
  	<key>AppToken</key>
  	<string>...</string>
  </dict>
  <key>StreamMachine</key>
  <dict>
  	<key>standard</key>
  	<string>...</string>
  	<key>xfs</key>
  	<string>...</string>
  	<key>test</key>
  	<string>...</string>
  	<key>external-test</key>
  	<string>...</string>
  	<key>xcast-mp3</key>
  	<string>...</string>
  	<key>xcast-aac</key>
  	<string>...</string>
  </dict>
  <key>SCPR</key>
  <dict>
  	<key>staging</key>
  	<string>...</string>
  	<key>production</key>
  	<string>...</string>
  </dict>
  <key>NewRelic</key>
  <dict>
  	<key>production</key>
  	<string>...</string>
  </dict>
  <key>GoogleAnalytics</key>
  <dict>
  	<key>Sandbox</key>
  	<string>...</string>
  	<key>Production</key>
  	<string>...</string>
  </dict>
  <key>Parse</key>
  <dict>
  	<key>ClientKey</key>
  	<string>...</string>
  	<key>ApplicationId</key>
  	<string>...</string>
  </dict>
  <key>Auth0</key>
  <dict>
  	<key>POST</key>
  	<string>...</string>
  </dict>
</dict>
</plist>

Dependencies

The app uses CocoaPods to manage third-party libraries within the project:

Podfile

platform :ios, '7.0' pod 'AFNetworking', '~> 2.0' pod 'JDStatusBarNotification' pod 'pop', '~> 1.0' pod 'FXBlurView', '~> 1.6' link_with ['KPCC', 'KPCC-TestFlight']

We also incorporate several libraries that are included in the repository as compilable sources:

Inline compilable dependencies:

    Flurry (v5.3.0)
    TestFlight (v3.0.0)

Building & Running

You're going to have to install CocoaPods. After doing so:

Run pod install from terminal in the project root, open KPCC.xcworkspace, and build to a device as you see fit. Ignore errors from TestFlight, Flurry, and other services that require the use of secret keys - the app should still run fine without them. You're going to have to use your own keys and set up a Config.plist to make use of these libraries.

As stated above, this app plays nice with Swift, so you're going to have to download Xcode 6 and build for simulator/devices running >= iOS7.

kpcc-iphone's People

Contributors

jmkr avatar benkpcc avatar ewr avatar penultimate-labs avatar sdillingham avatar chris-fuller avatar seanpatches avatar

Watchers

James Cloos 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.