IOS Sina Weibo client demo practice (7) application icon settings and summary

Source: Internet
Author: User

Sina Weibo client demoProgramThe application icon settings and summary are recorded in this blog.

(1) ApplicationsIcon settings.

Step 1:Find the. plist file under the supporting files directory and double-click it.

Step 2:Click "+" as shown in.


Step 3:Find Icon files in the drop-down list


Step 4:Click "+" to add two items



Step 5:Enter the name of the icon in the value column.


After these steps, you can set a beautiful icon for the app!


Note: After the application icon is added, you must first Delete the original app of the simulator (delete method: Hold down the app icon for a few seconds to see image jitter, in the upper-left corner of the icon, you can click it to delete it.) Run, reload the application to your simulator to see the beautiful icon!


(2) Summary

The Sina Weibo client is about to end like this. There are not many main implementations, including reading Weibo, reading comments, reading fans, sending Weibo posts and comments; in fact, I think these things are summarized as calling the API to obtain the relevant JSON data, parse and display it in tableview. Although the content is simple, this process is very difficult to handle, it took about one and a half months to solve the problem.

In this process, the biggest obstacle I encountered was setting the cell height on the Weibo homepage, because my idea was to asynchronously download Weibo content images and then set the cell height based on the Image Height, because the height of asynchronous image acquisition is obviously slower than that of cell settings, I tried various methods, but I was too late to find a solution. In the end, my solution is to set the Image Height to 120, and the image is still asynchronously downloaded, which roughly solves my problem, but some images are changed, I fixed the height of the image, so there may be a slight deviation in the height, but it does not affect the vision, so it is solved in this way.

In addition, due to lack of knowledge about memory management, arc is used in the project. To be honest, although I still don't see any memory problems, I can certainly know that there are serious memory problems in it. Of course, I still need to learn from them later.

In the process of writing this program, I think my gains are as follows:

1. Familiar with tableview usage

2. Familiar with HTTP data requests

Of course, there are still many shortcomings ...... All of these require further study.

Finally, I would like to silently thank Mr. Wang Jiayu, Lu Jianhui, and Ji wanqiang for their guidance and help. Thank you !.

The demo program has been uploaded. Please download and modify it! Demo download link





Related Article

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.