I have a UIScrollview built into NavController, both pulled into iOS6 storyboard. In my scrollViewController viewDidLoad, I programmatically add a UIImageView and save a property for the image that goes into that UIImageView.
@interface MyScrollViewController () <UIScrollViewDelegate> @property (weak, nonatomic) IBOutlet UIScrollView *scrollView; @property (strong, nonatomic) UIImageView *imageView; @property (strong, nonatomic) UIImage *image; @end
Dragging and dropping a ScrollView into a storyboard and plugging it into an outlet made this a weak default property, but what is the best practice for the other two properties?
source share