Skip to content

Instantly share code, notes, and snippets.

@olxios
Last active June 5, 2016 11:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olxios/d4543fcba9130f381797fcf28df400dc to your computer and use it in GitHub Desktop.
Save olxios/d4543fcba9130f381797fcf28df400dc to your computer and use it in GitHub Desktop.
#import "PageItemController.h"
@implementation PageItemController
#pragma mark View Lifecycle
// ***
- (void)viewDidLoad
{
[super viewDidLoad];
_contentImageView.image = [UIImage imageNamed:_imageName];
}
#pragma mark Content
// ***
- (void)setImageName:(NSString *)name
{
_imageName = name;
_contentImageView.image = [UIImage imageNamed:_imageName];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment