Skip to content

ZevEisenberg/ScrollSnake

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

ScrollSnake

What if scroll bars on the iPhone X worked like the game “Snake”?

This very silly thing is a response to this Tweet by Vojta Stavik.

Screen recording of the iPhone X simulator with the sensor bar ("notch") on the right. As a table view scrolls, the scroll bar bends and contorts itself around the sensor bar. It kind of looks like a game of Snake.

Note: this project is hardcoded to the screen dimensions and sensor housing size of iPhone X/Xs/11 Pro. To support any other devices, the specific sizes in viewDidLayoutSubviews would need to be adjusted.

About

What if scroll bars on the iPhone X worked like the game “Snake”?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages