Skip to content

Commit

Permalink
Merge pull request #27 from Reflejo/discardable-displaylink
Browse files Browse the repository at this point in the history
Add @discardableResult to CADisplayLink extension
  • Loading branch information
Keith Smiley committed Sep 18, 2017
2 parents 32c0724 + adb82b9 commit dc96025
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/CADisplayLink+LambdaKit.swift
Expand Up @@ -62,6 +62,7 @@ extension CADisplayLink {
///
/// - parameter duration: The duration in seconds.
/// - parameter handler: The closure to execute for every tick.
@discardableResult
public static func runFor(_ duration: CFTimeInterval,
handler: @escaping LKDisplayLinkClosure) -> CADisplayLink
{
Expand Down

0 comments on commit dc96025

Please sign in to comment.