Commit d78bb3ad by Daniel Dahan

updated README

parent 5cbddd16
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'MK' s.name = 'MK'
s.version = '1.23.0' s.version = '1.23.1'
s.license = { :type => "AGPL-3.0", :file => "LICENSE" } s.license = { :type => "AGPL-3.0", :file => "LICENSE" }
s.summary = 'A Material Design Framework In Swift' s.summary = 'A Material Design Framework In Swift'
s.homepage = 'http://materialkit.io' s.homepage = 'http://materialkit.io'
......
...@@ -15,8 +15,8 @@ let v: MaterialView = MaterialView(frame: CGRectMake(107, 107, 200, 200)) ...@@ -15,8 +15,8 @@ let v: MaterialView = MaterialView(frame: CGRectMake(107, 107, 200, 200))
v.shape = .Circle v.shape = .Circle
v.shadowDepth = .Depth3 v.shadowDepth = .Depth3
v.borderWidth = .Border4 v.borderWidth = .Border4
v.borderColor = MaterialColor.blue.accent4 v.borderColor = MaterialColor.blue.darken4
v.image = UIImage(named: "img2") v.image = UIImage(named: "img1")
// Add to UIViewController. // Add to UIViewController.
view.addSubview(v) view.addSubview(v)
...@@ -33,7 +33,7 @@ let v: MaterialPulseView = MaterialPulseView(frame: CGRectMake(107, 107, 200, 20 ...@@ -33,7 +33,7 @@ let v: MaterialPulseView = MaterialPulseView(frame: CGRectMake(107, 107, 200, 20
v.shape = .Square v.shape = .Square
v.shadowDepth = .Depth3 v.shadowDepth = .Depth3
v.cornerRadius = .Radius3 v.cornerRadius = .Radius3
v.image = UIImage(named: "img2") v.image = UIImage(named: "img1")
// Add to UIViewController. // Add to UIViewController.
view.addSubview(v) view.addSubview(v)
...@@ -198,7 +198,7 @@ A BasicCardView can easily add an image as its background, below is the code tha ...@@ -198,7 +198,7 @@ A BasicCardView can easily add an image as its background, below is the code tha
![MKPreview](http://www.materialkit.io/github/vid8.gif) ![MKPreview](http://www.materialkit.io/github/vid8.gif)
```swift ```swift
let v: BasicCardView = BasicCardView(image: UIImage(named: "img2"), titleLabel: MaterialLabel(), detailLabel: MaterialLabel())! let v: BasicCardView = BasicCardView(image: UIImage(named: "img1"), titleLabel: MaterialLabel(), detailLabel: MaterialLabel())!
v.spotlight = true v.spotlight = true
v.divider = false v.divider = false
...@@ -232,7 +232,7 @@ An ImageCardView is a great way to enclose many components into a single and pre ...@@ -232,7 +232,7 @@ An ImageCardView is a great way to enclose many components into a single and pre
![MKPreview](http://www.materialkit.io/github/vid9.gif) ![MKPreview](http://www.materialkit.io/github/vid9.gif)
```swift ```swift
let v: ImageCardView = ImageCardView(image: UIImage(named: "img2"))! let v: ImageCardView = ImageCardView(image: UIImage(named: "img1"))!
v.pulseColor = MaterialColor.blueGrey.lighten4 v.pulseColor = MaterialColor.blueGrey.lighten4
v.pulseFill = true v.pulseFill = true
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>FMWK</string> <string>FMWK</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.23.0</string> <string>1.23.1</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
......
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