title: Changing in app purchase string identifier into an object (deprecated on ios 5)
body: <p>i need to change this method of string to an <code>SKProduct</code> object, because its' deprecated on my app (ios 5)</p>
  
  <p>(NOTE: this is implemented on the InAppRageIAPHelper class)</p>
  
  <pre><code> - (void)buyProductIdentifier2:(NSString *)productIdentifier {
  
          srtProduct = [productIdentifier copy];
  
      NSLog(@"Buying %@...", productIdentifier);
  
      SKPayment *payment = [SKPayment paymentWithProductIdentifier:productIdentifier];
      [[SKPaymentQueue defaultQueue] addPayment:payment];
  }
  </code></pre>
  
  <p>then, when you hit buy:</p>
  
  <pre><code>- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex
  {
      if(alertView.tag == 1)
      {
          NSString *title = [alertView buttonTitleAtIndex:buttonIndex];
          if([title isEqualToString:@"Cancel"])
          {
              if ([delegate respondsToSelector:@selector(purchaseCancelled)]) {
                  [delegate purchaseCancelled];
              }
          }
          else if([title isEqualToString:@"Buy"])
          {
              [self buyProductIdentifier2:srtProduct];
          }
      }
  }
  </code></pre>
  
  <p>Can someone explain me what to change?</p>