Advanced iOS routes and advanced books

Source: Internet
Author: User

First, be familiar with the arc mechanism: first of all, to understand the arc of the past life, if not clear will lead to two possible, 1, an object's reference inexplicable is empty, or invalid. This can generally be found in the development phase, because it can lead to application exceptions. 2, causing memory overflow; it is very easy to understand that the arc mechanism can easily cause memory to not be released properly. If the memory test is not intentionally done, then it will be exposed at the user's stage, because memory consumption is a cumulative process, the user continues to use the app, until the memory runs out and exits unexpectedly.


Second, understand how block is used: the feeling behind my use is that you can put together the processing of a different result of an operation without being scattered everywhere; logic looks clearer.


Third, GCD users: very good multi-threaded, plus block, you can no longer use the selector.


The above three points can read the book "Objective-c Advanced Programming: iOS and OS X multithreading and memory Management"


Four, the flexible use of auto Layout:auto layout has been a long time, since iOS7 Xcode5 began to have a major improvement. If you still use autosizing, and then calculate your own position, then you are an antique.

-First stage: Get started with Auto layout look at the three posts of the year of the cold, starting with getting started, and making a few difficult pages: http://lvwenhan.com/ios/430.html

-The second stage: then in the actual operation of a lot, when some sentiment, you can look at this summary post: http://vit0.com/blog/2013/12/07/iosxue-xi-zhi-autolayout

-The third stage: In fact, Auto layout is based on a set of theoretical basis, the function is very powerful, to do the real master, please read the book "IOS Auto Layout Development Cheats (2nd edition)"


Five, see what people do: a lot of things in their own time will think this is the best method, this state is very dangerous, caught in the state of closed doors. The way to change this state

-Method 1: Communicate more with the outside world;

-Method 2: Read the book, "Advanced iOS Development", which actually records some of the skills and skills of the author's work; The content cannot be said to be comprehensive, but if you turn it over, you may find a good place for others to do it.


Six, Swift, this is not much to say, the language itself I do not see a particularly clever place. Efficiency, mode? is actually a replica of OC. Apple will not launch the language for no reason, and the recent stir is to announce open source. There must be a reason, programmers, to keep up.

Advanced iOS routes and advanced books

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.