Commit 7758dbc6 by Daniel Dahan

updated MaterialView README

parent ea197a26
......@@ -41,7 +41,7 @@ class ViewController: UIViewController {
:description: General usage example.
*/
private func prepareGeneralMaterialViewExample() {
let materialView: MaterialView = MaterialView(frame: CGRectMake(107, 107, 200, 200))
let materialView: MaterialView = MaterialView(frame: CGRectMake(132, 132, 150, 150))
materialView.image = UIImage(named: "FocusAppIcon")
materialView.shape = .Square
materialView.shadowDepth = .Depth5
......
......@@ -31,7 +31,7 @@ MaterialView is the base UIView class used throughout MaterialKit. Like Material
![MaterialKitMaterialView](http://www.materialkit.io/MK/MaterialKitMaterialView.gif)
```swift
let materialView: MaterialView = MaterialView(frame: CGRectMake(107, 107, 200, 200))
let materialView: MaterialView = MaterialView(frame: CGRectMake(132, 132, 150, 150))
materialView.image = UIImage(named: "FocusAppIcon")
materialView.shape = .Square
materialView.shadowDepth = .Depth5
......
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