Changes

Jump to: navigation, search

An iPhone iOS 6 Storyboard-based Collection View Tutorial

No change in size, 14:48, 15 October 2012
no edit summary
Since it will be necessary to assign an image when a cell is configured, an outlet to the Image View will be needed. Display the Assistant Editor, make sure it is listing the code for the MyCollectionViewCell.h file then Ctrl-click and drag from the Image View object to a position immediately beneath the @interface line. Release the line and, in the resulting connection panel, establish an outlet connection named imageviewimageView. On completion of the connection, select MyCollectionViewCell.h in the project navigator and verify that it reads as follows:
<pre>
@interface MyCollectionViewCell : UICollectionViewCell
@property (strong, nonatomic) IBOutlet UIImageView *imageviewimageView;
@end

Navigation menu