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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:46:07+00:00 2026-05-15T16:46:07+00:00

Hi I am currently trying to building a reader app for the iphone, a

  • 0

Hi I am currently trying to building a reader app for the iphone, a bit like NYTimes iphone app or Time magazine or USA today iphone app. Basically I’ll be parsing a feed containing articles, saving the data locally in a database and displaying stuff and all that.

Now I am just starting off with Iphone app development, I would just like to know what is the best way to manage Images in these sort of apps. Id like to save the images for each article locally. Which is the preferred method for doing so, saving it into a database or saving it to the file system. There are a lot of images and managing them would be easier if i store it in a blob field in the database, but that would affect performance dramatically I guess. Saving it into the filesystem, in the application documents directory would give me better performance but I am wondering how would I manage a large amount of file (Saving it, keeping track of an Image of a particular article, deleting files etc)

  • 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-15T16:46:08+00:00Added an answer on May 15, 2026 at 4:46 pm

    From the Core Data Programming Guide:

    It is better, however, if you are able to store BLOBs as resources on the filesystem, and to maintain links (such as URLs or paths) to those resources. You can then load a BLOB as and when necessary.

    The idea is to load images lazily, only when they need to appear on screen. This is very important on the device.

    Consider how many managed objects will be in memory at once. When the objects are instantiated, if you have the image saved as part of the object, it will be loaded into memory as well and will remain in memory until the object is turned into a fault.

    As for the second part of your question on how to ensure that files are removed when managed objects are deleted, register for NSManagedObjectContextObjectsDidChangeNotification and NSManagedObjectContextDidSaveNotification and clean up the files that you can obtain from the objects in NSDeletedObjectsKey and NSUpdatedObjectsKey.

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

Sidebar

Related Questions

I am currently building a Rails app, and trying to figure out the best
I am currently trying to build the distribution product of my (first) iphone app
So I'm currently trying to map my building's network with a RoR implementation. I
How to disable qt creator from auto building when trying to debug? Currently when
I am building an application currently in PHP and I am trying to decide
I am currently trying to learn Ruby On Rails as I am a long-time
I'm currently building an Excel 2003 app that requires a horribly complex form and
I am currently building a 32/64 bit version of apr by configuring and building
I'm trying to port current WinForms app to WPF and need help with building
I'm building a Rails 3 app, and trying to get the jQuery .on() function

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.