iOS face question (iii)

Source: Internet
Author: User

One, do you use objective-c run-time 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?


Three, do you implement too many threads of core data? 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)


V. 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 ... )


Seven, 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).

Now that you mention GCD, ask yourself 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?


Eight, have you done asynchronous network processing and communication work? If so, can you specifically introduce some implementation strategies?


Nine, for objective-c, what do you think its biggest advantage and biggest deficiency is? 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.


Xi. constructs 5 string objects and adds them to an array, traversing the array output string content (Swift language implementation)


12, point out the following code what is the problem

@interface Testviewcontrol ()

@property (Nonatomic,strong) NSString *obj1;

-(void) testme{

Self.obj1 = @ "TestString";

int num = 0;

Int (^myblock) (int a,int b) = ^ (int a, int b)

{

num = a + b;

Self.obj1 = @ "TestString2";

return num;

}

};


13. How to get the runtime object in the app, what is the general purpose of the runtime object?


14. What is the interface between the UI framework and the CA,CG framework? What animations or images have been made with CAS and CG, respectively


What is the difference between a IOS5,IOS6,IOS7,IOS8 multi-tasking system and a brief description of iOS4?


iOS face question (iii)

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.