IOS interview (German)

Source: Internet
Author: User
German iOS interview finishing (a bit messy in order)
Really sorry interviewer, video interview, my side is always no sound.
1.
-(void) Testfun
{
CGRect A;
.....


}
A is the memory on the heap, or on the stack?
2.. How to put a cgrect type of data on the heap? How many methods can you think of?
3. CGRect A;
[A retain];
Is it possible to compile
Has 4.autorelease Pool worked?
For auto release pool, can there be more than one auto release pool for the same thread?
If possible, if there is a variable [b autorelease]
So, which auto release pool is b being added to?
What's the relationship between 5.NSRunloop and thread? Must there be an auto release pool in a thread?
Have you used UIView 6? What's the difference between the first two? If we know bound/center, can we figure out frame?
7.uiviewcontroller loading mechanism What kind of, can you describe to me.
8. Can you tell me the mechanism of view hit test?
9. If using the native Apple code, help me write a code to request the Taobo home page.
10. Can you describe the concept of deadlocks in the operating system?
11. If we do nsmutabledictionary ourselves, can you describe the idea?
12 in the master's program, does the memory include design patterns and studies? Can you give me a description of how to construct the Observer pattern?
13 Have you seen anything about iwatch?
14 There is an array of mutable, how to implement the elements of the even order to delete all?

IOS interview (German)

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.