From December 2013 into the pit so far, almost did 1.5 iOS development, review the learning process
Learn several stages of iOS development
First of all, I think it takes 5 steps to learn a language:
1, understand the language itself. First, for example, you need to understand the characteristics of objective-c and all sorts of related things. From the underlying variable type, syntax, to the advanced features of the language such as block, reflection, etc.
2, understand the platform. such as UIView hierarchy, Uiviewcontroller life cycle, App life cycle, KVO, common patterns such as target-action,delegate,datasource, etc.
3, familiar with the platform of a variety of commonly used API. such as Uikit,core Graphics,core Animation,core Data,apns, etc.
4, understand the industry's standard plan, third-party library. such as cache, network, database operations, interface refresh, data synchronization, Duang duang effects, and so on, basically all scenarios have a corresponding solution and open source Library, better than their own wheels, but if the foundation is relatively solid, it is easy to understand the implementation of open Source Library, you can also submit PR to help improve
5, the lower level of things. Like using pure C to achieve what objective-c can't do.
The main learning methods
1, official information, including the Apple Develop center of the various guide and reference, as well as WWDC annual video. This is the most authoritative and up-to-date information that must be familiar and follow up. If there is only one choice in all learning methods, then this is the only thing that cannot be discarded.
2, paper books and e-books. Good publications, readability and systematization are usually good, better than official documents. This 1.5 I also read a lot of iOS development related books, the impression that help is relatively large mainly fundamentals,pushing the limit,eoc,programing and so on. Yes, the English book Quality obviously rolled Chinese version, even some of the domestic iOS senior developers, although the development level is good, but the quality of the book is generally
3, open source project source code. such as Afnetworking,sdwebimage,fmdb and other industry-famous open Source Library, its source is worth reading
4, high-quality blog, Weibo, the public number. This kind of information is more fragmented, the depth is relatively shallow, but the benefits of timeliness is the strongest, more can play a role in guiding reading. For example, a few days ago, Facebook just open source react native, the industry is very hot, then from the micro-blog to know this information, you can go further to find information more in-depth study
5, the most core, write more
A personal learning experience
Before I was very familiar with the backend and the web, there was a bit of Android experience, but iOS was a new touch. The last approximately 3 months completed the first iOS project, which was based on the ipad. Because it is from zero to a process, so I feel that progress is obvious, every day to contact new things, work also feel very happy. That stage is mainly laying the groundwork, the Objective-c language itself and the characteristics of the iOS platform are basically in contact, a variety of third-party libraries are also used 7788, especially Fmdb and Cordova, because of a lot of pits, so also mastered particularly clear
Later started to do the second app, mainly in the process of doing, the principle and basic knowledge again combed again, in order to draw a report, not only use Uikit, but also the core graphics that set of API play again, and finally several commonly used report diagram (pie chart, histogram, line chart, etc.) extracted and made a control library on GitHub.
Recently in a new app, this time I feel the challenge is smaller, basically there is no too new things. But now the iphone has 4 sizes, the aspect ratio is not uniform, so the previously not too concerned about the screen adaptation problem becomes more prominent. Our UI is pure handwriting, not storyboard and xib, so use the masonry to do the binding, feel good
iOS learning process review