Swift3.0 + MVVM high imitation panda TV

Introduction: now live more popular, there are many live APP, such as TV, panda Betta, Ying Ke, meow, sowing banners etc.. I cock a silk, usually play LOL, I won’t tell you, I’m bronze 5 slag. Work, no computer play, just watch the live broadcast, so there is this copy of the project written. Project GitHub address: https://github.com/VictDog/PandaTV statement: 1., the interface of this project is captured with blue and white porcelain download address, only for learning. On how to use the blue and white porcelain grab data, please click here to
2. in the project material is extracted from the panda TV.ipa, here is a tool of iOS Image Extractor on how to use this tool, please look at this article engineering environment: Xcode8.0 + swift3.0
framework: Alamofire request data, Kingfisher loading picture. The use of the two framework, GitHub official, there are also online, the project also has.

Project introduction

The beginning is to do the live broadcast, should be for this is the essence, but the blue and white porcelain grabbed the live address, and for a long time, but also can not grab. Can only say, do your best. If a great God has access to live broadcast addresses, please let us know

The important thing to say three times: because
doesn’t broadcast address, broadcast function can not be achieved, we can try to capture
due to broadcast address, broadcast function can not be achieved, we can try to capture
due to broadcast address, broadcast function can not be achieved, we can try


The whole project is divided into 5 modules: first, games, entertainment, show, my shallot. Here are 5 simple pictures of each interface

  • Home page: click on the rightBarButtonItem controller can jump search, search the contents of the menu view switching controller that interest you, you can slide left and right click on the jump channel selection page, you can add your own love channel advertising scroll bar, collectionView + pageControl collectionView packet classification, implementation
Swift3.0 + MVVM high imitation panda TV
home page.Gif
  • Channel selection controller: initial status, no content on common channels. All the user clicks on the channel list, click the channel from all channels to remove, add to the common channel channel used to have content, when the user clicks on the common channel, click on the channel will be removed from the common channel, all channels are automatically added to the last when the common channel content, the user presses a channel in the common channel, can easily drag the replacement position when the user clicks on the upper left corner of the back button, common channel will update to the menu selector.
Swift3.0 + MVVM high imitation panda TV
channel listing.Gif
  • Game collectionView implementation, nothing to say. Click on each item jump, different game classification, video list, and also collectionView implementation
Swift3.0 + MVVM high imitation panda TV
game.Gif
  • Entertainment pageTitleView, switching channels can be left and right sliding, the following is collectionView, nothing to say
Swift3.0 + MVVM high imitation panda TV
entertainment.Gif
  • Shallot show using UIWebwView loading “
Swift3.0 + MVVM high imitation panda TV
show.Gif shallot
  • My tableview static cell packet
Swift3.0 + MVVM high imitation panda TV,
, my.Gif

This project is written in swift + MVVM. I was also in touch with swift, and soon, swift3.0’s understanding is not very thorough, all projects there are many problems or garbage code. What if you have good suggestions or advice I can issu, or you can contact me in the book, or email me

If you feel of any help to you, please present your valuable Star!!! Esteem it a favor!!!