What's the first disgusting thing about iPhone/iPad development?

Source: Internet
Author: User

1. added a file named "time". The result of running the compilation is clear and then compiled. The pre-compilation Header error is reported. Fuck! It took my grandmother three hours to figure out that it was in conflict with the system's header file.

2. Use IB to add a uipickerview control. The result is that there is no data. It takes only half a day to find that data Initialization is useless in viewdidload. Put it in the init methods. The behavior of this item is different from that of uitableview. It relies on delegate, datasource, and fuck.

3. If you want to convert the string "8: 13 PM" to "time", the result will not work. The final result is that the current language is Chinese and PM is English. Therefore, you must set the nsdateformatter localization to EN and select the correct time zone, for example, UTC, to get the correct local time. Fuck,

4. After setedit: Yes, the logo that can be moved cannot be displayed.ArticleBooks,CodeThe same is true. It turns out that, except for the three necessary conditions, the method that responds to the move event must be implemented, even if it is empty.

5. Use nsnumberformatter to format the file. You can find a code that is useful for setting setformat directly. The result is that the setformat method is killed in the iPhone project. I will go. I have found a lot to make it better.

6. There is also a problem involving the textfield editingchage event. In the return function, synchronization cannot be used. It is estimated that the synchronization lock can be reentrant.

 

For more problems, visit released objects. This is the most annoying. Fortunately, nszombieenabled can be used to help you. It is too easy to lose confidence in iPhone development without help.

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.