A 500 images app

Discussion in 'iOS Programming' started by digitalfortress, May 31, 2012.

  1. digitalfortress macrumors newbie

    Joined:
    Nov 9, 2009
    #1
    Hello everyone,

    i'm considering developing an application that has over 500 images, something like a book with more functionality, what is the best way to implement it, scrollview or page view ?? if not then what else!!
     
  2. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    Does each image represent a page? Or something else? Try to be as specific as possible when describing your app.
     
  3. digitalfortress thread starter macrumors newbie

    Joined:
    Nov 9, 2009
  4. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #4
    Have u thought about actually launching an iBook, with the iBook author :)
     
  5. digitalfortress thread starter macrumors newbie

    Joined:
    Nov 9, 2009
    #5
    actually I did, but I thought the publishing process might be a headache :)

    also if I wanted to add more functionality, iBook won't do.
     
  6. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #6
    I think the overall process would be alot easier then writing it in Objective-C, but since there is functionality you can't have there (i never tried it, so i'll take your word for it). It's gonna be hard :) Because, if you add 500 images, your app will insta crash because of memory overload.
     
  7. bogatyr macrumors 65816

    Joined:
    Mar 13, 2012
    #7
    Couldn't you just have the 500 images as files that the app loads as required? Keep only the current page, + 2 pages in each direction in memory. Then as they swipe through, the pages load fairly quickly.
     
  8. digitalfortress thread starter macrumors newbie

    Joined:
    Nov 9, 2009
    #8
    well, yea I guess thats what I had in mind.

    But my question is, which control should i use, PageViewController or ScrollViewController or something else?
     
  9. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #9
    Yeah sure, that's how I would code it, but a newbie guy would have no idea how to start it, so mostly what happens then they add 500 images to a scrollview, and it will work, but then bam, out of memory.. :/
    So maybe try looking into something like MWPhotoBrowser or something, that does all the memory shizzle for you :)

    Gz, jNoxx
     

Share This Page