Archived
1
This repository has been archived on 2022-08-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
mathpad/MathPad/MPDocument.h
Kim Wittenburg 7438fd1f95 Added Lots of Documentation
Added some nice to haves
Improved and Unified General Code Layout
2015-01-04 02:54:27 +01:00

47 lines
978 B
Objective-C

//
// MPDocument.h
// MathPad
//
// Created by Kim Wittenburg on 23.03.14.
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
//
#import <MathKit/MathKit.h>
/*!
@class MPDocument
@abstract This class is the document class that displays the MathPad user
interface.
*/
@interface MPDocument : NSDocument
/*!
@property expressionView
@abstract The main expression view.
*/
@property (weak) IBOutlet MPExpressionView *expressionView;
/*!
@property resultLabel
@abstract The label which displays the result of the calculation.
@discussion The label is placed inside the expression view.
*/
@property (weak) IBOutlet NSTextField *resultLabel;
/*!
@method evaluateExpression:
@abstract Called by the expression view when it should be evaluated.
@param sender
Typically the object that invoked the method.
*/
- (IBAction)evaluateExpression:(id)sender;
@end