Skip to content

Swift UIButton subclass adding a nice animation for usage in camera-like interfaces.

Notifications You must be signed in to change notification settings

antiflasher/camera-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

CameraButton.swift

Usage

  1. Drag the file into your project.
  2. Add a UIButton element via Interface Builder and assign CameraButton class to it.
  3. Or create an instance of CameraButton class via code as like it's a ragular UIButton.
  4. Use it as a regular UIButton for getting button events.

All colors and padding configs are grouped as constants in the class file.

About

Swift UIButton subclass adding a nice animation for usage in camera-like interfaces.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages