Commit a0956bf4 by Daniel Dahan

updated MaterialView README

parent 23b25b27
{
"images" : [
{
"idiom" : "universal",
"filename" : "Flower.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
......@@ -42,7 +42,7 @@ class ViewController: UIViewController {
*/
private func prepareGeneralMaterialViewExample() {
let materialView: MaterialView = MaterialView(frame: CGRectMake(107, 107, 200, 200))
materialView.image = UIImage(named: "Flower")
materialView.image = UIImage(named: "FocusAppIcon")
materialView.shape = .Square
materialView.shadowDepth = .Depth5
materialView.cornerRadius = .Radius3
......
......@@ -32,7 +32,7 @@ MaterialView is the base UIView class used throughout MaterialKit. Like Material
```swift
let materialView: MaterialView = MaterialView(frame: CGRectMake(107, 107, 200, 200))
materialView.image = UIImage(named: "Flower")
materialView.image = UIImage(named: "FocusAppIcon")
materialView.shape = .Square
materialView.shadowDepth = .Depth5
materialView.cornerRadius = .Radius3
......
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