Skip to content

Commit

Permalink
Make DayViewDataSource and DayViewDelegate public
Browse files Browse the repository at this point in the history
  • Loading branch information
richardtop committed Feb 24, 2017
1 parent 5309272 commit 8c49039
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/DayView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ import UIKit
import Neon
import DateToolsSwift

protocol DayViewDataSource: class {
public protocol DayViewDataSource: class {
func eventViewsForDate(_ date: Date) -> [EventView]
}

protocol DayViewDelegate: class {
public protocol DayViewDelegate: class {
func dayViewDidSelectEventView(_ eventview: EventView)
func dayViewDidLongPressEventView(_ eventView: EventView)
}

public class DayView: UIView {

weak var dataSource: DayViewDataSource?
weak var delegate: DayViewDelegate?
public weak var dataSource: DayViewDataSource?
public weak var delegate: DayViewDelegate?

var headerHeight: CGFloat = 88

Expand Down

0 comments on commit 8c49039

Please sign in to comment.