views:

25

answers:

1

alt text

I'm diving into iOS development and I have a few questions about the iPhone Clock app.

  1. When the user adds a new Alarm, what's the best way to store it? Using a simple plist? Using Core Data?
  2. If you look at the Alarm tab in the Clock app, you'll notice it only shows one table cell for each Alarm that exists. How can I achieve this same appearance? The default table view fills the whole screen with empty table cells, which I think is ugly.

Thanks in advance for all your help!

+1  A: 
  1. For such a small data set, saving to a plist would be OK. Core Data would certainly be a little OTT as the dataset would probably so small?

  2. There is no easy way to do this, but it is certainly possible. The way this is achieved is as follows:

    1. Place a background image behind the table view.
    2. Generate a gradient which looks like a drop-down shadow.

You'll be best off reading the following posts:

JonB