Cocoa Design pattern
摘要:
@interface PayCalculator : NSObject{IBOutlet NSTextField *employeeNameField;IBOutlet NSFormCell *hourlyRateField;IBOutlet NSFormCell *hoursWorkedField;IBOutlet NSFormCell *standardHoursInPeriodField;IBOutlet NSTextField *payAmountField;IBOutlet NSButton *employeeIsExemptButton;}- (IBAction)calculate 阅读全文