Created
February 12, 2012 21:57
-
-
Save MaxGabriel/1811048 to your computer and use it in GitHub Desktop.
CS 193p Fall 2011 Assignment 3 Graphing Calculator--Task 3: Delegation3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (float)deltaY:(GraphView *)sender | |
{ | |
float xVar = sender.xValue; | |
id xVar2 = [NSNumber numberWithFloat:xVar]; | |
NSMutableDictionary *dict = [[NSMutableDictionary alloc] init]; | |
[dict setValue:xVar2 forKey: @"x"]; | |
float result = [CalculatorBrain runProgram:self.graphStack usingVariableValues:dict]; | |
return result; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment