[Turn] 10 iOS interview questions from your superiors

Source: Internet
Author: User

10 iOS interview questions from your superiors

turn from http://onevcat.com/2013/04/ios-interview/

The interview is a very important part of recruiting and applying, especially for developers, the technical problem in the interview is not only an inspection of the skills and accumulation of the candidates, but also a good opportunity for the developers to self-test. For iOS and Mac development, because the ability is relatively new, the enterprise for this aspect of the developer needs are also relatively large, so the interview requirements may not be very high, generally can know some cocoa and OC basic knowledge also think it can. But for an iOS or Mac developer looking for a technology-based enterprise, two to three top skilled technicians, leading some of the more junior developers, should be a common component of the project.
Cocoa especially the development of Cocoatouch, the start can be said very easy, but behind the hidden details and principles are very rich. On the one hand, the basics are not skilled and clear (for example, starting with a appdelegate to build Viewcontroller with code, or clearly explaining the concepts of stacks and heaps), on the other hand, little is known about advanced development (such as multithreading, Network asynchronous processing or various frameworks at the beginning of the core, etc.). This is important, but it may be that the average iOS developer is now more or less weak on these issues. Here I've compiled a list of the interview topics for the higher-level iOS developers, listing the technologies that should be mastered and understood by 10 senior Cocoa/cocoatouch Development engineers applying to the leader level. This list does not provide a standard answer, because there is no standard answer to these questions. With each person's understanding of the content and understanding of the differences, there can be different answers. But most fundamentally, if you are facing a veteran cocoa developer, at least the desired answer is "in touch", and can be combined with your own experience to say a 7788, to each other to understand the intentions and methods of the point. It is better to have good insights and concrete elaboration in two or three of these areas. This review of knowledge coverage and depth is a true reflection of the skill level of the developer. If a large part of the list is completely untouched and has not heard, it may be far from the senior cocoa development such a phase still has a distance.

So, the interview begins.


Have you used OBJECTIVE-C runtime programming (runtime programming)? If you have used it, what have you done with it? Can you remember the name of the relevant header file or some method you used?


Did you implement the core data for too many threads? Which of the nspersistentstorecoordinator,nsmanagedobjectcontext and Nsmanagedobject need to be created or passed in the thread? What kind of strategy do you use to achieve this?


The contents of the series beginning with the core. Whether Coreanimation and coregraphics have been used. What is the interface between the UI framework and the CA,CG framework? What animations or images are done with CAs and CG, respectively. (Some of the contents of quartz can also be involved if necessary)


Have you ever used Coretext or coreimage? If used, please talk about your experience using Coretext or coreimage.


What are the differences and usages of nsnotification and KVO? When should I use notifications, when should I use KVO, and what are the differences in their implementation? Is it possible to implement a similar function with protocol and delegate (or an array of delegate)? If possible, what are the potential problems? If not, why? (Although protocol and delegate this kind of thing interview has been rotten ... )


Have you ever used nsoperationqueue? If used or understood, why do you use Nsoperationqueue to achieve what? Please describe the differences and similarities between it and GCD (hint: it can be described from the implementation mechanism and scope of application).


Since the mention of GCD, then ask what to pay attention to when using GCD and block? Are they two a thing? What is the difference between block behavior and usage in arc and the traditional MRC, and what do you need to be aware of?


Are you working on asynchronous network processing and communication? If so, can you specifically introduce some implementation strategies?


for objective-c, what do you think is the biggest advantage and the biggest deficiency? For the shortcomings, there are now no available methods to circumvent these deficiencies to achieve the requirements. If so, have you considered or practiced some of the features of OC, and if so, how will you do it?


have you implemented a framework or library for others to use? If so, talk about the experience of building a framework or library, and if not, imagine and design the API for the public of the framework, and point out how you might want to do it and what you need to pay attention to to make it easier for others to use your framework.


The above 10 questions are definitely too difficult for beginners or developers who have just come into contact with iOS. To answer all the questions, you may need at least three years of cocoa/cocoatouch development experience. And if you want an insightful answer, it may take longer and more experience. These problems will be a good review for the accumulation of technology, because it is difficult to answer these questions more fully and comprehensively without the actual use and experience of the content involved in these issues. At the same time, because these questions do not have the same answer as the ABCD objective problem, the performance is the applicant's understanding, so the questioner must also have the necessary material or knowledge to deal with the possible discussion.
The answers to these questions will be an effective review of the depth and breadth of the candidate's skills as they seek high-level development engineers or leader positions for the team. Similarly, if your team is more biased on the cocoa/cocoatouch, but the technical team's top engineers are not able to answer these questions well, it may also be a signal to review the technology layer.

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.