Guest User

Untitled

a guest
Aug 10th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  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. }
Add Comment
Please, Sign In to add comment