Skip to content

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

License

Notifications You must be signed in to change notification settings

ZevEisenberg/ScrollSnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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