Skip to main content

Tech

LTHPasscodeViewController 3.0.0

3 min read

You can find it here, or you can just pod update.

When I created the library, I didn't think of making it a cocoapod and all the #define macros and the constants were intended to ease the init: go in the library, customize it once, never think about it again, but after I turned it into a cocoapod, I never thought about the fact that the file gets overridden with every update until recently, when someone pointed it out to me.

3.0.0 comes with a couple of major changes and a few minor ones:

Continue reading →

Free and Pro versions

3 min read

For my first 2 games I had a project for the Pro version and another project for the Free version, and, as everyone knows, that's a huge pain to maintain.

So, at first I created this:

#define kFreeVersion ([[[NSBundle mainBundle] infoDictionary]\
[@"CFBundleIdentifier"] isEqualToString:@"com.rolandleth.appnamefree"])

and added a warning in the App Delegate:

#warning Reminder: Don't forget to check this on every release!
if (kFreeVersion) {
    // do stuff for the free version
}
Continue reading →

MM / YYYY UIPickerView

2 min read

Simple to use UIPickerView for those pesky Credit Card expiration dates, or any other mm-yyyy need you might have.

Comes with a slew of delegate methods and access to the currently selected month and year:

Continue reading →

Sennheiser IE 80

45 sec read

From the build quality, to the bass, clarity of the sound, and noise canceling, these phones are amazing.

I have at home a pair of HD 600 (plugged only into a FiiO E10, but still) and I was blown away by the IE 80 + E7 combo. If it wasn't for their noise canceling, I would have ditched the HD 600 in their favor (at least until I get a new DAC); alas, I need to hear what happens around me while at home.

If you're in doubt about these ... go buy them, they're awesome. Oh, and if you're a bass head? They got you covered as well.

Unsubscribe

25 sec read

I have encountered lately so many services that do not include an unsubscribe link in their newsletter, it makes me wonder if this is a new thing. If you send out newsletters or "important messages" to a mailing list, but do not include an unsubscribe link, you have zero respect for your users.

I'm honestly thinking of creating a section in here to keep track of all these guys, just to let people know who to avoid.

App Store reviews

Does Exactly What It Says

This app works exactly as it says it does. After the most recent update I adjusted the sensitivity conrol and it works perfectly!

His rating? 2 stars.

Debuggex.com

45 sec read

This has to be one of the best online regex tools. If you even rarely work with regular expressions, you have to at least have a look at this. The visualizer and the debugger are amazing.

If you're serious about regex, you can go ahead and create an account for extra features like being able to save more than 2 unit tests, public expressions, unit testing and more.

Here is a quick tutorial from their team; it's a bit outdated, but it just differs visually, the functionality is basically the same. You can easily make an idea of how it works by watching it.