We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was looking through your sample application and when translating the following code to Swift 3:
- (void)scroll; { static BOOL atTop = YES; TSQCalendarView *calendarView = (TSQCalendarView *)self.view; UITableView *tableView = calendarView.tableView; [tableView setContentOffset:CGPointMake(0.f, atTop ? 10000.f : 0.f) animated:YES]; atTop = !atTop; }
I get an error:
Value of type TSQCalendarView has no member tableView
In order to give access to the tableView in Swift, I have moved the declaration of the tableView property from TSQCalendarView.m to TSQCalendarView.h
Is this a reasonable option?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I was looking through your sample application and when translating the following code to Swift 3:
I get an error:
Value of type TSQCalendarView has no member tableView
In order to give access to the tableView in Swift, I have moved the declaration of the tableView property from TSQCalendarView.m to TSQCalendarView.h
Is this a reasonable option?
The text was updated successfully, but these errors were encountered: