title: Preload animation images before UIButton is pressed
body: <p>I have 5 animations on a view controller. This is already very memory intensive as they are retina quality. </p>
  
  <p>THIS IS MY CODE</p>
  
  <pre><code>//Panel 1 Animation
      NSArray *panel1Frames = [NSArray array];
      panel1Frames = [[NSArray alloc] initWithObjects:
                   [UIImage imageNamed:@"origami_panel010001.png"],
                   [UIImage imageNamed:@"origami_panel010002.png"],
                   [UIImage imageNamed:@"origami_panel010004.png"],
                   [UIImage imageNamed:@"origami_panel010005.png"],
                   [UIImage imageNamed:@"origami_panel010006.png"],
                   [UIImage imageNamed:@"origami_panel010007.png"],
                   [UIImage imageNamed:@"origami_panel010008.png"],
                   [UIImage imageNamed:@"origami_panel010009.png"],
                   [UIImage imageNamed:@"origami_panel010010.png"],
                   [UIImage imageNamed:@"origami_panel010011.png"],
                   [UIImage imageNamed:@"origami_panel010012.png"],
                   [UIImage imageNamed:@"origami_panel010013.png"],
                   [UIImage imageNamed:@"origami_panel010014.png"],
                   [UIImage imageNamed:@"origami_panel010015.png"],
                   [UIImage imageNamed:@"origami_panel010016.png"],
                   [UIImage imageNamed:@"origami_panel010017.png"],
                   [UIImage imageNamed:@"origami_panel010018.png"],
                   [UIImage imageNamed:@"origami_panel010019.png"],
                   [UIImage imageNamed:@"origami_panel010020.png"],
                   [UIImage imageNamed:@"origami_panel010021.png"],
                   [UIImage imageNamed:@"origami_panel010022.png"],
                   [UIImage imageNamed:@"origami_panel010023.png"],
                   [UIImage imageNamed:@"origami_panel010024.png"],
                   [UIImage imageNamed:@"origami_panel010025.png"],
                   [UIImage imageNamed:@"origami_panel010026.png"],
                   [UIImage imageNamed:@"origami_panel010027.png"],
                   [UIImage imageNamed:@"origami_panel010028.png"],
                   [UIImage imageNamed:@"origami_panel010029.png"],
                   [UIImage imageNamed:@"origami_panel010030.png"],
                   [UIImage imageNamed:@"origami_panel010031.png"],
                   [UIImage imageNamed:@"origami_panel010032.png"],
                   [UIImage imageNamed:@"origami_panel010033.png"],
                   [UIImage imageNamed:@"origami_panel010034.png"],
                   [UIImage imageNamed:@"origami_panel010035.png"],
                   [UIImage imageNamed:@"origami_panel010036.png"],
                   [UIImage imageNamed:@"origami_panel010037.png"],
                   [UIImage imageNamed:@"origami_panel010038.png"],
                   [UIImage imageNamed:@"origami_panel010039.png"],
                   [UIImage imageNamed:@"origami_panel010040.png"],
                   [UIImage imageNamed:@"origami_panel010041.png"],
                   [UIImage imageNamed:@"origami_panel010042.png"],
                   [UIImage imageNamed:@"origami_panel010043.png"],
                   [UIImage imageNamed:@"origami_panel010044.png"],
                   [UIImage imageNamed:@"origami_panel010045.png"],
                   [UIImage imageNamed:@"origami_panel010046.png"],
                   [UIImage imageNamed:@"origami_panel010047.png"],
                   [UIImage imageNamed:@"origami_panel010048.png"],
                   [UIImage imageNamed:@"origami_panel010049.png"],
                   [UIImage imageNamed:@"origami_panel010050.png"],
                   [UIImage imageNamed:@"origami_panel010051.png"],
                   [UIImage imageNamed:@"origami_panel010052.png"],
                   [UIImage imageNamed:@"origami_panel010053.png"],
                   [UIImage imageNamed:@"origami_panel010054.png"],
                   [UIImage imageNamed:@"origami_panel010055.png"],
                   [UIImage imageNamed:@"origami_panel010056.png"],
                   [UIImage imageNamed:@"origami_panel010057.png"],
                   [UIImage imageNamed:@"origami_panel010058.png"],
                   [UIImage imageNamed:@"origami_panel010059.png"],
                   [UIImage imageNamed:@"origami_panel010060.png"],
                   [UIImage imageNamed:@"origami_panel010061.png"],
                   [UIImage imageNamed:@"origami_panel010062.png"],
                   [UIImage imageNamed:@"origami_panel010063.png"],
                   [UIImage imageNamed:@"origami_panel010064.png"],
                   [UIImage imageNamed:@"origami_panel010065.png"],
                   nil];
      panel1Image.animationImages = panel1Frames;
      panel1Image.animationDuration = 3.0;
      panel1Image.animationRepeatCount = 1;
  </code></pre>
  
  <p>This loads when a UIButton is pressed, is there anyway to load the images before hand?</p>
  
  <p>Furthermore, Is there a way to make it so that only one animation can play at once? Would this reduce the amount of memory used?</p>
  
  <p>Thanks!</p>