Skip to content

JB3991/Common-Controls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Common-Controls

swift-version

Basic UIKit Controls and simple functions to help undetstand what each element does.

  • Button - When the button is pressed is prints the "Toggle is on or off", Prints the Slider value and prints "The button was tapped" to the log
  • Toggle - Everytime the toggle is swithced, its prints "Toggle is on or off" to the console
  • Slider - Prints the value of the slider to the console every time the slider is moved
  • Text Field - Print the text in the text field to the console also, to do the same when the return key is pressed on the Keyboard
  • Tap Gesture - Prints the tap location to the console

Screenshot 2021-02-14 at 17 45 59

Created by JB