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
8bbdbbad
Unverified
Commit
8bbdbbad
authored
Feb 27, 2017
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v2.x.x: fixed CocoaPods issues
parent
787aacb9
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
12 deletions
+12
-12
Sources/iOS/Button.swift
+1
-1
Sources/iOS/CollectionReusableView.swift
+1
-1
Sources/iOS/CollectionViewCell.swift
+1
-1
Sources/iOS/Material+Motion.swift
+6
-6
Sources/iOS/PulseAnimation.swift
+1
-1
Sources/iOS/PulseView.swift
+1
-1
Sources/iOS/TableViewCell.swift
+1
-1
No files found.
Sources/iOS/Button.swift
View file @
8bbdbbad
...
@@ -43,7 +43,7 @@ open class Button: UIButton, Pulseable, PulseableLayer {
...
@@ -43,7 +43,7 @@ open class Button: UIButton, Pulseable, PulseableLayer {
internal
var
pulse
:
Pulse
!
internal
var
pulse
:
Pulse
!
/// A reference to the pulse layer.
/// A reference to the pulse layer.
internal
var
pulseLayer
:
CALayer
?
{
public
var
pulseLayer
:
CALayer
?
{
return
pulse
.
pulseLayer
return
pulse
.
pulseLayer
}
}
...
...
Sources/iOS/CollectionReusableView.swift
View file @
8bbdbbad
...
@@ -44,7 +44,7 @@ open class CollectionReusableView: UICollectionReusableView, Pulseable, Pulseabl
...
@@ -44,7 +44,7 @@ open class CollectionReusableView: UICollectionReusableView, Pulseable, Pulseabl
internal
var
pulse
:
Pulse
!
internal
var
pulse
:
Pulse
!
/// A reference to the pulse layer.
/// A reference to the pulse layer.
internal
var
pulseLayer
:
CALayer
?
{
public
var
pulseLayer
:
CALayer
?
{
return
pulse
.
pulseLayer
return
pulse
.
pulseLayer
}
}
...
...
Sources/iOS/CollectionViewCell.swift
View file @
8bbdbbad
...
@@ -44,7 +44,7 @@ open class CollectionViewCell: UICollectionViewCell, Pulseable, PulseableLayer {
...
@@ -44,7 +44,7 @@ open class CollectionViewCell: UICollectionViewCell, Pulseable, PulseableLayer {
internal
var
pulse
:
Pulse
!
internal
var
pulse
:
Pulse
!
/// A reference to the pulse layer.
/// A reference to the pulse layer.
internal
var
pulseLayer
:
CALayer
?
{
public
var
pulseLayer
:
CALayer
?
{
return
pulse
.
pulseLayer
return
pulse
.
pulseLayer
}
}
...
...
Sources/iOS/Material+Motion.swift
View file @
8bbdbbad
...
@@ -631,16 +631,16 @@ extension Motion {
...
@@ -631,16 +631,16 @@ extension Motion {
snapshotAnimations
.
append
(
shadowPath
)
snapshotAnimations
.
append
(
shadowPath
)
}
}
let
shadowOffset
=
Motion
.
shadow
(
offset
:
to
.
shadowOffset
)
let
shadowOffset
=
Motion
.
shadow
(
offset
:
to
.
layer
.
shadowOffset
)
shadowOffset
.
fromValue
=
fromView
.
shadowOffset
shadowOffset
.
fromValue
=
fromView
.
layer
.
shadowOffset
snapshotAnimations
.
append
(
shadowOffset
)
snapshotAnimations
.
append
(
shadowOffset
)
let
shadowOpacity
=
Motion
.
shadow
(
opacity
:
to
.
shadowOpacity
)
let
shadowOpacity
=
Motion
.
shadow
(
opacity
:
to
.
layer
.
shadowOpacity
)
shadowOpacity
.
fromValue
=
fromView
.
shadowOpacity
shadowOpacity
.
fromValue
=
fromView
.
layer
.
shadowOpacity
snapshotAnimations
.
append
(
shadowOpacity
)
snapshotAnimations
.
append
(
shadowOpacity
)
let
shadowRadius
=
Motion
.
shadow
(
radius
:
to
.
shadowRadius
)
let
shadowRadius
=
Motion
.
shadow
(
radius
:
to
.
layer
.
shadowRadius
)
shadowRadius
.
fromValue
=
fromView
.
shadowRadius
shadowRadius
.
fromValue
=
fromView
.
layer
.
shadowRadius
snapshotAnimations
.
append
(
shadowRadius
)
snapshotAnimations
.
append
(
shadowRadius
)
snapshotChildAnimations
.
append
(
cornerRadiusAnimation
)
snapshotChildAnimations
.
append
(
cornerRadiusAnimation
)
...
...
Sources/iOS/PulseAnimation.swift
View file @
8bbdbbad
...
@@ -53,7 +53,7 @@ public protocol Pulseable {
...
@@ -53,7 +53,7 @@ public protocol Pulseable {
var
pulseOpacity
:
CGFloat
{
get
set
}
var
pulseOpacity
:
CGFloat
{
get
set
}
}
}
internal
protocol
PulseableLayer
{
public
protocol
PulseableLayer
{
/// A reference to the pulse layer.
/// A reference to the pulse layer.
var
pulseLayer
:
CALayer
?
{
get
}
var
pulseLayer
:
CALayer
?
{
get
}
}
}
...
...
Sources/iOS/PulseView.swift
View file @
8bbdbbad
...
@@ -35,7 +35,7 @@ open class PulseView: View, Pulseable, PulseableLayer {
...
@@ -35,7 +35,7 @@ open class PulseView: View, Pulseable, PulseableLayer {
internal
var
pulse
:
Pulse
!
internal
var
pulse
:
Pulse
!
/// A reference to the pulse layer.
/// A reference to the pulse layer.
internal
var
pulseLayer
:
CALayer
?
{
public
var
pulseLayer
:
CALayer
?
{
return
pulse
.
pulseLayer
return
pulse
.
pulseLayer
}
}
...
...
Sources/iOS/TableViewCell.swift
View file @
8bbdbbad
...
@@ -43,7 +43,7 @@ open class TableViewCell: UITableViewCell, Pulseable, PulseableLayer {
...
@@ -43,7 +43,7 @@ open class TableViewCell: UITableViewCell, Pulseable, PulseableLayer {
internal
var
pulse
:
Pulse
!
internal
var
pulse
:
Pulse
!
/// A reference to the pulse layer.
/// A reference to the pulse layer.
internal
var
pulseLayer
:
CALayer
?
{
public
var
pulseLayer
:
CALayer
?
{
return
pulse
.
pulseLayer
return
pulse
.
pulseLayer
}
}
...
...
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