title: In-app purchase iOS 6
body: <p>I am trying to implement in app purchase for iOS 6 and I am following <a href="http://www.raywenderlich.com/21081/introduction-to-in-app-purchases-in-ios-6-tutorial" rel="nofollow">Ray Wenderlich iOS 6 in-app tutorial</a>  as my reference point. One big change I am making from Ray's code is that I have a single button (there is only 1 in app purchase) that the user taps to purchase opposed to making a custom table view for it. I cannot seem to get it work and I keep getting </p>
  
  <pre><code>-[__NSMallocBlock__ allObjects]: unrecognized selector sent to instance 0x1d5846d0
  2012-10-03 00:03:25.715 myapp[752:907] *** Terminating app due to uncaught exception   'NSInvalidArgumentException', reason: '-[__NSMallocBlock__ allObjects]: unrecognized selector sent to instance 0x1d5846d0'
  </code></pre>
  
  <p>I believe the issue is happening within</p>
  
  <pre><code>- (void)requestProductsWithCompletionHandler:(RequestProductsCompletionHandler)completionHandler 
  </code></pre>
  
  <p>There are 2 helper classes that ray has implemented and I have implemented. All I changed for these was the app id number. These classes are called IAPHelper.h/m and RageIAPHelper.h/m</p>
  
  <p>I have posted the code where I think the error is happening (it is not long). If someone could please help me, I have been working on this for about 4 hours now.
  Thank you in advance</p>
  
  <p><strong>Inside purchaseViewController</strong></p>
  
  <pre><code> -(void) viewDidLoad
   {
   [super viewDidLoad];
   [self reload]; //Customized for my own needs compared to what Ray had
    }
  
  -(void)reload {
  _products = nil;
  [[RageIAPHelper sharedInstance] requestProductsWithCompletionHandler:^(BOOL success, NSArray *products) {
      if (success) {
          _products = products;
          //[self.tableView reloadData];
      }
      //[self.refreshControl endRefreshing];
   }];
  }
  </code></pre>
  
  <p><strong>Inside helper method called IAPHelper.m</strong>   </p>
  
  <pre><code>- (void)requestProductsWithCompletionHandler:(RequestProductsCompletionHandler)completionHandler {
  
  // 1
   _completionHandler = [completionHandler copy];
  // 2
  _productsRequest = [[SKProductsRequest alloc] initWithProductIdentifiers:_productIdentifiers]; // This is where I think the crash is
  _productsRequest.delegate = self;
  [_productsRequest start];
  }
  </code></pre>