Skip to content

megaganjotsingh/ToggleSwitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ToggleSwitch

Demo

Easy to Use

You can simply set all the properties in simple way

       toggleSwitch.set(
          properties: { prop in
              prop.width = 40
              prop.height = 20
              prop.cornerRadius = 10
              prop.onBackgroundColor = .green
              prop.thumbProperties.showThumbShadow = true
              prop.thumbProperties.backgroundColor = .white
          },
          tapOnSwitch: { [weak self] in
              guard let self = self else { return .off }
              return self.toggle1.currentState
          }
      )

Collaboration

I tried to build an easy to use API, but I'm sure there are ways of improving and adding more features, If you think that we can do the ToggleSwitch more powerful please contribute with this project.

About

An animate switch collection, Add Beautiful Customise Switch in your application to boost UI and UX

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages