Project Description:
article: Hansrove (GitHub)
ximalaya-by-hansrove-
Imitation Himalaya, an attempt to avfoundation frame
Software Environment: iOS9.1
hardware environment: Mac OS X 10.11
Development tools: Xcode7.1
Project Description:The template is "Himalaya FM", because it likes the style and content of this software, then this software is mixed with too many ads and promotion. So the intention is to capture the packet, and JSON parse out the data, and then use their own interface to complete the audio-visual playback function, the UI is High imitation "Himalaya FM." But some of the content on the original basis of the corresponding modification. Features Overview:0, audio playback: This is the most basic module, providing users to listen to all kinds of sound, albums and radio anchors. 1, the discovery listen: real-time dynamic Information Display page, the daily audio popular information and the number of audio album update, display to the user voice classification and radio and network anchor corresponding recommendation page for the user to select the interaction. 2, custom listening: Record the user's attention to the Sound (album), host and radio and listen to history, and recommend the popular voice in recent days. 3, Download listen: Record the user download record and the user downloaded the voice to classify the display. 4, search function: According to hot words to provide display, users can search for the host, radio, voice or album.
technology and framework used in the project: "Pure Code + Storyboard" project built using MVVM mode1, two times package afnetworking and mjextension for data request and analysis;2, using masonry to achieve a pure code layout, using Mjrefresh to achieve pull-up refresh pull-up loading;3, a lot of use of custom cell, custom button, custom view for multi-control encapsulation convenient layout use;4, using avfundation to achieve online audio playback. And customize the player appearance as well as the progress bar configuration;
Project Harvest:1, the use of the MVVM mode more skilled, design patterns of understanding and grasp for the future development of a lot of detours;2, familiar with the JSON data analysis, the data processing has a certain understanding, in particular, mastered the mjextension framework of the principle and wording;3, Notification Center and the use of single-case mode, reduce the coupling of the code;4, Pure code jump storyboard or Xib use more proficient, packaged a lot of custom views, convenient layout. Project structure
The pod in the project structure has been parsed in the 1~4 chapter.
[Hmly] 5. Imitate Himalaya FM