资源大小: 6.32MB
发布时间: 2012-08-23
文件格式: pdf
下载次数: 4
分享到:

下载地址:

下载地址1
(本站为飞网专业下载站,域名:down.cfei.net)

资源简介:

第一部分: 第一部分: Hello World Hello World Hello World Hello WorldHello World Hello World !创建你的第一个 !创建你的第一个 !创建你的第一个 !创建你的第一个 iPhone AppiPhone AppiPhone AppiPhone App iPhone AppiPhone AppiPhone App ...................... 7看你的第一个应用程序 ................................ ................................ .............................. 8开始编写代码! ................................ ................................ ................................ ............... 8熟悉 XcodeXcodeXcodeXcode 工作环境 ................................ ................................ ................................ .... 13第一次运行你的应用程序 ................................ ................................ ............................ 14回来写代码吧! ................................ ................................ ................................ ............. 16编写 Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World 按钮的代码 ................................ ................................ ................... 18连接 Hello World Hello World Hello World Hello World Hello World Hello World Hello World Hello World 按钮和 ActionActionActionActionActionAction方法 ................................ ................................ ..... 20测试你的应用程序 ................................ ................................ ................................ ......... 21第二部分: 第二部分: iOSiOSiOS编程基础: 编程基础: Hello World Hello World Hello World Hello WorldHello World Hello World 应用程序如何工作的? 应用程序如何工作的? 应用程序如何工作的? ... 24Interface BuilderInterface BuilderInterface BuilderInterface BuilderInterface Builder Interface BuilderInterface BuilderInterface BuilderInterface Builder Interface Builder Interface BuilderInterface Builder Interface Builder、头文件 和实现................................ ................................ .... 25触摸和点击的背后机制 ................................ ................................ ................................ . 28RunRun 按钮幕后机制 ................................ ................................ ................................ ......... 30有任何问题么? ................................ ................................ ................................ ............. 32第三部分: 第三部分: iOS iOS iOS iOS 编程向导:创建一个简单的表视图( 编程向导:创建一个简单的表视图( 编程向导:创建一个简单的表视图( 编程向导:创建一个简单的表视图( 编程向导:创建一个简单的表视图( 编程向导:创建一个简单的表视图( 编程向导:创建一个简单的表视图( 编程向导:创建一个简单的表视图( 编程向导:创建一个简单的表视图( Table ViewTable ViewTable ViewTable View Table ViewTable ViewTable ViewTable ViewTable View)应 用程序 ................................ ................................ ................................ ................. 33创建 SimpleTableSimpleTableSimpleTableSimpleTable SimpleTableSimpleTableSimpleTableSimpleTableSimpleTableSimpleTable项目 ................................ ................................ ................................ 3442连接数据源( DataSourceDataSourceDataSourceDataSourceDataSourceDataSourceDataSource DataSourceDataSource)和委托( DelegateDelegateDelegateDelegateDelegate DelegateDelegate) ................................ .................. 47测试你的应用程序 ................................ ................................ ................................ ......... 49在表视图 中添加缩略................................ ................................ ................................ . 50接下来是什么? ................................ ................................ ................................ ............. 53第四部分:定制 第四部分:定制 UITableViewUITableViewUITableViewUITableView UITableView UITableViewUITableViewUITableViewUITableView表视图单元格 表视图单元格 表视图单元格 ................................ ........ 55显示不同的缩略图 ................................ ................................ ................................ ......... 55[thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] [thumbnails objectAtIndex:indexPath.row] 有什么用途? .............................. 59定制表视图单元格 ................................ ................................ ................................ ......... 60设计单元格 ................................ ................................ ................................ ..................... 61为定制单元格创建类 ................................ ................................ ................................ ..... 68Property Property Property Property Property Property Property 和 OutletOutlet OutletOutlet ................................ ................................ ................................ ..... 70@synthesize @synthesize @synthesize @synthesize @synthesize @synthesize @synthesize @synthesize 指令 ................................ ................................ ................................ ........ 71建立连接 ................................ ................................ ................................ .......................... 71更新 SimpleTableSimpleTableSimpleTableSimpleTable SimpleTableSimpleTableSimpleTableSimpleTableSimpleTableSimpleTableViewControllerViewControllerViewControllerViewController ViewControllerViewControllerViewControllerViewControllerViewControllerViewControllerViewControllerViewControllerViewController ................................ ................................ ............ 73留给你的作业 ................................ ................................ ................................ ................. 77接下来讲什么? ................................ ................................ ................................ ............. 79


飞网下载站,免费下载共享资料,内容涉及教育资源、专业资料、IT资源、娱乐生活、经济管理、办公文书、游戏资料等。