daily pastebin goal
66%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Unknown class ingredientLabel in Interface Builder File (xcode 4.2, iOS 5.0)
  2. @interface QuickGroceryDetailViewController : UIViewController
  3. {
  4.     UILabel *ingredientLabel;
  5. }
  6.  
  7. @property (strong, nonatomic) IBOutlet UILabel *ingredientLabel;
  8.    
  9. @synthesize ingredientLabel = _detailDescriptionLabel;
  10.  
  11. - (void)setDetailItem:(id)newDetailItem
  12. {
  13.     if (_detailItem != newDetailItem) {
  14.         _detailItem = newDetailItem;
  15.  
  16.         // Update the view.
  17.         [self configureView];
  18.     }
  19. }
  20.  
  21. - (void)configureView
  22. {
  23.     // Update the user interface for the detail item.
  24.  
  25.     if (self.detailItem) {
  26.         self.ingredientLabel.text = [self.detailItem description];
  27.     }
  28.  
  29. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top