IOS knowledge point summary

Source: Internet
Author: User

IOS knowledge point summary

1. IBAction: ensure that methods can be connected.

Equivalent to void

2. IBOutlet: ensure that attributes can be connected

3. the arrow in the stroyboard file means the entry of the program.

4. Adjust the scale Shortcut of the simulator: command + 1

Command + 2

Command + 3

 

5. Bundle Identifier: Unique ID of the app

6. Exit the keyboard:

First responder: the control that calls the keyboard. when the control is inappropriate, the first responder will return the keyboard.

[Self. num resignFirstResponder];

 

7. provide external interfaces: proxy and block

 

 

 

8. synchronous asynchronous judgment: the return value must not be added to asynchronous ---.

If there is return, it indicates synchronization.


9. Differences between cache and document

 

 

User-generated files are stored in documents, and their files are stored in the library/cache.

 

Simple Description: if you are using a notepad app, you will always save things after writing them. The file is generated by the user and stored in the documents folder.

 

If you have an app that needs to work with the server, you can often download things from the server and show them to users. The downloaded items are stored in the library/cache.

 

Apple is very strict with this. If it is wrong, it will be rejected. The main cause is the synchronization of ios cloud.


 

10. Difference Between get and Post Methods

 

 

Get)

Post (form submission without restrictions on the length of submitted data (in case of a large amount of data, it is private, first injected, and then taken to transfer data to the server ))

 

11. Others

 

 

Connection client and server connection

 

Session mobile phone connection

 

AFN substitutes

 

ASR Terminator

 

Network request: must have a client and a server

 

URL: Uniform Resource Locator (Protocol domain name port number)

 

URI: Uniform Resource Identifier


 

 


 

 

 

 

 

 

 

 

 

 

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.