Skip to content

What better way to check out the hot new Swift programming language then with tweets from our very own Taylor Swift!

Notifications You must be signed in to change notification settings

mchambers/taylortime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

taylortime

What better way to check out the hot new Swift programming language then with tweets from our very own Taylor Swift!

What's in the box?

Your very own iOS 8 app that uses NSURLSession to hit up Twitter, fetch an application-level bearer token, then retrieve the latest tweets of one taylorswift13.

What can I see in action?

  • Some asynchronous network calls via NSURLSession
  • Bridging between NSArray/NSDictionary and Swift arrays/dictionaries
  • Random number generation
  • Some struct initialization
  • Tuples!
  • Generics!
  • Closures! (and trailing closure syntax!)
  • The raw emotion of a lost soul, happy and free, yet so confused

How do I run it?

  1. Get yourself a copy of Xcode 6. You'll need to have an Apple Developer account. That's $99.
  2. Now, make yourself a Twitter application. You can do that at the Twitter Developers portal.
  3. In ViewController.swift, change **YOUR API KEY HERE** and **YOUR API SECRET HERE** to your API key and secret.
  4. Run, click the button, swim in a sea of unfiltered emotion.

Is this good Swift code?

I'd like to think so. I mean, I did sit through the entire "Introduction to Swift" session at WWDC.

Are you an Apple Developer Evangelist of some sort?

Not yet. WINK WINK.

Who are you, then?

I'm @marcchambers.

About

What better way to check out the hot new Swift programming language then with tweets from our very own Taylor Swift!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages