Questions tagged [datecell]

Introduced in iOS7 this tag is very useful for developing iOS7 `tableview` with `UIDatePicker`.

Demonstrates formatted display of date objects in table cells and use of UIDatePicker to edit those values.

As a delegate to this table, the sample uses the method "didSelectRowAtIndexPath" to open the UIDatePicker control.

For iOS 6.x and earlier, UIViewAnimation is used for sliding the UIDatePicker up on-screen and down off-screen. For iOS 7.x, the UIDatePicker is added in-line to the table view.

The action method of the UIDatePicker will directly set the NSDate property of the custom table cell. In addition, this sample shows how to use NSDateFormatter class to achieve the custom cell's date-formatted appearance.

Reference

DateCell in iOS Developer Library

3 questions
121
votes
13 answers

iOS 7 - How to display a date picker in place in a table view?

In WWDC 2013 video, Apple suggests displaying picker in place in a table view in iOS 7. How to insert and animate a view between table view cells? Like this, from the Apple calendar app:
X.Y.
  • 13,726
  • 10
  • 50
  • 63
0
votes
1 answer

How to disable manual entry in gxt DateCell

How to disable manual entry in DateCell I am using com.sencha.gxt.cell.core.client.form.DateCell I want the user to pick the date only from the datepicker and restrict them to enter manually. How can I do that ?
MSK
  • 1
  • 1
0
votes
2 answers

iOS - UIDatePicker change shown date dynamic

I am using code from DateCell example and I want to change date at start to date which I choose (I load from somewhere). So I am changing value of date in dataArray (dictionary with kTitleKey and kDateKey) and in dateCell it's okay. There is shown…
Libor Zapletal
  • 13,752
  • 20
  • 95
  • 182