读书时间 2010/06/26 - 1 Xcode

8 篇文章 0 订阅
8 篇文章 0 订阅

《iPhone3开发基础教程》

 

0. 杂想杂问

Q: How to "jump" to a synbol's definition in XCode ???

Q: @class干嘛的?

   A:仅仅是对类的超前引用。

T:Alt/Option Kay + double click will display a keyword's document message, like description for a "protocol".

Q:原书的source code如何运行起来?会少一些库?帮助文件也不全的?

 

1. Chap 2 创建基本项目

 

* nib/xib文件

nib文件,从本质上说是一个地象容器,其中序列化了所有界面对象及其它对象,在程序装载的时候反序列化,生成相关对象实例。

 

* 特殊的xib元素

Q: File's Owner 

Q: First Responder 

 

*project-name_Info.plist: 存放项目的重要属性

icon file

Bundle.identifier

 

2. Chap 3 处理基本交互

 

Q: what if property var name is different from property name ?

Q: why could not find the method applicationDidFinishLaunching() in Buton_FunAppDelegate.m ???

Q: How to delete an instance from *.xib file ?

 

* UIApplicationMain

Discussion

This function instantiates the application object from the principal class and and instantiates the delegate (if any) from the given class and sets the delegate for the application. It also sets up the main event loop, including the application’s run loop, and begins processing events. If the application’s Info.plist file specifies a main nib file to be loaded, by including theNSMainNibFile key and a valid nib file name for the value, this function loads that nib file.

Despite the declared return type, this function never returns. For more information on how this function behaves, see ““The Core Application Design”” in iOS Application Programming Guide.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值