Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

I'd like my app to show locations of nearby restaurants, with different categories. It would have a screen with a button to select which categories should be shown. Depending on which button is pressed, map pins come up at nearby locations, and the pins can be pressed for more information.

For storing all the restaurant data, should I create a list using 'enum', similar to the Apple sample code 'MapCallouts'?

share|improve this question

migrated from stackoverflow.com Dec 30 '11 at 21:09

This question came from our site for professional and enthusiast programmers.

2 Answers 2

I would store the data in core data.

share|improve this answer
Thanks dasdom! I read somewhere about using a REST feed to update the data? Is that an alternative method or something to use at the same time? –  user1119235 Jan 11 '12 at 11:37

I agree with the above - CoreData is the way to go. I prefer it to SQLite: You won't have to worry about input with a apostrophe or blank records. You won't have to scrutinize your sql queries . CoreData boils down to sqlite while picking up some of the coding for you. You can even look at the sql files it generated. To cool to pass up!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.