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 8287957
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:10:38+00:00 2026-06-08T12:10:38+00:00

I have an app that tracks a user as they drive along. It uses

  • 0

I have an app that tracks a user as they drive along. It uses CLLocationManager and each time the didUpdateToLocation is called I save the CLLocation point.

A trip of around 25 miles yields somewhere in the neighborhood of 1200 points.

As of now I save this array of points to the user defaults for testing. Should I look at CoreData to properly save this information? Or possible just write everything out to a file?

My concern is that can NSUserDefaults “max out”? I could potentially have hundreds of saved arrays, each with thousands of CLLocation points.

Any suggestions would be very much 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-08T12:10:39+00:00Added an answer on June 8, 2026 at 12:10 pm

    regardless of the size of users default, it is not meant for this purpose. As the name implies it should be used for saving flags and variables to customize or save session specifics of the user. Even though core data does offer an elegant solution for this and is the most efficient one. If you don’t want to deal with this you would have to create your own file and save it there. Which is also pretty simple. However i suggest coredata if you plan on expanding the possibilities, like multiple user, different runs, lots of attributes etc etc since it is a real database like approach.

    http://www.raywenderlich.com/934/core-data-on-ios-5-tutorial-getting-started

    Edit: there’s no limit to user’s default size. Still if you go through apples documentation you will see how it is NOT meant for the purpose you describe.

    http://www.iphonedevsdk.com/forum/iphone-sdk-development/38091-size-limitations-with-nsuserdefaults.html

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

Sidebar

Related Questions

I have a web app that will draw a polyline for each user (tracks
I have an app that tracks wildlife where the user enters data based on
My app tracks a user with CLLocationManager . In the delegate call didUpdateToLocation I
Have an app that has listings - think classified ads - and each listing
I have an app that uses the ActionBar with tabs in combination with Fragments.
I have an app that lets the user interact with several forms. I can
I'm making an Android app that tracks a user and displays their location in
I have an app that allows the user to scale in for a closer
I am writing an iOS 5 app which tracks a user's location in real-time,
have an app that finds your GPS location successfully, but I need to be

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.