Reputation: 2255
How would one go about recreating the iPhone 'Timer' section of the iPhone built-in 'Clock' app? I am not asking about specifics (I am a developer and code objective-c, etc), but rather am trying to learn proper design patterns. I have included a screenshot of the app below. I understand that the first portion of the app is an UIDatePicker. What types of objects are the "When Timer Ends" and "Start" buttons? The "When Timer Ends" portion looks like a UITableViewCell, and the "Start" button looks like a UIButton. Are all 3 of these objects in one UITableView? How would one go about creating the gradients belonging to the "When Timer Ends" and "Start" objects? Are these simply images? Or are the gradients created Programmatically?
I generally like to stay away from Interface Builder and code my views Programmatically.
Thanks a lot!
Upvotes: 0
Views: 684
Reputation: 22698
There is no need for a UITableView here.
In my opinion, there can be a UIDatePicker and 2 UIbuttons. The buttons use 2 different backgrounds - but they are simple custom buttons.
For the When Timer Ends there is also a UILabel to display Digital as this will change accordingly with the user's selection.
Upvotes: 1