You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this project which is very useful. However I would have a question regarding the handling of the vertical "Hour " as I don't undestand where it is managed . I tried to chnage the number of hours per day with no effect. From where it is dequeued ?
Hope it's clear :)
extension CalendarViewController: SapporoDelegate {
func collectionView(collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionReusableView {
if kind == CalendarHeaderType.Day.rawValue {
let view = collectionView.dequeueReusableSupplementaryViewOfKind(kind, withReuseIdentifier: CalendarHeaderView.reuseIdentifier, forIndexPath: indexPath) as! CalendarHeaderView
view.titleLabel.text = "Day (indexPath.item + 1)"
return view
}
Hi
Thanks for this project which is very useful. However I would have a question regarding the handling of the vertical "Hour " as I don't undestand where it is managed . I tried to chnage the number of hours per day with no effect. From where it is dequeued ?
Hope it's clear :)
extension CalendarViewController: SapporoDelegate {
func collectionView(collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, atIndexPath indexPath: NSIndexPath) -> UICollectionReusableView {
if kind == CalendarHeaderType.Day.rawValue {
let view = collectionView.dequeueReusableSupplementaryViewOfKind(kind, withReuseIdentifier: CalendarHeaderView.reuseIdentifier, forIndexPath: indexPath) as! CalendarHeaderView
view.titleLabel.text = "Day (indexPath.item + 1)"
return view
}
The text was updated successfully, but these errors were encountered: