Get Updates By E-mail 

Article Written By:
Johann Dowa

Example Code: A Pull-To-Refresh Control Providing A Breakout Game On Pulls Using SpriteKit

  •  
  •  
  •  
  •  
  •  

I’ve mentioned some interesting pull-to-refresh components in the past such as this pull-to-refresh control that plays pong, and another pull-to-refresh component with a functional stargate.

Here’s an open source pull-to-refresh example component allowing the user to play a BreakOut like game while pulling called BreakOutToRefresh from Dominik Hauser.

BreakOutToRefresh uses SpriteKit for the game, and provides a nice example on how to create advanced animations and games in a pull-to-refresh view.

Here’s an animation from the readme showing BreakOutToRefresh in action:

BreakOutToRefresh

You can find BreakOutToRefresh on Github here.

A nice example showing of a game in pull-to-refresh.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments