IOS advanced routes and advanced books, and ios advanced books

Source: Internet
Author: User

IOS advanced routes and advanced books, and ios advanced books

First, be familiar with the ARC mechanism: first, understand the past and present of ARC. If you do not know it clearly, there will be two possibilities. 1. The reference of an object is inexplicably blank or becomes invalid. This can be found in a timely manner in the development phase, because it may cause application exceptions. 2, leading to memory overflow; if you do not understand the ARC mechanism, it is easy to cause the memory to be improperly released, which can be hidden. If you do not perform a memory test, it will be exposed at the user's usage stage, because the memory consumption is a cumulative process, and the user continues to use the APP until the memory is exhausted, exits unexpectedly.


Second, I learned how to use Block: After using Block, I felt that the processing of different results of an operation can be put together, instead of being dispersed everywhere. The logic looks clearer.


Third, GCD users: very easy-to-use multithreading; with block, selector can no longer be used.


The above three points can be viewed in this book "Objective-C advanced programming: iOS and OS X multithreading and memory management".


Fourth, flexible use of auto layout: auto layout has been around for a long time, and significant improvements have been made since ios7 xcode5. If you still use autosizing and calculate the location by yourself, you are an old antique.

-The first stage: the entry of Auto layout can see the cold three blog, from the entry, to do a few difficult pages: http://lvwenhan.com/ios/430.html

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

-Stage 3: In fact, auto layout is based on a set of theoretical foundations and has powerful functions. If you want to be a real master, please read this book "iOS Auto Layout development cheat book (version 2nd)".


Fifth, let's look at how people do it: many things will think this is the optimal method when they do it. This situation is very dangerous and falls into the state of closed doors. How to change this status

-Method 1: communicate with the outside world;

-Method 2: read this book "Advanced iOS development", which actually records some skills and skills in the work of the author. The content cannot be comprehensive, but can be doubled, maybe we can find out what other people do.


Sixth, Swift, This is not much to say; the language itself is not particularly brilliant. Efficiency, mode? It is actually an oc rebuild. Apple will not launch the language for no reason. The recent sensation is to announce open source. There must be a reason why the cost is so vigorous. Keep up with programmers.

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.