Knowledge points and technical points used for iOS interviews-Chapter 2 and Chapter 2 of ios

Source: Internet
Author: User

Knowledge points and technical points used for iOS interviews-Chapter 2 and Chapter 2 of ios

The first chapter was not updated yesterday. Sorry.

1. Socket programming and some third-party Socket-IO GCDAsyncSocket communication frameworks?

1. Use the CFsocket provided by the system

  

2. Third-party Socket-IO

  

  

3. GCDAsyncSocket

  

For more information, see http://www.jianshu.com/p/2ef8a1b08338.

2. Sharing with umeng and shareSDK?

1, on umeng is what I want to do not need to say I have to visit the official website just want to simple integration sharing, login and statistical functions can also see this: http://www.jianshu.com/p/ccfa6bb0d17d

2. Like umeng, shareSDk will go to the official website for more information.

3. cocoaPods third-party code management library?

  

 

Let's just say: this is used a lot,

1, cocoaPods installation please see this: http://www.jianshu.com/p/e3ad7d157ea8 use please see this: http://www.jianshu.com/p/63451e2a0247

4. SVN, GIT, and other version controllers?

SVN:

 

: Http://subversion.tigris.org/

Git:

I personally like the command line mode. As long as I get used to it, maybe I still cannot use the GUI.

There are also some uncommon version control tools: Mercurial, Subversion, cvs

Of course, CVS has a major drawback: it is not an atomic commit. You can go to Baidu to see these

4. Stream Media and third-party frameworks of FFMpege encoding and decoding: IJKPlayer, PLPlayerKit, Vitamio, krVideoPlayer...

FFMpege:

2. IJKPlayer:

First, it is applicable to iOS and Android based on FFMpeg.

Download: Link: http://pan.baidu.com/s/1miQyfgO password: k59f

If used, there are already enough online demos.

3. PLPlayerKit:

This is a swift player.

Address: link https://github.com/pili-engineering/PLPlayerKit

Yes

Here there is its simple use: http://www.jianshu.com/p/46dd5a199db3

4. Vitamio:

Vitamio is an all-around multimedia development framework on the Android platform. It can smoothly play videos in common formats such as 720P or even 1080P hd mkv, FLV, MP4, MOV, TS, and RMVB, and supports MMS, RTSP, RTMP, and HLS (m3u8) on Android) and other common video streaming protocols, including on-demand and live streaming.

Here also provides an article, want to Android direction can also go to a look: http://www.jianshu.com/p/7f97b8e608c5

5. KrVideoPlayer:

It is based on MPMoviePlayerController and is similar to Weico player. It supports full screen playback in portrait mode.

In general, if there are too many third-party frameworks, you can simply search for or implement a third-party framework.

5. What is the runloop Mechanism during runtime?

Runtime is like an operating system that manages code (similar to an operating system that manages applications), but it manages code execution-my personal understanding may be incorrect.

Runtime interacts with OC in three layers:

1. Write the OC source code and compile runtime in the background.

2. Use the Object class method in the Foundation framework

3. We can directly call the functions in the runtime Library.

Runloop mechanism:

CFRunLoopRef code is open source, you can download the http://opensource.apple.com/tarballs/CF/ here to the entire CoreFoundation source code to view

Update: After Swift is open-source, Apple maintains a cross-platform CoreFoundation version: https://github.com/apple/swift-corelibs-foundation/. the source code of this version can be slightly different from the implementation in the existing iOS system, but it is easier to compile and has been

To really understand the underlying implementation, in addition to viewing the source code, we should look back at computer composition principles. computer system structure, computer principles, assembly languages, compilation principles, and operating systems.

Unfortunately, I have not read these books for a long time.

6. Apple IAP in-store purchase?

Now we have the interview questions for today. There will be Chapter 3 or you can leave a message in which direction you need, such as UI technical points or underlying principles.

Welcome to my blog. Thank you. In addition, my book also welcomes you: http://www.jianshu.com/users/795c2ec428fd/latest_articles.

Although it may not be well written, Meow is also slowly improving and striving to bring you the highest quality technical blog

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.