Annotation of Examples/DatabaseKit/Formatter/TableViewController.m, revision 1.1

1.1     ! root        1: /* TableViewController.m:
        !             2:  * You may freely copy, distribute, and reuse the code in this example.
        !             3:  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
        !             4:  * fitness for any particular use.
        !             5:  *
        !             6:  * Written by Scott Weiner, NeXT Developer Training
        !             7:  *
        !             8:  */
        !             9: #import <dbkit/dbkit.h>
        !            10: #import "TableViewController.h"
        !            11: #import "DateFormatter.h"
        !            12: 
        !            13: @implementation TableViewController
        !            14: - awakeFromNib
        !            15: {
        !            16:        vector = [tableView columnAt:1];
        !            17:        theFormatter = [[DateFormatter alloc] init];
        !            18:        [vector setFormatter:theFormatter];
        !            19:        
        !            20:        return self;
        !            21: }
        !            22: 
        !            23: - free
        !            24: {
        !            25:        if (theFormatter)
        !            26:                [theFormatter free];
        !            27:        return[super free];
        !            28: }
        !            29: 
        !            30: @end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.