In Tutorial 2, a TableView Cell with a DatePicker is added to the scene dock so that it can be used at runtime. Certainly this is a method that can be used in many cases. However, just for the Checklist app, wouldn’t it be a little simpler just add the DatePicker to a static cell at design time and show/hide the cell as needed at the runtime by returning a proper value for the numberOfRowsInSection?
Thanks.
Try it out. It should work just fine but I wanted to show that you can add extra views to a view controller.
Yes, it does work and the code is simpler, e.g., tableView(indentationLevelForRowAt) doesn’t need to be implemented. Understand the intent for using the scene dock. Thanks.