Skip to content

Convenience init for RippleView#4

Open
jstnheo wants to merge 1 commit intoxai3:masterfrom
jstnheo:master
Open

Convenience init for RippleView#4
jstnheo wants to merge 1 commit intoxai3:masterfrom
jstnheo:master

Conversation

@jstnheo
Copy link
Copy Markdown

@jstnheo jstnheo commented Jan 27, 2016

Added a convenience initializer to RippleView for easier initialization and default value for tint color

let view = RippleView(image: UIImage(named: "q"), tintColor: UIColor(red: 0.3, green: 0.7, blue: 1, alpha: 1))

let view2 = RippleView(image: UIImage(named: "q"))

let view3 = RippleView()
view3.coreImage = UIImage(named: "q")
view3.tintColor = UIColor(red: 0.3, green: 0.7, blue: 1, alpha: 1)

view, view2, view3 all have the same result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant