Skip to content
Newer
Older
100644 25 lines (22 sloc) 644 Bytes
d99be79 @tomcool420 fixing Examples, creating more examples and putting them in easy to a…
authored Jul 13, 2011
1 //
2 // SMFExamples.m
3 // SMFramework
4 //
5 // Created by Thomas Cool on 7/13/11.
6 // Copyright 2011 tomcool.org. All rights reserved.
7 //
8
9 #import "SMFExamples.h"
10 #import "SMFBookcaseController.h"
11 #import "SMFBookcaseDelegateAndDatasourceExample.h"
12 @implementation SMFExamples
13
14 SYNTHESIZE_SINGLETON_FOR_CLASS(SMFExamples, examples)
15 -(SMFBookcaseController *)bookcase
16 {
17 SMFBookcaseController *c = [[SMFBookcaseController alloc]init ];
18 SMFBookcaseDelegateAndDatasourceExample *d = [[SMFBookcaseDelegateAndDatasourceExample alloc] init];
19 [c setDelegate:d];
20 [c setDatasource:d];
21 [d autorelease];
22 return [c autorelease];
23 }
24 @end
Something went wrong with that request. Please try again.