Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Unknown class ingredientLabel in Interface Builder File (xcode 4.2, iOS 5.0)
- @interface QuickGroceryDetailViewController : UIViewController
- {
- UILabel *ingredientLabel;
- }
- @property (strong, nonatomic) IBOutlet UILabel *ingredientLabel;
- @synthesize ingredientLabel = _detailDescriptionLabel;
- - (void)setDetailItem:(id)newDetailItem
- {
- if (_detailItem != newDetailItem) {
- _detailItem = newDetailItem;
- // Update the view.
- [self configureView];
- }
- }
- - (void)configureView
- {
- // Update the user interface for the detail item.
- if (self.detailItem) {
- self.ingredientLabel.text = [self.detailItem description];
- }
- }
Add Comment
Please, Sign In to add comment