SmartPrompter Documentation Beta

Class Reward​VC

class RewardVC: UIViewController
%3 RewardVC RewardVC UIViewController UIViewController RewardVC->UIViewController

Conforms To

UIViewController

Properties

circle​Holder

let circleHolder

percentage​Label

let percentageLabel

button

let button

text​View

let textView

fraction

var fraction

image​View

let imageView

image​Array

let imageArray

Methods

view​Did​Load()

override func viewDidLoad()

image​View​Setup()

func imageViewSetup()

Sets up the size/location/shape and style of the imageview

progress​Circle​Setup()

func progressCircleSetup()

Sets up the size/location/shape and style of the progress circle

button​Setup()

func buttonSetup()

Sets up the size/location/shape and style of the button

button​Clicked()

@objc func buttonClicked()

Action when the button is tapped. Takes user back

text​View​Setup()

func textViewSetup()

Sets up the size/location/shape and style of the textview