Your First iOS App

Contents
About Creating Your First iOS App 4
Getting Started 6
Create and Test a New Project 6
Find Out How an App Starts Up 12
Recap 17
Inspecting the View Controller and Its View 18
Use the Inspector to Examine the View Controller 18
Change the View’s Background Color 22
Recap 26
Configuring the View 27
Add the User Interface Elements 27
Create an Action for the Button 35
Create Outlets for the Text Field and the Label 38
Make the Text Field’s Delegate Connection 42
Test the App 43
Recap 44
Implementing the View Controller 45
Add a Property for the User’s Name 45
Implement the changeGreeting: Method 48
Configure the View Controller as the Text Field’s Delegate 49
Test the App 51
Recap 51
Troubleshooting and Reviewing the Code 52
Code and Compiler Warnings 52
Check the Storyboard File 52
Delegate Method Names 53
Code Listings 53
The Interface file: HelloWorldViewController.h 53

The Implementation File: HelloWorldViewController.m 53




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值