Coverflow images set out of order

Discussion in 'iOS Programming' started by utpalkishen, Sep 29, 2011.

Thread Status:
Not open for further replies.
  1. utpalkishen, Sep 29, 2011
    Last edited: Oct 22, 2011

    utpalkishen macrumors newbie

    Apr 20, 2010
    I have made coverflow using openFlowView in my iPad application. My images comes through webservice and I have set it in Array in proper index. And Using asynchronous images I am setting the images on coverflow. All done successfully but there is one problem that my images set out of order on coverflow means first images will put sometime at 3rd position sometime at 4 and same for other images too. I want to put my images in proper order sequentially on coverflow. Please anyone can help me for this problem. I am quite stuck in this situation.
  2. sundialsoft macrumors newbie


    Sep 2, 2010

    AFOpenFlow uses the set of images you pass it. I use it in a live app and it works fine. I suggest that you do some tests on the set of images you are passing to make sure they are actually in the order you think they are.

    I could not follow your code enough to comment on where it might be going wrong, sorry.
  3. lefooey macrumors member

    Dec 26, 2009
    Spokane, WA
    As best I can tell from your example code, you're downloading multiple images asynchronously. Thus the images are added to your cover flow in the order they finish downloading, not the order they started. With different images sizes and response time, these are not necessarily the same thing.
  4. utpalkishen, Oct 19, 2011
    Last edited by a moderator: Oct 20, 2011

    utpalkishen thread starter macrumors newbie

    Apr 20, 2010
    Thank you for your reply. but still I could not get the proper solution for it what to do further.

    Is there any way to load asynchronous image sequentially one by one...
  5. jnoxx macrumors 65816


    Dec 29, 2010
    Aartselaar // Antwerp // Belgium
    I'd recommand using iCarousel > Coverflow.
    it has a coverflow too.
  6. utpalkishen thread starter macrumors newbie

    Apr 20, 2010
    Thanks for your reply But I have used iCarlouse also, OpenFlowview of Faj too but problem is not coverflow, problem is set multiple image sequentially on coverflow when it is downloaded asynchronously through webservice...If you have still any option to recommend me to do so...Thanks anyways..
  7. jiminaus macrumors 65816


    Dec 16, 2010
    The usual technique is kept state associated with the asynchronous transaction so that when you get the response you know where in the order of the images the response need to go.
  8. utpalkishen thread starter macrumors newbie

    Apr 20, 2010
    Thanks but I didn't get your point exactly... How can I define state in asynchronous image loading..Can you please give me any example?
  9. utpalkishen thread starter macrumors newbie

    Apr 20, 2010
    coverflow images set out of order in begining

    In coverflow, images loaded successfully. To load images i have used NSOperationQueue but if I press again to load images on coverflow at the same time when previous loading also loading the image. So in new coverflow some last of the old images of previous loaded images come in new coverflow image at begining. I have released NSOperation queue already but still won't find its solution. Anyone have any idea. Thanks in advance.
  10. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
    Which library are you using to implement CoverFlow? Since Apple's API is private.
  11. chown33 macrumors 604

    Aug 9, 2009
    Sailing beyond the sunset
    This is the same question you asked in your thread here:

    The answer provided there is still going to be the answer. You haven't provided any new information. And you've removed the code from your earlier thread, so it's unlikely anyone can give you a clearer answer.

    Post your code.
    Don't make multiple threads for one question.
Thread Status:
Not open for further replies.

Share This Page