Closed phatmann closed 7 years ago
Is there more coming?
Oh... looks like the code is OK?
That's it! The user has to force unwrap the page instance optionals. No changes in library code needed.
Ah, a better fix is to annotate your initializers to indicate they cannot fail.
Change your initializers to have nonnull annotation. For example, - (nonnull instancetype)initWithContents:...
I will modify the PR accordingly.
Don't merge this yet. For some reason the initializers are still marked as failable. Debugging now.
All good, merge away!
👍
Fixes issue #150