GithubHelp home page GithubHelp logo

gottsohn / ios-swift-boiler Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 1.0 21.47 MB

A boiler plate written in Swift 2.2 with Facebook and Twitter Authentication.

License: MIT License

Swift 99.73% Ruby 0.27%
swift boilerplate 3d-touch ios

ios-swift-boiler's Introduction

IOS Swift Boiler Plate with Authentication

A boiler plate written in Swift 2.2 with Facebook and Twitter Authentication.

Swift Version License Build Status Coverage Status

Package Manager

The packages are staged as recommended to avoid framework support deprecation.

Frameworks used

Localization

English πŸ‡ΊπŸ‡Έ and German πŸ‡©πŸ‡ͺ are supported by the application, in Localizable.strings and in the Storyboard's language files.

CoreData Entities

  • Users
    • name: String
    • platform: String
    • email: String
    • user_id: String
    • img: String
    • oauth_token: String
    • oauth_token_secret: String
    • bg_img: String
    • username: String
    • desc: String

Twitter and Facebook API keys

The Facebook APP_ID can be found in LoginViewController.swift in line 237.

Both Twitter and Facebook employ the Social.framework built into Xcode.

How to use

After launch, the application tries to get the user from the Users entity. If the user exists a View is displayed, and vice-versa.

The currently logged in user is saved as a JSON object as Helpers.currentUser, where Helpers is a singleton.

On successful authentication, the user is redirected to the HomeViewController which now displays the user's profile details, and saves the user in the CoreData Users entity.

Perks

  • 3D Touch for context menu
  • Settings View Controller.

Previews

HomeViewController (not logged in)

Logged out


LoginViewControllers

The background video is located here

Logged out


HomeViewController (logged in)

Logged in


SettingsViewController

Settings


3D Touch

3d Touch context 3d Touch settings


The MIT License (MIT). Please see License File for more information.

ios-swift-boiler's People

Contributors

gottsohn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

johnsonejezie

ios-swift-boiler's Issues

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.