Open toy5429274 opened 7 years ago
Use - (void)updateChartByCurrent:(NSNumber *)current;
method to increase PNCircleChart
's current value. From your code, in increaseCircle
function, you only initialise NSNumber. Assign that NSNumber to your number variable and pass it to updateChartByCurrent
method.
I would like to increment the a value for pncircle chart by 1 when a button is click. But somehow the UI won't get updated. Please help
`import UIKit import PNChart
class ViewController: UIViewController {
}// end uiviewcontroller `