Skip to content

Commit

Permalink
Merge pull request #11 from maykonmeier/master
Browse files Browse the repository at this point in the history
Updated README with Foreground and Alpha properties
  • Loading branch information
leoru committed Oct 6, 2015
2 parents 06be7a3 + 37715a7 commit 988a4a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion SwiftLoader.podspec
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 988a4a8

Please sign in to comment.