Category Archive: What I Just Learned

Oct 19

Oh, Google just turned my iPod touch into a free wifi phone

photo

Today I noticed that Google turned my iPod touch into a free wifi phone. That’s nice of them. To turn your iOS device into a free wifi phone. Simply create a Google Voice #, and install the Google Voice and Google Hangouts apps on your device. You’ll be able to send and receive text messages …

Continue reading »

Oct 29

IOS 6 app store crash on your iPod touch 4? Restore.

For weeks the app store has crashed constantly on my iPod Touch 4th gen after the over-the-air IOS 6 update. Restoring the iTouch to a fresh install of 6.0 on iTunes fixed the problem and now the app store works better, not perfect, but better. Symptoms: I would search for something, and swiping left or …

Continue reading »

Oct 27

IOS reminds me of IE

Developing for IOS is exactly like developing for IE. First, you knock the easy stuff out that *just works* simply without massive confusion. In browser land that means do your work in chrome or firefox first, whereas in IOS you basically do everything except auto-rotation first. Then, for the last step, you spend as much …

Continue reading »

Sep 27

Making objective-c blocks synchronous

Many IOS libraries require you to do things asynchronously. Some of the better libraries provide both asynchronous and synchronous models to work with, but some do not. IOS’ ALAssetLibrary is a good example of a library providing only asynchronous processing. The ALAssetLibrary allows you to fetch images, videos, and the like from a user’s camera …

Continue reading »

Aug 15

TortoiseSVN not importing some files? Fix your permissions.

If TortoiseSVN (or SVN in general) seems to be skipping over some files when importing a project, there are a couple of causes to be careful of. First, make sure your permissions are set correctly, I just do the following in a dos box (after installing cygwin, of course..) in my project folder before import: …

Continue reading »

Aug 12

Beware zombies w/ ARC.

If you’re using Automatic Reference Counting in your IOS project, make sure to turn NSZombieEnabled OFF. If you don’t, parent object deallocation will never deallocate child objects. In our case, we had a project that was more than a year old, that we recently migrated to ARC. Our project targets are configured as follows: iPad …

Continue reading »

Mar 19

WIJL: IOS Memory Management Part 2

A few months ago, I posted an entry about some lessons learned in IOS Memory Management. In that entry (WIJL: IOS Memory Management), I covered a bunch of little objective-c memory management gotchas that helped us squash a few major memory leak bugs in TumbleOn. In the past few months, we’ve done some more work …

Continue reading »

Jan 20

WIJL: IOS Memory Management

My buddy Adam and I just emerged from a 3 evening/late-night binge of what I can only describe as hell. We were trying to fix memory problems with TumbleOn. We learned a bit on the way, and the most painful part of it all was that learning each bullet point below took more than average …

Continue reading »