// // MPMathRules.h // MathKit // // Created by Kim Wittenburg on 14.09.14. // Copyright (c) 2014 Kim Wittenburg. All rights reserved. // /*! @header This file contains the MPMathRules class. */ /*! @const MPMathRulesIsUsingDegreesKey @abstract Predefined key that is used to store the properties of the MPMathRules class in the NSUserDefaults database. */ FOUNDATION_EXPORT NSString *MPMathRulesIsUsingDegreesKey; @class MPMathRules; /*! @class MPMathRules @abstract The math rules class stores global settings concerning mathematical interpretations @discussion The MPMathRules class is a singletone class. There can only exist one instance (the shared instance) at any time. */ @interface MPMathRules : NSObject /*! @method sharedRules @abstract Returnes the shared MPMathRules instance. */ + (MPMathRules *)sharedRules; /*! @property isUsingDegrees @abstract Specifies whether trigonometric functions use degree values. @discussion If set to NO radians are used instead. The default value is NO. */ @property (nonatomic) BOOL isUsingDegrees; @end