If you don't use CocoaPods or Swift Package Manager, you can download the entire project then import all the source files and use them in your project.
Usage
Declaration
// The frame is default to zero. You need to use AutoLayout to resize it. // Otherwise, you can specify the frame in initializer.if#available(iOS13.0, *) {
// This is the new initializer for iOS 13 dark/light mode. // The syste colors will be used.
btnLoading =LoadingButton(text: "Button", buttonStyle: .outline) // Outlined button
btnLoading =LoadingButton(text: "Button", buttonStyle: .fill) // Filled button
} else {
// Custom color initializer
btnLoading =LoadingButton(text: "Button", textColor: .black, bgColor: .white)
}