Reorganized File Structure
Added Documentation
This commit is contained in:
31
MathKit/MPMathRules.h
Normal file
31
MathKit/MPMathRules.h
Normal file
@@ -0,0 +1,31 @@
|
||||
//
|
||||
// MPMathRules.h
|
||||
// MathPad
|
||||
//
|
||||
// Created by Kim Wittenburg on 14.09.14.
|
||||
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
||||
//
|
||||
|
||||
|
||||
|
||||
FOUNDATION_EXPORT NSString *MPMathRulesMaximumOperatorChainLengthKey;
|
||||
FOUNDATION_EXPORT NSString *MPMathRulesMaximumOperatorChainLengthInMultiplicationKey;
|
||||
FOUNDATION_EXPORT NSString *MPMathRulesIsUsingDegreesKey;
|
||||
|
||||
|
||||
@class MPMathRules;
|
||||
|
||||
|
||||
@interface MPMathRules : NSObject
|
||||
|
||||
+ (MPMathRules *)sharedRules;
|
||||
|
||||
@property (nonatomic, getter = isUsingUserDefaultValues) BOOL usingUserDefaultValues;
|
||||
|
||||
// Default value uses the key "..." in NSUserDefaults or ... if the key does not exist.
|
||||
@property (nonatomic) NSUInteger maximumOperatorChainLength; // +--++-5 -> Chain length: 6, 2 default (sign of number and operator) (0 is invalid?)
|
||||
@property (nonatomic) NSUInteger maximumOperatorChainLengthInMultiplication; // Default: 1, 0 means actually 0
|
||||
|
||||
@property (nonatomic) BOOL isUsingDegrees;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user