Commit 23b25b27 by Daniel Dahan

updated MaterialLayer README

parent a959b06a
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"images" : [ "images" : [
{ {
"idiom" : "universal", "idiom" : "universal",
"filename" : "BluePattern.png", "filename" : "CosmicMindAppIcon.png",
"scale" : "1x" "scale" : "1x"
}, },
{ {
......
...@@ -42,7 +42,7 @@ class ViewController: UIViewController { ...@@ -42,7 +42,7 @@ class ViewController: UIViewController {
*/ */
private func prepareGeneralMaterialLayerExample() { private func prepareGeneralMaterialLayerExample() {
let materialLayer: MaterialLayer = MaterialLayer(frame: CGRectMake(132, 132, 150, 150)) let materialLayer: MaterialLayer = MaterialLayer(frame: CGRectMake(132, 132, 150, 150))
materialLayer.image = UIImage(named: "BluePattern") materialLayer.image = UIImage(named: "CosmicMindAppIcon")
materialLayer.shape = .Circle materialLayer.shape = .Circle
materialLayer.shadowDepth = .Depth2 materialLayer.shadowDepth = .Depth2
......
...@@ -16,7 +16,7 @@ MaterialLayer is a lightweight CAShapeLayer used throughout MaterialKit. It is d ...@@ -16,7 +16,7 @@ MaterialLayer is a lightweight CAShapeLayer used throughout MaterialKit. It is d
```swift ```swift
let materialLayer: MaterialLayer = MaterialLayer(frame: CGRectMake(132, 132, 150, 150)) let materialLayer: MaterialLayer = MaterialLayer(frame: CGRectMake(132, 132, 150, 150))
materialLayer.image = UIImage(named: "BluePattern") materialLayer.image = UIImage(named: "CosmicMindAppIcon")
materialLayer.shape = .Circle materialLayer.shape = .Circle
materialLayer.shadowDepth = .Depth2 materialLayer.shadowDepth = .Depth2
...@@ -43,7 +43,7 @@ view.addSubview(materialView) ...@@ -43,7 +43,7 @@ view.addSubview(materialView)
### MaterialPulseView ### MaterialPulseView
MaterialPulseView is MaterialPulseView is at the heart of all pulse animations. Any view that subclasses MaterialPulseView instantly inherits the pulse animation with full customizability.
### FlatButton ### FlatButton
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment