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, when using storyboard, a project requires only one master storyboard file, so it is convenient to use storyboard management with multiple attempts to manage the controller, 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, and once the synchronization request is sent, the program will stop interacting with the user until the server returns the data to complete before proceeding to the next step.
2. The asynchronous request does not block the main thread, but creates a new thread to operate, and after the user makes an asynchronous request, the UI can still be manipulated and the program can continue to run.
IOS Interview FAQ Summary 2