Hook

Their other posts in the index, biggest breakout first.
Stitch incoming... Breaking: iPhone alarm isn't a wheel it's just a really long list. It's not circular. Oh, it's not circular. Attempting to code an infinite alarm wheel. There is one, two. If you're at six, you're scrolling, you're scrolling. Oh, we're at 12. The next item in the list should be one. And we start back here. I'm not gonna be convinced until I see the code. But you're the one that makes the code. Ha ha ha. I literally don't understand how you would do this. A few moments later. It's actually not working. Hold on. There's some weird stuff going on here. I know that's broken for sure. Yeah, it's done. One, two, three, four, five, six, seven, eight, nine, 10, 11, 12. You can scroll forever? So the solution was you don't actually need to make a list. You have to make a viewport. You don't even store all 12 numbers. We're only storing six numbers here because these are the six numbers that are being shown initially on the screen. So when I press up, we just change what those six numbers are. And this will just keep going infinitely. Okay, yeah. The real question is why did the Apple engineer not do that? Well, that's a question for the Apple engineer. Ha ha ha.