Nib文件是如何被加载的?

本文深入探讨了NibFiles中的顶层对象概念,包括其定义、示例及其在iOS和Cocoa开发中的应用。

Nib Files

1.关于 Top-Level Objects
The top-level objects are the subset of these objects that do not have a parent object. The top-level objects typically include only the windows, menubars, and custom controller objects that you add to the nib file. (Objects such as File’s Owner, First Responder, and Application are placeholder objects and not considered top-level objects.)
   简单说:顶层对象就是指除了File’s Owner,File Responder和Application这些占位符对象以外的像windows,menubars,custom controller这些对象。

examples :
1.iOS-不使用nib文件的写法
2.Cocoa 中 Core Foundation 对象的内存管理
3.Objective-C内存管理编程指南(6)实现对象复制
4.解析Cocoa 中 Core Foundation 对象内存管理

NOTE:
1.UIKit在Cocoa Touch中的作用与AppKit在Cocoa中的作用相同。这两种框架在概念上是类似的,但由于平台之间的差异,它们之间存在许多明显的不同。另一方面,一些Foundation框架类,如NSString和NSArray,是Cocoa和Cocoa Touch所共有的。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值