We're sunsetting PodQuest on 2025-07-28. Thank you for your support!
Export Podcast Subscriptions
cover of episode 296. The iOS Apprentice 2- Checklists 04 - Add Item Screen-2

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

2015/12/31
logo of podcast iOSDevLog

iOSDevLog

Shownotes Transcript

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创建一个新的包含文本字段的文本 ChecklistItemAdd the new ChecklistItem object to the table on the main screen新的 ChecklistItem 对象添加到主屏幕上的 TableView