See some iOS interview questions on the internet and look at answers

Source: Internet
Author: User

Copyright belongs to the author.
Commercial reprint please contact the author for authorization, non-commercial reprint please specify the source.
Peak
Links: http://www.zhihu.com/question/19604641/answer/44151044
Source: Know

1. What is ARC? (Arc is to solve what problem is born?) )
2. Please explain the difference between the following keywords: assign vs weak, __block vs __weak
3. Does the __block have the same meaning in arc and non-arc?
4. Is it always thread-safe to use atomic?
5. Describe a retain cycle example that you have encountered. (Don't lie, you must have met)
6. + (void) load; + (void) initialize; what's the use?
7. Why the other language is called a function call, objective C is to send messages to the object (or talk about the understanding of the runtime)
8. What is method swizzling?
9. What is the relationship between UIView and Calayer?
10. How to add a fillet to the Uiimageview in high performance? (Don't say layer.cornerradius!)
11. What are the effects of using DrawRect? (This can be deep and shallow, you have to use at least.) )
What is the logic of loading images to Uiimageview in ASIHTTPRequest or sdwebimage? (Put the Uiimageview in the UITableViewCell inside to ask more praise)
13. Trouble you to design a simple picture memory buffer (removal strategy is a must say)
14. Tell me about your experience using instrument to optimize your animation performance (don't ask me what instrument is)
What's Loadview for?
Viewwilllayoutsubview you always know.
What kinds of queue are there in GCD? Have you built the serial queue yourself? What is the threading model behind it?
18. Have you ever used CoreData or SQLite? is read and write sub-threaded? Have you ever met a deadlock? What's the deal?
What is the difference between post and get of HTTP? (A lot of difference, more trouble to say a bit)
20. I know you haven't touched the algorithm data structure since you graduated from college, but you must tell me what binary search tree is? What is the time complexity of search? I'd love to know!

See some iOS interview questions on the internet and look at answers

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.