Be an effective iOS development engineer

Source: Internet
Author: User

Recently feel that their development efficiency is too slow, summed up a bit: proficiency is not enough is on the one hand, often used to see things, accumulate problems? On the one hand, this cannot be shared. Now the main share is: How to effectively use their own time.

1. Use Xcode.

Xcode is really a development of the divine weapon, automatic completion, a variety of convenient editing shortcuts, find definitions, and other convenient collection of plug-ins, here to introduce some of the development of small details:

A. Source comments, Method One: You can download some code generation template directly and quickly generated. Method Two: Directly observe the picture below.

Compare Pictures:

Individuals often use a three-pole approach.

B. Breakpoints, breakpoints also have tricks. Debug a bug of the divine weapon, you can add a global breakpoint, when the program crashes, will automatically create a breakpoint before the collapse. Add Exception Breakpoint, click on the + sign, options, adding breakpoints. Find the bug no longer set n more useless breakpoints.

Of course, some debug commands to remember, N, C, Po and so on, debugging shortcuts very useful, rather than 2b NSLog

C: Look at the View tool, you can see the running view structure, a better understanding of other people's Code, such as:

Check the red circle where you can see the effect you want, and it is run, and reveal tools, the same function, they have been brought to Xcode.

It's just a simple way to share some of the good things about Xcode, as well as a variety of test tools and debugging tools, which is an advantage for iOS developers. It's not too wasteful.

2. Learn to quickly find reading materials

A. Source code: Code4?cocoachina?github? These are not enough. Let's not say foreign sites, (certainly better than the domestic too much) in the country, especially can not FQ students. Look for the source code when it can be done:

Pod search "xxxx"//pod Download it Yourself

For example, I want to download the source of the drop-down refresh, Egotableviewpullrefresh? Does everybody know this? Such as:

Well, hurry up and improve your reading source speed.

Source code is on the one hand, there are some Daniel's blog, a variety of knowledge, RSS aggregator reading tools and so on.

Well, share these things today and share one next time.

Be an effective iOS development engineer

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.