Ios-7-to commemorate the first offer you've just received (here are the questions you'll encounter in the interview)

Source: Internet
Author: User

1. Multithreading Technology

There are four ways to open threads, the basic is: Nsthread, nsoperation, GCD; another one is old-fashioned. Based on C language. Do not write, basic use.

Example: Home in the network picture displayed on the phone interface

First step: code block to open an async child thread to load network data:

[nsurlconnection sendasynchronousrequest: Request queue: [nsoperationqueue New]

Step two: After loading is complete. Turn on the main thread and place the data in the main thread for processing:

Dispatch_async(dispatch_get_main_queue (), ^{

});


2. Data format and parsing method:

Data encapsulation is generally done with JSON. JSON parsing on the mobile phone side. ---------widely used.

There is also an XML data format that can be used with DOM, SAX ... 、、、、--------used less. The parsing speed is slow and the memory consumption is large.

3. Entire Network architecture

3 years of university laboratory experience, from the bottom sensor----microcontroller-----Wireless Communication Network----Server-----database-------Mobile and PC end. A system can be set up independently.

Ios-7-to commemorate the first offer you've just received (here are the questions you'll encounter in the interview)

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.