IOS Common faces trying to summarize 2

Source: Internet
Author: User

1. Please describe the differences between storyboard and xib?


In a project. can have multiple xib files, a xib file corresponding to a view class controller, and multiple views.

However. Use

When storyboard, a project needs only a master storyboard file to be able to. Therefore, in cases involving multiple attempts to control the

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


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 is able to request data from the network, and once the synchronization request is sent, the program stops interacting with the user until the server returns data

Yes. Ability to do the next steps.


2. Asynchronous requests do not block the main thread. Instead, a new thread is created to operate. After the user makes an asynchronous request. The UI can still be

Operation, the program can continue execution.


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.