Answer the question
In order to leave comments, you need to log in
Linking storyboard elements with code?
Good day, I'm studying storyboards in Obzh-S
I figured out how to install outlets to property elements
@interface ViewController ()
@property (weak, nonatomic) IBOutlet UIView *someView;
- (IBAction)someButton:(id)sender;
@end
@interface ViewController () <UIImagePickerControllerDelegate,UIActionSheetDelegate,UINavigationControllerDelegate>
{
UIImagePickerController * imagePicker;
UIActionSheet * actionSheet;
IBOutlet UIImageView * captureImage;
}
- (IBAction)actionCaptureImage:(UIButton *)sender;
@end
Answer the question
In order to leave comments, you need to log in
These are normal object properties, but unlike @property, we need to manually create getters and setters.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question