New NetEase News client application source

Source: Internet
Author: User

SOURCE Download:

Http://code.662p.com/view/11510.html
Demo diagram:
  

1. The highlight of this update is the addition of weather effects can also be used NetEase news to see the weather forecast, a variety of slight animation effect has not been spared.



2. The new version of the NetEase news, rectification of the home UI, at the bottom with Tabbar, so many pages here are also compiled, but can not interact. After all, there are too many things, I think you can click to see the effect even if it can not be further in-depth, a shell is also more than the full space is not strong is it.



3. Home page-the bottom of the homepage with the Tabbar,nav two buttons changed


4. Details page-Detail page more attention to the handling of the details, such as the number of comments previously commented on the issue has been fixed, and there will be a news point in the past no comment, the problem also found a reason, and thoroughly repaired.


5. Atlas page-no major changes to the Atlas page, now the Atlas of the comments are still false data, but will continue to improve


6. Comments Page-Comments page on the details of a lot of changes, if you have played this project will find that now the comments page has no more details of the confusion has changed.



old version Review
the fine imitation of NetEase news. The author of the work, on the NetEase UI, grilled netease image material, crawl NetEase interface and so on. Inside completed the main navigation page, news detail page, picture view page, Comment page. The effect is good, more than the online spread of various and NetEase news UI architecture related code to complete, are better.
1. The main function point of the primary navigation page is that the title bar at the top can be slid, Scrowview and CollectionView (previous version) and the following page will slide to the current page when you click on the title bar or when the gesture is sliding. And the news module is lazy loading, you have to see which pages he will load. This is accomplished by controlling the proxy method of the Scrowview two gesture stop. The following news module provides 4 custom cells to determine which custom cell to load into by parsing the data. The results make the homepage look rich.


2. On the News Details page, NetEase original interface in the previous page returned data in both a URL address, there is an XML string, the URL address is not beautiful, so the practice is to parse the XML format string and display in WebView, This is done in the picture and text mix and set the CSS style. The main highlight of this page is the value between the JS code and the OC code. After clicking on the picture in WebView, the following pop-up can be saved, which is implemented by controlling a page redirection method to intercept the request.


3. The comment page is relatively simple and is a normal custom cell. There is no problem in controlling the custom lines well. The user introduction of the label can be filtered with regular, but the main focus on writing this thing in the core function is not carefully done here.


4. The Image viewer page is basically to achieve the effect of imitation, the following text and 9/16 style are calculated by the scrowview of the offset dynamic, and the same as the home page is also lazy loading pictures, in the picture download is not shown when there will be a netease placeholder picture.



      This project also uses the pull-up loading drop-down refresh and some technical knowledge about parent-child controller nesting and custom navigation bar, these are also helpful to the development of peacetime.
The welcome star is updated at irregular intervals.

test Environment: Xcode 6.2,ios 6.0 or more

Detailed Description: http://ios.662p.com/thread-2550-1-1.html

New NetEase News client application source

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.