home *** CD-ROM | disk | FTP | other *** search
- /* TableViewController.m:
- * You may freely copy, distribute, and reuse the code in this example.
- * NeXT disclaims any warranty of any kind, expressed or implied, as to its
- * fitness for any particular use.
- *
- * Written by Scott Weiner, NeXT Developer Training
- *
- */
- #import <dbkit/dbkit.h>
- #import "TableViewController.h"
- #import "DateFormatter.h"
-
- @implementation TableViewController
- - awakeFromNib
- {
- vector = [tableView columnAt:1];
- theFormatter = [[DateFormatter alloc] init];
- [vector setFormatter:theFormatter];
-
- return self;
- }
-
- - free
- {
- if (theFormatter)
- [theFormatter free];
- return[super free];
- }
-
- @end
-