iphone app with many images

Discussion in 'iOS Programming' started by Fluffycat, Jul 10, 2013.

  1. Fluffycat macrumors newbie

    Jul 10, 2013
    Hi, I'm developing an iphone app which will have a large number of images - about 200. I'm fairly new to iPhone app programming so I'd like to ask for opinions on what would be the best way to include such a large number in an app without causing problems with app memory or problems for the user (delays, etc).

    thank you
  2. ArtOfWarfare macrumors G3


    Nov 26, 2007
    Do it the simplest way possible first. Do not optimize until you've actually written a program and have actually found it isn't fast enough. You may be surprised and discover that it'll run your simple code fast enough. You might find that it is too slow, but upon profiling you might discover a bottleneck unrelated to your pictures.
  3. PhoneyDeveloper macrumors 68040


    Sep 2, 2008
    200 images isn't very many. What is the size of ipa file that's generated?

    I've worked on apps with thousands of images. There was very little special done vs other apps. I made sure the images weren't being cached in the image cache, based on my knowledge of how they were being used in the code. I wrote a replacement for pathForResource because profiling showed that it took up some time unnecessarily.

Share This Page