Skip to content

siginur/SMControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMControl

Swift/5.0

Control library for iOS written on Swift

Features

  • Set control image
  • Configure image size by percent
  • Interface Builder preview
  • Set control actions with blocks

Example

control.image = UIImage(named: "volumeUp")
control.imageScale = 0.7
control.addActionBlock(event: .touchUpInside) { control in
	print("Volume up button pressed")
}

Installation

Copy the SMControl/SMControl.swift file into your project.

Contact

Alexey Siginur [email protected]

License

SMControl source code is available under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published