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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T03:35:20+00:00 2026-05-15T03:35:20+00:00

I am new at Core Data, and it seems like it is a great

  • 0

I am new at Core Data, and it seems like it is a great way to manage the data store. However I am also very memory-conscious due to the fact that the iPhone doesn’t have that much of it. I was a little surprised to see that the data types are so limited – eg. there is a Date type which includes also the time, but no Date type for just the date! All the time information takes up precious bytes of memory, if I just wanted an attribute with the date (e.g. 2/15/2010 rather than 2/15/2010 02:34:48), how could I do this? Is it possible?

  • 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-05-15T03:35:21+00:00Added an answer on May 15, 2026 at 3:35 am

    If you really think this will be a memory issue, store an NSNumber attribute for the Foundation double type NSTimeInterval, the value for which is derived from NSDate methods that measure the number of seconds since the epoch.

    You’ll trade memory savings for a performance hit, especially if you have to do a lot of conversion between the time interval’s object representation and NSDate objects, but that’s one option.

    Another is to just use NSDate and see if you actually run into memory issues.

    My suspicion is that you won’t. If you do all the Core Data tricks that Apple recommends, you’ll be faulting data, among other things. What this means is that your app will do as little actual data retrieval as necessary, until the app actually does need the data.

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

Sidebar

Related Questions

I'm new to core data and try to get all children objects of various
I am fairly new to core data technology and i searched a lot on
I am new to Core Data and trying to think of the simplest and
I'd like to add core data to an existing iPhone project, but I still
I'm encountering a very annoying error using Core Data on Mac OS X 10.5.
I am new to core data so please excuse me if I get some
I'm moving my initial steps in the Core Data realm (and I'm quite new
Im building an app that will use a Core Data model. I pretty new
I am developinga Core Data app for the iPhone, and I am new to
I'm developing an iphone app that uses Core Data with a SQLite data store

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.