title: UIScrollView taking too much time
body: <p>am trying to place a ScrollView in my app that has 1000,000 record, this scrollView will load when the app launches, so the app is not running until the million 1000 000 record which takes a lot of time, i was wondering is there any way to show the app and the scrollView while records are loading (show the scrollView while adding its records), below the code am using:</p>
  
  <pre><code>    - (void)viewDidLoad
  {
      [super viewDidLoad];
      // Do any additional setup after loading the view, typically from a nib.
  
      [self loadIt];
  }
  
  - (void)loadIt{
  
      float startX = 0;
      float startY = 0;
      [_bigScroll setContentSize:CGSizeMake(320, 312500)];
      _bigScroll.pagingEnabled = NO;
      for (counter=0; counter&lt;999999; counter++)
      {
          UIButton *tester=[[UIButton alloc] initWithFrame:CGRectMake(startX, startY, 10, 10)];
  
          if (counter % 2 == 0) {
  
              [tester setBackgroundColor:[UIColor whiteColor]];
  
          }
          else
          {
  
              [tester setBackgroundColor:[UIColor grayColor]];
          }
  
          [_bigScroll addSubview:tester];
          [tester release];
  
          if (startX == 320) {
              startX = 0;
              startY += 10;
          }
          else
              startX += 10;
  
          NSLog(@"counter  =  %d", counter);
      }
  
  }
  </code></pre>
  
  <p>Please advice.</p>