-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nick Lockwood
committed
Nov 4, 2011
1 parent
eebb3ab
commit ae56a27
Showing
32 changed files
with
1,779 additions
and
117 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// GLViewViewController.h | ||
// | ||
// Created by Nick Lockwood on 09/07/2011. | ||
// Copyright 2011 Charcoal Design. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
#import "GLImageView.h" | ||
|
||
|
||
@interface GLViewImageExampleController : UIViewController | ||
|
||
@property (nonatomic, retain) IBOutlet GLImageView *imageView1; | ||
@property (nonatomic, retain) IBOutlet GLImageView *imageView2; | ||
@property (nonatomic, retain) IBOutlet GLImageView *imageView3; | ||
@property (nonatomic, retain) IBOutlet GLImageView *imageView4; | ||
@property (nonatomic, retain) IBOutlet GLImageView *imageView5; | ||
@property (nonatomic, retain) IBOutlet GLImageView *imageView6; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// | ||
// GLViewViewController.m | ||
// | ||
// Created by Nick Lockwood on 09/07/2011. | ||
// Copyright 2011 Charcoal Design. All rights reserved. | ||
// | ||
|
||
#import "GLViewImageExampleController.h" | ||
|
||
|
||
@implementation GLViewImageExampleController | ||
|
||
@synthesize imageView1; | ||
@synthesize imageView2; | ||
@synthesize imageView3; | ||
@synthesize imageView4; | ||
@synthesize imageView5; | ||
@synthesize imageView6; | ||
|
||
- (void)viewDidLoad | ||
{ | ||
[super viewDidLoad]; | ||
|
||
imageView1.image = [GLImage imageNamed:@"logo.png"]; | ||
imageView2.image = [GLImage imageNamed:@"logo-opaque.png"]; | ||
imageView3.image = [GLImage imageNamed:@"logo-RGBA4444.pvr"]; | ||
imageView4.image = [GLImage imageNamed:@"logo-RGB565.pvr"]; | ||
imageView5.image = [GLImage imageNamed:@"logo-RGBA4.pvr"]; | ||
imageView6.image = [GLImage imageNamed:@"logo-RGB4.pvr"]; | ||
} | ||
|
||
- (void)viewDidUnload | ||
{ | ||
[super viewDidUnload]; | ||
|
||
self.imageView1 = nil; | ||
self.imageView2 = nil; | ||
self.imageView3 = nil; | ||
self.imageView4 = nil; | ||
self.imageView5 = nil; | ||
self.imageView6 = nil; | ||
} | ||
|
||
- (void)dealloc | ||
{ | ||
[imageView1 release]; | ||
[imageView2 release]; | ||
[imageView3 release]; | ||
[imageView4 release]; | ||
[imageView5 release]; | ||
[imageView6 release]; | ||
[super dealloc]; | ||
} | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// | ||
// GLViewLoadingExampleController.h | ||
// GLView | ||
// | ||
// Created by Nick Lockwood on 21/07/2011. | ||
// Copyright 2011 Charcoal Design. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
|
||
@interface GLViewLoadingExampleController : UIViewController | ||
|
||
@property (nonatomic, retain) IBOutlet UILabel *ttlLabel; | ||
@property (nonatomic, retain) IBOutlet UILabel *label1; | ||
@property (nonatomic, retain) IBOutlet UILabel *label2; | ||
@property (nonatomic, retain) IBOutlet UILabel *label3; | ||
@property (nonatomic, retain) IBOutlet UILabel *label4; | ||
@property (nonatomic, retain) IBOutlet UILabel *label5; | ||
|
||
- (IBAction)refresh; | ||
|
||
@end |
Oops, something went wrong.