For iOS, you will encounter

Source: Internet
Author: User

For iOS, you will encounter

1. Explain the principle of ARC. After introduction of ARC, how many modifiers are added to iOS? And explains when to use it?

 

2. Give you a variable array aMutableArray. Please write the algorithm code that you think is better.

 

3. UITableView is the most commonly used control in iOS development. In addition to the system reuse mechanism, what methods do you commonly use to optimize its efficiency?

 

4. Please refresh the custom UITableView drop-down list.

 

5. Under what circumstances will KVO expire?

 

6. Write the following program section to print the result and explain the cause.

    __block NSString *leftStr = @"FirstLeft";        NSString *centrStr = @"FirstCenter";        NSString* (^myBlock)(NSString *) = ^(NSString *lastStr){                return [leftStr stringByAppendingString:[NSString stringWithFormat:@", %@, %@", centrStr, lastStr]];    };        NSLog(@"%@", myBlock(@"last"));        leftStr = @"ThenLeft";    centrStr = @"ThenCenter";        NSLog(@"%@", myBlock(@"right"));

 

 

7. MVC understanding.

 

8. Let's talk about your understanding of the Xmpp protocol and the commands for adding friends, creating groups, and joining groups to XMPP.

 

9. The principle of SDWebImage.

 

10. After iOS7, the custom navigation bar will cause a slide return failure. How can this problem be solved?

 

11. You need to obtain a total of 100 integer numbers from 1 to, and unordered these numbers are stored in an array to write your algorithm.

 

12. What is the TCP/IP protocol? What is the difference between TCP and UDP?

 

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.