Git Product home page Git Product logo

mytv's Introduction

#myTV

myTV is an open source live watching TV app with robust and professional features.

alt text

##Video

View this GETTING STARTED VIDEO. It's short & sweet to give you a quick overview.
Give it a quick watch.

##Features

  • Loads and parses metadata (Logo and Channels)
  • Displays TV Program Guide
  • Ability to update playlist from server or locally. (Update stations anytime without resubmitting to app store!)
  • Custom views optimized for iPhone 4s, 5, 6 and 6+ for backwards compatibility
  • Compiles with Xcode 7 & Swift 2.0
  • Supports local or hosted station images
  • "About" page with ability to send email & visit website
  • Uses industry standard SwiftyJSON library for easy JSON manipulation
  • Pull to Refresh Stations
  • UIWebView playing stream using TV Channels

##Important Notes

  • TV stations in demo are for demonstration purposes only. (for apple store copyright tv channels can be a problem)
  • For a production product, you may want to swap out the MPMoviePlayerController for a more robust streaming library/SDK (with stream stitching, interruption handling, etc).
  • Uses Meng To's Spring library for animation, making it easy experiment with different UI/UX animations
  • SwiftyJSON & Spring are included in the repo to get you up & running quickly. It's on the roadmap to utilize CocoaPods in the future.

##Credits

Created by Matthew Fecher, Twitter: @goFecher Mustafa Sahin, Facebook: @distinguish Thanks to Basel Farag, from Denver Swift Heads for the code review.

##Requirements

  • iOS 8.0+ / Mac OS X 10.9+
  • Xcode 7 / Swift 2.0

##Setup

The "myTV-Settings.swift" file contains some project settings to get you started.
Watch this Getting Started Video to get up & running quickly.

##Integration

Includes full Xcode Project to jumpstart development.

##Channels

Includes an example "stations.json" file. You may upload the JSON file to a server, so that you can update the stations in the app without resubmitting to the app store. The following fields are supported in the app:

  • name: The name of the station as you want it displayed (e.g. "Sub Live TV")

  • streamURL: The url of the actual stream

  • imageURL: Station image url. Station images in demo are 350x206. Image can be local or hosted. Leave out the "http" to use a local image (You can use either: "station-subpop" or "http://myurl.com/images/station-**TV.jpg")

  • desc: Short 2 or 3 word description of the station as you want it displayed (e.g. "Country Turkey")

  • longDesc: Long description of the station to be used on the "info program guide". This is optional.

##Contributions

Contributions are very welcome. Please create a separate branch (e.g. features/3dtouch). Please do not commit on master.

##Streaming Libraries

  • You can use this Swift code as a front-end for a more robust streaming backend.
  • If you test it with a library, let me know!

##Original Source

mytv's People

Watchers

 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.