diff --git a/README.md b/README.md index 9e06392..de0de8a 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,9 @@ You need to create SwiftLoader.Config object, set params: ```swift var config : SwiftLoader.Config = SwiftLoader.Config() config.size = 150 - config.spinnerColor = UIColor.redColor() + config.spinnerColor = .redColor() + config.foregroundColor = .blackColor() + config.foregroundAlpha = 0.5 ``` and set new config for SwiftLoader: ```swift @@ -49,7 +51,9 @@ and set new config for SwiftLoader: * titleTextColor - Color of title text * titleTextFont - Font of title text * backgroundColor - Background color for loader +* foregroundColor - Foreground color for loader * cornerRadius - Radius of corners of loader +* foregroundAlpha - Alpha property for foreground ## Install diff --git a/SwiftLoader.podspec b/SwiftLoader.podspec index 2723420..0ffd1d0 100644 --- a/SwiftLoader.podspec +++ b/SwiftLoader.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "SwiftLoader" - s.version = "0.2.4" + s.version = "0.2.5" s.summary = "A simple and beautiful activity indicator" s.description = <<-DESC SwiftLoader is a simple and beautiful activity indicator written in Swift.