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

Update SelectorViewController.swift #2062

Merged
merged 1 commit into from
Jul 29, 2020
Merged

Update SelectorViewController.swift #2062

merged 1 commit into from
Jul 29, 2020

Conversation

dneykov
Copy link
Contributor

@dneykov dneykov commented Jul 29, 2020

Make sure sections which are looped is SelectableSection so force unwrapping does not fail.

I have made a custom SelectorViewController in my project where I added additional section with SwitchRow to show hide additional options but it crashes because it tries to force unwrap my section as! SelectableSection<Row> but is not.

Make sure sections which are looped is SelectableSection<Row> so force unwrapping does not fail.
@mats-claassen mats-claassen merged commit c37e0c9 into xmartlabs:master Jul 29, 2020
@dneykov dneykov deleted the patch-1 branch July 29, 2020 12:55
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

Successfully merging this pull request may close these issues.

2 participants