UIColor Additions

On 18/03/2010, in Development, Release, Source Code, iPhone, by Pelaez

Important Edit: Please redownload the file, as there were some important changes (that’s what happen when you don’t test it before :P )

Here are some small but useful additions to the UIColor class in UIKit.

Continue reading »

Tagged with:  

No “Slide to…” text

On 15/03/2010, in Release, Source Code, iPhone, by Pelaez

This is a small dylib I made the other day.

Turns out, you can edit the “Slide to Unlock” and “Slide to Answer” strings easily, but I didn’t find a way to get rid of the “Slide to view” that shows when a push notification arrives.

So I made this small Mobile Substrate extension that just doesn’t create that label.

Continue reading »

Tagged with:  

Improved Logging

On 25/10/2009, in Development, Source Code, Tips, by Pelaez

This is an improved logging technique I developed in the last couple of days. It’s not to debug an specific problem, but to get a general idea of where your bug is, and if there are no bugs, to know the stack of methods called.

It’s quite simple, but it does require some work to implement. If you have a big project, it could take some time to implement.

Continue reading »

Tagged with:  

Shake To…

On 15/10/2009, in Development, Source Code, Tips, iPhone, by Pelaez

This is a class I made to detect shakes. It’s really simple, you just create an object, initialize it, set a delegate, and it will send messages to the delegate when the movement change is significant, then your object can do whatever you want, like refreshing info or whatever.

Details:

  • Detects side shakes.
  • Has a mechanism to avoid sending multiple messages for one long shake.
  • Sensitivity can be edited easily.
  • It has it’s protocol, so you don’t have to add new methods to your receiver’s interface.
  • It uses #ifndef’s so it can be imported several times without causing errors for having the same class multiple times.
  • Only one can be working at the time (activating a new one will deactivate the previous working one).

Continue reading »

Tagged with:  

SBS Toggles Source Code

On 02/08/2009, in Source Code, Toolchain, iPhone, by Pelaez

Here’s the source code for my last two binary releases.

Source for the Lockdown Toggle:

http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif File: Lockdown Toggle Source (963B)
added: 03/08/2009

Source for the Time Widget:

http://blog.epelaez.net/wp-content/plugins/downloads-manager/img/icons/default.gif File: Time View Source (2.27KB)
added: 03/08/2009

Tagged with: