Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
PNChart
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
kevinzhow
2014-12-12 04:40:08 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3086fa902d0ba1a820fb36953de915ea69954898
3086fa90
1 parent
5f6a8272
Add change value function
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
PNChartDemo/Base.lproj/Main.storyboard
PNChartDemo/PCChartViewController.h
PNChartDemo/PCChartViewController.m
PNChartDemo/Base.lproj/Main.storyboard
View file @
3086fa9
...
...
@@ -22,6 +22,9 @@
<state
key=
"normal"
title=
"Change Value"
>
<color
key=
"titleShadowColor"
white=
"0.5"
alpha=
"1"
colorSpace=
"calibratedWhite"
/>
</state>
<connections>
<action
selector=
"changeValue:"
destination=
"Tha-Wr-sPW"
eventType=
"touchUpInside"
id=
"zeG-Cp-Wjs"
/>
</connections>
</button>
</subviews>
<color
key=
"backgroundColor"
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"calibratedWhite"
/>
...
...
PNChartDemo/PCChartViewController.h
View file @
3086fa9
...
...
@@ -9,5 +9,6 @@
#import <UIKit/UIKit.h>
@interface
PCChartViewController
:
UIViewController
-
(
IBAction
)
changeValue
:(
id
)
sender
;
@end
...
...
PNChartDemo/PCChartViewController.m
View file @
3086fa9
...
...
@@ -10,4 +10,10 @@
@implementation
PCChartViewController
-
(
IBAction
)
changeValue
:(
id
)
sender
{
if
([
self
.
title
isEqualToString
:
@"Bar Chart"
])
{
}
}
@end
...
...
Please
register
or
login
to post a comment