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