Search

Home > iOSDevLog > 296. The iOS Apprentice 2- Checklists 04 - Add Item Screen-2
Podcast: iOSDevLog
Episode:

296. The iOS Apprentice 2- Checklists 04 - Add Item Screen-2

Category: Technology
Duration: 00:00:20
Publish Date: 2015-12-30 21:32:35
Description: http://iosdevlog.com/raywinderlich/2015/12/30/the-ios-apprentice-Checklists-4/
代码实现

The plan for this section: 这一期的计划
Create the Add Item screen using the power of storyboarding
使用故事板的强大功能创建屏幕添加待办项
Add a text field and allow the user to type into it using the on-screen keyboard
添加一个文本字段,允许用户输入时使用屏幕键盘
Recognize when the user presses Cancel or Done on the Add Item screen
识别用户按下取消或完成在Add Item屏幕上
Create a new ChecklistItem with the text from the text field
创建一个新的包含文本字段的文本 ChecklistItem
Add the new ChecklistItem object to the table on the main screen
新的 ChecklistItem 对象添加到主屏幕上的 TableView
Total Play: 0