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

Crash in taptocode/rearrange exercise #101

Closed
elitree opened this issue Mar 13, 2019 · 1 comment
Closed

Crash in taptocode/rearrange exercise #101

elitree opened this issue Mar 13, 2019 · 1 comment

Comments

@elitree
Copy link

elitree commented Mar 13, 2019

device: iPhone 6s, iOS 12.1.4

I'm not sure exactly how to reproduce, and unfortunately I've only seen it once, but I crashed today in one of the exercises during my first daily quiz. Unfortunately I didn't think at the time to grab a screenshot or call stack.

The problem itself asked the user to drag the tiles into the working area to complete an expression using the ternary operator to return a true value for a new constant if both existing variables were true (or something like that). The app froze when I dragged the equals sign into the working area (I think I had most of the other tiles in place already).

At first I didn't realize it had crashed, but when I returned to Xcode I saw it stopped on Unwrap/Activities/Practice/TapToCode/TapToCodeModel.swift line 67, "usedWords.insert(word, at: destinationIndexPath.item)". There was an out of bounds exception, I believe.

Sorry for the lack of information here. If I knew an easy way to return to this problem I'd give it a shot and see if I could reproduce. If you have any suggestions or want me to try anything, I'm happy to do so.

Thanks for writing this fantastic app!

-Eli

@twostraws
Copy link
Owner

I believe this is resolved now – thank you!

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