Skip to content

Commit

Permalink
[NEW] Silencing the Warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanpe committed Dec 13, 2016
1 parent 2818934 commit adab832
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Pod/Classes/JDAnimationKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ public protocol JDAnimationNode : class{

func animatableLayer() -> CALayer

func didStartAnimation(_ startBlock: JDLayerAnimationStartBlock?) -> JDAnimationNode
func didStopAnimation(_ stopBlock: JDLayerAnimationStartBlock?) -> JDAnimationNode
@discardableResult func didStartAnimation(_ startBlock: JDLayerAnimationStartBlock?) -> JDAnimationNode
@discardableResult func didStopAnimation(_ stopBlock: JDLayerAnimationStartBlock?) -> JDAnimationNode

func makeGenericAnimation(_ property: String, toValue: AnyObject, duration: Double, delay: Double, spring: Bool, springConfig: JDSpringConfig, key: String, timing: JDTimingFunction) -> POPAnimation

Expand Down Expand Up @@ -252,7 +252,7 @@ extension JDAnimationNode{
)
}

internal func _addAnimation(_ animation: POPAnimation, key: String) -> JDAnimationNode{
@discardableResult internal func _addAnimation(_ animation: POPAnimation, key: String) -> JDAnimationNode{

self.waitingToStartAnimationsKeys.append(key)
self.startedAnimationsKeys.append(key)
Expand Down

0 comments on commit adab832

Please sign in to comment.