# DatePicker on Scene Dock

**URL:** <https://forums.kodeco.com/t/datepicker-on-scene-dock/25814>\
**Category:** iOS Apprentice\
**Created:** [February 2, 2017, 5:28am UTC](https://forums.kodeco.com/t/datepicker-on-scene-dock/25814 "2017-02-02T05:28:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![frank\_lu](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@frank\_lu](https://forums.kodeco.com/u/frank_lu)\
**Post date:** [February 2, 2017, 5:28am UTC](https://forums.kodeco.com/t/datepicker-on-scene-dock/25814/1 "2017-02-02T05:28:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![hollance](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/hollance/32/109009_2.png) [@hollance](https://forums.kodeco.com/u/hollance)\
**Post date:** [February 5, 2017, 8:04pm UTC](https://forums.kodeco.com/t/datepicker-on-scene-dock/25814/2 "2017-02-05T20:04:52Z")

</div>

Try it out. 🙂 It should work just fine but I wanted to show that you can add extra views to a view controller.

---

<div class="post-metadata">

**Author:** ![frank\_lu](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@frank\_lu](https://forums.kodeco.com/u/frank_lu)\
**Post date:** [February 5, 2017, 9:44pm UTC](https://forums.kodeco.com/t/datepicker-on-scene-dock/25814/3 "2017-02-05T21:44:05Z")

</div>

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.
