ios是啥东西?

IOS是啥东西?

  • 什么是IOS?

    OS即Operating System,操作系统,那么IOS就是iPhone OS,后来改名改成了IOS,用于苹果公司移动设备的操作系统,如ipod touch和ipad。

    官方文档描述如下:
    iOS is the operating system that runs on iPad, iPhone, and iPod touch devices. The operating system manages the device hardware and provides the technologies required to implement native apps. The operating system also ships with various system apps, such as Phone, Mail, and Safari, that provide standard system services to the user.

    那么什么是Mac OS 呢,Mac OS是苹果公司基于PC机的操作系统,和IOS是有一定的区别,下面会提到一些区别,至此需要了解的只有这些。

  • 什么是IOS系统框架?

    先上一张IOS官方文档上的图

    结构图

    The iOS Architecture Is Layered
    At the highest level, iOS acts as an intermediary between the underlying hardware and the apps you create. Apps do not talk to the underlying hardware directly. Instead, they communicate with the hardware through a set of well-defined system interfaces. These interfaces make it easy to write apps that work consistently on devices having different hardware capabilities.

    The implementation of iOS technologies can be viewed as a set of layers, which are shown in Figure I-1. Lower layers contain fundamental services and technologies. Higher-level layers build upon the lower layers and provide more sophisticated services and technologies.

    上述一段的话的主要意思是说分层的好处,可以屏蔽底层硬件的差异,所谓的Higher-level layers就是应用层的接口,这些接口对码奴来说比较好用,也就是人用的接口,了解过Linux的人都知道它的分层,应用->系统调用->内核->硬件,IOS这是这个样子的,你不用去想一些接口是怎样驱动硬件的。但是人家也说了,如果上层的接口满足不了你,你也可以使用更低层的接口,对于那些上层接口还不够用的程序员来说,他们不是人或者是贱人。OK这些了解即可。

    现在了解一下每一层都是干什么用的?

    IOS 层次结构

    而Mac OS与IOS的区别是在最上层上,Mac OS用的是Cocoa框架,而iOS是Cocoa Touch框架,这一部分内容只做了解即可,代码撸多了就会理解越深刻。

  • 什么是Objective-C 呢?

    记住它是扩充C的面向对象编程语言,也就是它兼用了C,开始用于Mac OC的语言,后来iphone流行之后,它也跟着牛逼了,GCC和CLang都可以编译它。所以你的CygWin或是MinGW都可以编译。
    后面的学习心得中会讲到它与java和C++的一些异同。以及它的运行机制。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值