Open-source Chinese community iPhone client project study notes

Source: Internet
Author: User

Note: This article assumes that you already have an xcode4 or a later development environment (xcode 4.3 is recommended)

Double-click the oschina. xcodeproj file to start xcode.

This project adopts the GPL authorization protocol. You are welcome to make improvements on this basis and share them with us.

The following is a simple analysis of the project:

1. afnetwork--- General network library
2. gcdiscreetnotificationview--- The Top pop-up notification bar that will automatically disappear
3. Thread--- Background thread object, processing the movement of images sent in the background
4. softwaregroup--- All software index pages and software group pages
5. Friends--- Friend list page, including fans and followers
6. Search--- Search Page
7. Favorite--- Add to favorites
8. mbhud--- Load the prompt control
9. ftcolor--- Rich text display control
10. egoimageloading--- Asynchronous image control
11. User--- Other user personal pages and login user pages
12. Comment--- Comment list and comment
13. asyncimg--- Asynchronous image control, always used for loading user portraits in the list
14. Setting--- Login, logout and about us
15. Profile--- Dynamic pages, comments, and dialog bubbles
16. News--- News, Q & A lists, and all types of article details pages
17. Tweet--- Move the list, and publish the details of the move and move
18. helper--- Project auxiliary class
19. tbxml--- XML parsing: deserializes XML strings returned by all APIs
20. asihttp--- Another network library, responsible for user login and sending movements with images
21. Model--- All object of the project
22. Resource--- Project resources

Below are the sub-objects of the model directory:

Model
├ Tweet move list unit, also used to move details
├ News news list Unit
├ Post Q & A list Unit
Optional message list Unit
Dynamic activity list Unit
├ Config program configuration settings
├ Singlenews news details
├ Singlepostdetail
Comment comment list Unit
Alibaba software details
Blog details
└ Favorite
└ Searchresult search result list Unit
Friend friend list Unit
└ Softwarecatalog Software category list Unit
└ Softwareunit Software List Unit
└ Blogunit blog list Unit

Functional Process of the project1. app startup process

In the osappdelegate startup method, declare a uitabbarcontroller and
Newsbase
Postbase
Tweetbase2
Profilebase
Settingview
Fill in five uitabitems

2. IPA file generation process

1. Start the iTunes program on the OSX System
2. Start xcode and press and hold the command key in the oschina/products/oschina. app of the project, and then drag and drop the mouse to the iTunes application column.
3. Right-click the "Open Source China" icon in the iTunes program and select "display in Finder" in the pop-up menu. Then you can see the IPA file path.


This article is from the "little happiness" blog, please be sure to keep this source http://xiaoxizhi.blog.51cto.com/6599964/1553593

Open-source Chinese community iPhone client project study notes

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.