Skip to content
New issue

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

Problem with init #56

Open
rsacchi opened this issue Mar 6, 2015 · 1 comment
Open

Problem with init #56

rsacchi opened this issue Mar 6, 2015 · 1 comment

Comments

@rsacchi
Copy link

rsacchi commented Mar 6, 2015

All init methods call [super initWithCollectionViewLayout:...]
This is a big problem. When the view is loaded from Storyboard, "initWithCoder" is called and must call "[super initWithCoder]". The way it is done now, the view controller loses necessary information to build the layout.

@jmig
Copy link
Contributor

jmig commented Mar 16, 2015

It should be an easy fix then, all you have to do after the super initWithCoder is to instantiate the custom layout and then call the simpleCalendarCommonInit method. Would you like to submit a PR?

@jmig jmig mentioned this issue Aug 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants