Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
Material
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitriy Stepanets
Material
Commits
23b25b27
Commit
23b25b27
authored
Dec 06, 2015
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated MaterialLayer README
parent
a959b06a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
4 deletions
+4
-4
Examples/MaterialLayer/MaterialLayer/Assets.xcassets/BluePattern.imageset/BluePattern.png
+0
-0
Examples/MaterialLayer/MaterialLayer/Assets.xcassets/CosmicMindAppIcon.imageset/Contents.json
+1
-1
Examples/MaterialLayer/MaterialLayer/Assets.xcassets/CosmicMindAppIcon.imageset/CosmicMindAppIcon.png
+0
-0
Examples/MaterialLayer/MaterialLayer/ViewController.swift
+1
-1
README.md
+2
-2
No files found.
Examples/MaterialLayer/MaterialLayer/Assets.xcassets/BluePattern.imageset/BluePattern.png
deleted
100644 → 0
View file @
a959b06a
349 KB
Examples/MaterialLayer/MaterialLayer/Assets.xcassets/
BluePatter
n.imageset/Contents.json
→
Examples/MaterialLayer/MaterialLayer/Assets.xcassets/
CosmicMindAppIco
n.imageset/Contents.json
View file @
23b25b27
...
...
@@ -2,7 +2,7 @@
"images"
:
[
{
"idiom"
:
"universal"
,
"filename"
:
"
BluePatter
n.png"
,
"filename"
:
"
CosmicMindAppIco
n.png"
,
"scale"
:
"1x"
},
{
...
...
Examples/MaterialLayer/MaterialLayer/Assets.xcassets/CosmicMindAppIcon.imageset/CosmicMindAppIcon.png
0 → 100644
View file @
23b25b27
11.2 KB
Examples/MaterialLayer/MaterialLayer/ViewController.swift
View file @
23b25b27
...
...
@@ -42,7 +42,7 @@ class ViewController: UIViewController {
*/
private
func
prepareGeneralMaterialLayerExample
()
{
let
materialLayer
:
MaterialLayer
=
MaterialLayer
(
frame
:
CGRectMake
(
132
,
132
,
150
,
150
))
materialLayer
.
image
=
UIImage
(
named
:
"
BluePatter
n"
)
materialLayer
.
image
=
UIImage
(
named
:
"
CosmicMindAppIco
n"
)
materialLayer
.
shape
=
.
Circle
materialLayer
.
shadowDepth
=
.
Depth2
...
...
README.md
View file @
23b25b27
...
...
@@ -16,7 +16,7 @@ MaterialLayer is a lightweight CAShapeLayer used throughout MaterialKit. It is d
```
swift
let
materialLayer
:
MaterialLayer
=
MaterialLayer
(
frame
:
CGRectMake
(
132
,
132
,
150
,
150
))
materialLayer
.
image
=
UIImage
(
named
:
"
BluePatter
n"
)
materialLayer
.
image
=
UIImage
(
named
:
"
CosmicMindAppIco
n"
)
materialLayer
.
shape
=
.
Circle
materialLayer
.
shadowDepth
=
.
Depth2
...
...
@@ -43,7 +43,7 @@ view.addSubview(materialView)
### 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment