Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Guihal Gwenn authored and Guihal Gwenn committed Jun 7, 2018
1 parent c51e8dd commit d0b3818
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Collor/Classes/CollectionCellAdaptable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public protocol CollectionCellAdaptable : NSObjectProtocol {
func set(delegate:CollectionUserEventDelegate?) -> Void
}

public protocol CollectionUserEventDelegatable {
associatedtype Delegate: CollectionUserEventDelegate
var delegate: Delegate { get }
// default implementation of CollectionCellAdaptable
public extension CollectionCellAdaptable {
func set(delegate:CollectionUserEventDelegate?) {}
}

0 comments on commit d0b3818

Please sign in to comment.