Demo App for 360iDev Talk
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Carthage/Checkouts
Libraries
Readme
TwitterLivestreamSwift.xcodeproj
TwitterLivestreamSwift
TwitterLivestreamSwiftTests
.gitignore
Cartfile
Cartfile.resolved
README.md

README.md

This Project is now Outdated: Check Out Swift Flow

The ideas from this project have been used to build a library for unidirectional data flow in Swift: Swift Flow. If you're interested in this architecture you should go check the project out.


About this Project

This is an experimental project, the main goal was to create an App that heavily relies on value types instead of reference types. This project is used as proof for the overall architecture discussed in this talk: Safer Swift Code with Value Types.

It's an attempt to use a flux-ish architecture on iOS:

image

##Installation

###Dependencies

To run this project you need to have Carthage installed.

Checkout the GitHub repository, then run:

carthage update

###Twitter Authentication

If you want to run this app you will need to create an app on apps.twitter.com since this application requires to authenticate with Twitter.

Once you have created an app you need to create a .plist file called TwitterKeys.plist and add it to the project.

Finally, you need to fill the plist with the consumer_key and consumer_secret provided by twitter:

image