Giter Site home page Giter Site logo

cdesai / alamotable Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 735 KB

Swift 3 + iOS 10 example app demonstrating use of Alamofire, SwiftyJSON and AVFoundation to fetch 30 second preview songs from Spotify using Spotify API.

Swift 97.20% Ruby 2.80%
alamofire swiftyjson ios-swift swift3 ios10 avfoundation spotify-api swift

alamotable's Introduction

AlamoSpot

You will be able to create an app called 'AlamoTable' using Swift 3 and iOS 10 to demonstrate use of Alamofire, SwiftyJSON and AVFoundation to fetch 30 second preview songs from Spotify using Spotify API.

You will need following Pods to be added:

  • Alamofire
  • SwiftyJSON

How to run this project:

  1. Download or clone repo.
  2. Run pod init to install all pods.
  3. Open AlamoTable.xcworkspace.
  4. Run the app in simulator or device

This demo app covers following concepts:

  • Table View Controllers
  • UIImage, UILabel, UISearchBar
  • Use custom TableViewCell
  • Use blurred background
  • Creating a custom type
  • Passing data between segue
  • Search tracks on Spotify using Search Bar
  • Creating GET request using Alamofire based on search keyword
  • Parsing JSON using SwiftyJSON
  • Creating a download task to download song from URL
  • Playing an Audio Track using AVFoundation
  • Adding Play/Pause functionality

Please feel free to comment and suggest on quality of the code and any flaws.

Thank you and hope you will find it useful.

Screenshots

This is how the final app will look like.

AlamoTable - Home Screen

AlamoTable - Play Track Screen

alamotable's People

Contributors

cdesai avatar

Watchers

 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.