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
Xcode 7.2, Swift 2.0. I added two UIViews (with custom classes CVCalendarView and CVCalendarMenuView) as well as required delegates to UIViewController in Storyboard. Here is my code inside the VC:
import UIKit
import CVCalendar
classViewController:UIViewController,CVCalendarMenuViewDelegate,CVCalendarViewDelegate{@IBOutlet weak varmenuView:CVCalendarMenuView!@IBOutlet weak varcalendarView:CVCalendarView!overridefunc viewDidLoad(){
super.viewDidLoad()}overridefunc viewDidLayoutSubviews(){
super.viewDidLayoutSubviews()
calendarView.commitCalendarViewUpdate()
menuView.commitMenuViewUpdate()}overridefunc didReceiveMemoryWarning(){
super.didReceiveMemoryWarning()// Dispose of any resources that can be recreated.}func presentationMode()->CalendarMode{returnCalendarMode.MonthView
}func firstWeekday()->Weekday{returnWeekday.Monday
}}
Problem is that Calendar View disappears. I don't see the view anymore when I run the project. Menu View works fine. It doesn't look like it is an Auto Layout problem. What can cause the issue?
The text was updated successfully, but these errors were encountered:
Xcode 7.2, Swift 2.0. I added two UIViews (with custom classes CVCalendarView and CVCalendarMenuView) as well as required delegates to UIViewController in Storyboard. Here is my code inside the VC:
Problem is that Calendar View disappears. I don't see the view anymore when I run the project. Menu View works fine. It doesn't look like it is an Auto Layout problem. What can cause the issue?
The text was updated successfully, but these errors were encountered: