Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
[TTCatalog] fixed styledLabel sample
Browse files Browse the repository at this point in the history
changed StyledTextTestController to overwrite the designated initializer
  • Loading branch information
diederich committed Jan 21, 2011
1 parent 36cb789 commit 52e9d9c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions samples/TTCatalog/Classes/StyledTextTestController.m
Expand Up @@ -51,10 +51,11 @@ - (TTStyle*)inlineBox2 {
@implementation StyledTextTestController

///////////////////////////////////////////////////////////////////////////////////////////////////
// NSObject
// UIViewController

- (id)init {
if (self = [super init]) {
- (id) initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
self = [super initWithNibName:nil bundle:nil];
if (self) {
[TTStyleSheet setGlobalStyleSheet:[[[TextTestStyleSheet alloc] init] autorelease]];
}
return self;
Expand Down

0 comments on commit 52e9d9c

Please sign in to comment.