MatthewYork / DateTools

Dates and times made easy in iOS
MIT License
7.22k stars 950 forks source link

datePeriod is inaccessible due to 'internal' protection level #262

Open phaninderkumar opened 6 years ago

phaninderkumar commented 6 years ago

The below code is throwing me error "'datePeriod' is inaccessible due to 'internal' protection level"

let event = Event()
event.datePeriod = TimePeriod.init(beginning: startDate, end: endDate)