Cesar Pinto Castillo

4pods

iOS-blur

iOS 7 blur look-a-like that blurs in real time.

License: WTFPL

  • Objective C

JCRGameController

I wanted to create a game using the new Game Controller support that came with iOS 7, but noticed quickly that there is no quick way of doing this.

I decided to write a class that made it easier for me to get started, and hopefully help you too!

I haven't really thought this through, I just wanted to have something done quickly so I could start on my awesome game :) Enjoy!

License: WTFPL

  • Objective C

JCRSlideCollectionViewCell

This is a subclass to UICollectionViewCell that supports to be dragged sideways to do certain actons. I designed it in such a way that you only need to subclass it and then use it as a normal CollectionViewCell.

If you want specific actions to happen when drag sideways you just set a Block for either right or left-swipe. Super comfy.

License: WTFPL

  • Objective C

NSDate+Countdown

A date is shown if there are more than 24 hours left. If there are less than 24 hours left a string will be returned, it will have the following style:

[hours]h [minutes]m [seconds]m

License: Custom

  • Swift