Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (34 sloc) 1.025 kb
//
// MyDocument.h
// MeetingTime2
//
// Created by Aaron Patterson on 10/18/09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class Meeting;
@class Person;
@interface MyDocument : NSDocument
{
NSMutableArray *people;
Meeting *meeting;
IBOutlet NSButton * startButton;
IBOutlet NSButton * stopButton;
IBOutlet NSTextField * runningTime;
IBOutlet NSTextField * totalCost;
IBOutlet NSTextField * hourlyCost;
IBOutlet NSTableView * tableView;
NSTimer * timer;
}
@property (readonly) NSMutableArray *people;
- (IBAction)startButtonPressed:(id)sender;
- (IBAction)stopButtonPressed:(id)sender;
- (void)insertObject:(Person *)p inPeopleAtIndex:(int)index;
- (void)removeObjectFromPeopleAtIndex:(int)index;
- (void)setPeople:(NSMutableArray *)thePeople;
- (void)stopObservingPerson:(Person *)person;
- (void)startObservingPerson:(Person *)person;
- (void)changeKeyPath:(NSString *)keyPath
ofObject:(id)obj
toValue:(id)newValue;
@end
Jump to Line
Something went wrong with that request. Please try again.