Chapter 38 (UIKit Apprentice Version) - Strange Freezing Behavior

Hi,

I’m working through the most recent (UIKit Apprentice) version of the book. I’m in Chapter 38 (StoreSearch) at the end, and I have added both AnimationControllers to the project. After adding the animation for dismissing the Item Detail, I’m getting an intermittent app freeze up that appears to be associated with invoking the SlideOutAnimationController, but only when using the tap or sliding gesture in the region outside of the detail pop-up. The slide-out animation works fine if I tap on the close button. I am able to reproduce the behavior with the Simulator and with my connected iPhone 8. It appears that the deinit() method does not get called (print statement does not show up in the console), and after about 30 seconds, these messages show up in the console display:

2020-11-05 17:04:39.290637-0500 StoreSearch[2359:845792] [tcp] tcp_input [C1.1:3] flags=[R] seq=813211656, ack=0, win=0 state=LAST_ACK rcv_nxt=813211657, snd_una=115100283

2020-11-05 17:04:39.292203-0500 StoreSearch[2359:845792] [tcp] tcp_input [C1.1:3] flags=[R] seq=813211657, ack=0, win=0 state=LAST_ACK rcv_nxt=813211657, snd_una=115100283

2020-11-05 17:04:39.292922-0500 StoreSearch[2359:845792] [tcp] tcp_input [C1.1:3] flags=[R] seq=813211657, ack=0, win=0 state=CLOSED rcv_nxt=813211657, snd_una=115100283

2020-11-05 17:04:39.293410-0500 StoreSearch[2359:845792] [tcp] tcp_input [C1.1:3] flags=[R] seq=813211657, ack=0, win=0 state=CLOSED rcv_nxt=813211657, snd_una=115100283

The deinit() method does get called when using the close button.

Any suggestions?
Thanks!

Also, I loaded up everything from the Chapter 38 final project folder that comes with the book and ran that version of the project after a clean build. Same freezing behaviors as indicated above.

This topic was automatically closed after 166 days. New replies are no longer allowed.