kevinzhow

Add change value function

@@ -22,6 +22,9 @@ @@ -22,6 +22,9 @@
22 <state key="normal" title="Change Value"> 22 <state key="normal" title="Change Value">
23 <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/> 23 <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
24 </state> 24 </state>
  25 + <connections>
  26 + <action selector="changeValue:" destination="Tha-Wr-sPW" eventType="touchUpInside" id="zeG-Cp-Wjs"/>
  27 + </connections>
25 </button> 28 </button>
26 </subviews> 29 </subviews>
27 <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/> 30 <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
@@ -9,5 +9,6 @@ @@ -9,5 +9,6 @@
9 #import <UIKit/UIKit.h> 9 #import <UIKit/UIKit.h>
10 10
11 @interface PCChartViewController : UIViewController 11 @interface PCChartViewController : UIViewController
  12 +- (IBAction)changeValue:(id)sender;
12 13
13 @end 14 @end
@@ -10,4 +10,10 @@ @@ -10,4 +10,10 @@
10 10
11 @implementation PCChartViewController 11 @implementation PCChartViewController
12 12
  13 +- (IBAction)changeValue:(id)sender {
  14 + if ([self.title isEqualToString:@"Bar Chart"]) {
  15 +
  16 + }
  17 +}
  18 +
13 @end 19 @end