Reorganized File Structure
Added Documentation
This commit is contained in:
38
MathKit/MPExpressionView.h
Normal file
38
MathKit/MPExpressionView.h
Normal file
@@ -0,0 +1,38 @@
|
||||
//
|
||||
// MPExpressionView.h
|
||||
// MathPad
|
||||
//
|
||||
// Created by Kim Wittenburg on 17.04.14.
|
||||
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
||||
//
|
||||
|
||||
// TODO: Undo/Redo + Delegate (evaluateExpressionView:evaluate...)
|
||||
|
||||
|
||||
|
||||
@class MPExpressionView, MPExpressionStorage, MPRangePath;
|
||||
|
||||
|
||||
@interface MPExpressionView : NSView
|
||||
|
||||
#pragma mark Creation Methods
|
||||
|
||||
- (id)initWithFrame:(NSRect)frameRect;
|
||||
|
||||
#pragma mark Properties
|
||||
|
||||
@property (readonly, nonatomic, strong) MPExpressionStorage *expressionStorage;
|
||||
|
||||
@property (nonatomic, strong) MPRangePath *selection;
|
||||
|
||||
@property (nonatomic, strong) NSError *mathError;
|
||||
@property (nonatomic, strong) NSArray *syntaxErrors;
|
||||
|
||||
@property (nonatomic, weak) id target;
|
||||
@property (nonatomic) SEL action;
|
||||
|
||||
#pragma mark Actions
|
||||
- (IBAction)switchRadiansDegrees:(id)sender;
|
||||
- (IBAction)showFunctions:(id)sender;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user