Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8043277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T04:51:06+00:00 2026-06-05T04:51:06+00:00

I am new to iOS programming and looking for advise for an iPhone app

  • 0

I am new to iOS programming and looking for advise for an iPhone app that I am creating.

I have an excel database of about 100 daily tips (which will continue to grow) that I want to import into the app, and have one tip display each day. The user will have access to the current daily tip, plus any prior tips from prior days in the database.

I would like to keep it as a closed app, so if a user feels they want to skip ahead to see new tips by changing their current date – I am not worried about the few who might do that.

From my searches so far, CoreData seems to be the way to go but I was looking for suggestions.

Any help is greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T04:51:07+00:00Added an answer on June 5, 2026 at 4:51 am

    I’ll try to give you some advice to achieve what you want.

    First of all, what do you mean with

    I would like to keep it as a closed app, so if a user feels they want
    to skip ahead to see new tips by changing their current date – I am
    not worried about the few who might do that.

    I’m not sure about its meaning.

    Said this, based on my experience (someone else could give you other advice) I suggest you the following.

    About your model you need to create an entity, say Tip, that could have the following attributes:

    • guid: an identifier that works as an identifier, the type could be a NSString

    • creation date: the creation date for your tip, the type is a NSDate

    • text to present: the text to present to the user, the type is a NSString

    In addition you can also set a title, etc.

    The date has two objectives.

    First, it allows you to filter tips based on the current date. To filter you need to create a NSFetchRequest and set a NSPredicate. For example:

    [NSPredicate perdicateWithFormat:@"creationDate <= %@", currentDate];
    

    In addition it allows to sync with your service to download data. Based on the max date you find in the core data sql lite file, you could ask a service (if you use one) to give you the tips that are greater than that date.

    The guid allows to have only one tip for that identifier (you could just use the date for that but I think is easier to have a guid, say 12345). This could be useful if you decide to download each time the whole data and you don’t want to insert the same tips. In addition, you don’t want to ricreate the db when you have new tips, but you would add only the new ones. So, you need an identifier that let you to verify if a tip is already there.

    Finally, about your service (if you want to set up one) you could download data in JSON format. I think it’s simply to set up.

    If you are interested, here some links that could make your life easier:

    • Take a look at importing-and-displaying-large-data-sets-in-core-data in the case the data amount of downloaded data is huge. With iOS 5 new APIs are there, but the concepts you find in the post still remain valid.
    • A simple intro on Core Data (a question I answered in a previous post)
    • core-data-on-ios-5-tutorial-getting-started

    If you want to know something else, let me know.

    Hope it helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to iOS programming - I have written an iOS app for
I'm new to iOS programming and is developing an app that requires the user's
I'm a new iOS programming and I'm developing a simple iPhone game that needs
I'm new to iOS programming, I have a project going on and along with
I'm new to iOS programming and being the organizational freak that I am, I'd
I am new to iOS programming. I see that there are functions defined in
I am new in Android application development, but I have programming knowledge in iOS.
I am new to iOS 5 programming so I'm sure that these are basic
I'm new to iOS programming and I am working on a easy project that
I'm fairly new to iOS programming, but have a basic understanding of it. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.