IOS Common faces trying to summarize 2

Source: Internet
Author: User

1. Please describe the difference between storyboard and xib?


In a project, you can have multiple xib files, a xib file that corresponds to a view class controller, and multiple views. However, using

Storyboard, a project requires only one master storyboard file, so in the case of multiple attempts to control the

Storyboard management is more convenient, and storyboard can also describe the navigation between interfaces


Relationship.

2. Please list the singleton classes in the iOS system?

UIApplication (Application instance)


Nsuserdefault (Application settings)


Nsfilemanager (file Management)


Nsurlcache (Request cache)


Nsnotificationcenter (Message Center)


Nshttpcookiestorage (Application Cookies Pool)


3. Please outline your understanding of the synchronous/asynchronous request data?


1. The synchronization request can request data from the network, once the synchronization request is sent, the program will stop interacting with the user until the server returns data

Before you can proceed to the next step.


2. Asynchronous requests do not block the main thread, but create a new thread to operate, and after the user makes an asynchronous request, the UI can still be

Operation, the program can continue to run.


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

IOS Common faces trying to summarize 2

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.