Get ExampleProject compiling with the TUIImage changes

This commit is contained in:
Justin Spahr-Summers
2012-07-24 17:13:00 -07:00
parent 1613a6abca
commit 8d3db6e864
2 changed files with 11 additions and 4 deletions
@@ -28,7 +28,7 @@
_scrollView.scrollIndicatorStyle = TUIScrollViewIndicatorStyleDark;
[self addSubview:_scrollView];
TUIImageView *imageView = [[TUIImageView alloc] initWithImage:[TUIImage imageNamed:@"large-image.jpeg"]];
TUIImageView *imageView = [[TUIImageView alloc] initWithImage:[NSImage imageNamed:@"large-image.jpeg"]];
[_scrollView addSubview:imageView];
[_scrollView setContentSize:imageView.frame.size];