Skip to content

Commit

Permalink
1. Bump version to 1.4.0
Browse files Browse the repository at this point in the history
2. Update README
  • Loading branch information
zekunyan committed Dec 3, 2016
1 parent 192a814 commit 78bfc2a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ snackbar.show()

# Customization
### Message
`message: String` defines the message to diaplay.
`message: String` defines the message to diaplay. **Support multi line text.**

### Message text color
`messageTextColor: UIColor` defines the message text color.
Expand Down Expand Up @@ -200,8 +200,20 @@ The default value of `animationType` is `SlideFromBottomBackToBottom`, which is
### [New!] Custom content view
`customContentView: UIView?` defines the custom content view to show in the snackbar.

### Separator line view background color
### [New!] Separator line view background color
`separateViewBackgroundColor: UIColor = UIColor.gray` defines the separator line color.

### ActivityIndicatorViewStyle
`activityIndicatorViewStyle: UIActivityIndicatorViewStyle` defines the activityIndicatorViewStyle in snackbar.

### ActivityIndicatorView color
`activityIndicatorViewColor: UIColor` defines the activityIndicatorView color in snackbar.

### Animation SpringWithDamping
`animationSpringWithDamping: CGFloat` defines the spring animation damping value. Default is 0.7.

### Animation initialSpringVelocity
`animationInitialSpringVelocity: CGFloat` defines the spring animation initial velocity. Default is 5.

# Contact me
zekunyan@163.com
Binary file modified Resources/screen_shot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion TTGSnackbar.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "TTGSnackbar"
s.module_name = "TTGSnackbar"
s.version = "1.3.1"
s.version = "1.4.0"
s.summary = "A Swift based implementation of the Android Snackbar for iOS. Show simple message and action button or custom view like a Toast."

s.description = <<-DESC
Expand Down

0 comments on commit 78bfc2a

Please sign in to comment.