Skip to content

Commit

Permalink
Merge pull request #24 from richardtop/fix/public-protocols
Browse files Browse the repository at this point in the history
Fix/public protocols
  • Loading branch information
richardtop authored Feb 24, 2017
2 parents 5309272 + 04a574e commit 7262aae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CalendarKit.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "CalendarKit"
s.summary = "Fully customizable calendar for iOS"
s.version = "0.1.5"
s.version = "0.1.6"
s.homepage = "https://github.com/richardtop/CalendarKit"
s.license = 'MIT'
s.author = { "Richard Topchii" => "[email protected]" }
Expand Down
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 7262aae

Please sign in to comment.