Author Archives: Corey

Open Source iPhone: Resources

Great Resource, tagged and organized: http://cocoaheads.byu.edu/resources/open-source Originally suggested in this Stackoverflow question.

Obscure iPhone: viewDidLoad and loadNibNamed

Quick tip. Sometimes, instead of traditional nib loading, you may want to use the following method: [[NSBundle mainBundle] loadNibNamed:@”MyViewController” owner:self options:options]; For instance, if you want to provide a runtime replacement for proxy object in your nib (see UINibExternalObjects). If you do this and you also need to perform setup after the nib loads, you’ll [...]

We Finally Got It! (In App Purchases)

We now have in app purchases for free apps (read: trial ware). It’s not quite perfect, as I am sure most developers would like to allow full functionality to users for a timed duration. (Maybe this will be allowed?) From a consumer side, I hope this isn’t abused to much. I have a strong feeling [...]

What’s Up?

Over the past few days I have been obsessed. A song has been playing in my head and I just couldn’t (can’t) get it out. Maybe it is just my 30′s seeping in or some facebook induced reminiscence. Whatever it is, I’ve had 4 Non Blondes and Linda Perry’s voice performing hourly in my ear [...]

Make it easier! – Dterm

I am new to git and shamefully incompetent with the Terminal. However, I am working on it. One of the tools I came across since I began using git is DTerm. It is essentially a free floating terminal that you bring up with a keystroke. The killer feature (for me) is once you invoke it [...]

Quick Code – AppleScript from Cocoa

This is just something I picked up over the weekend to interface with Terminal.app via AppleScript: NSString *s = [NSString stringWithFormat:@"tell application \"Terminal\" to do script \"cd %@\"", folderPath]; NSAppleScript *as = [[NSAppleScript alloc] initWithSource: s]; [as executeAndReturnError:nil]; The intent is pretty easy to pick up (Also, please feel free to handle the error). The [...]

Understanding the Objective-C Runtime

The runtime has been a bit of a mystery to me. To be sure, I have yet to explore some of the more dynamic aspects of Objective-C/Cocoa in my applications. In fact, as many know, you can move along quite happily though your Cocoa/iPhone programming without directly daling with it. Others might not realize what’s [...]

Open Source iPhone – Glossy Buttons

The buttons in the iPhone SDK suck. There, I said it. Almost everything on the iPhone round, glossy and “3Dish”. Except the standard RoundRect buttons included in UIKit. Of course we can go off and use one of many drawing apps to crank out some nice glossy buttons, but there a few problems with this [...]

Taking the Comcast Plunge

I just moved back to Philadelphia and needed to get some internet. I wanted FIOS, but unfortunately it isn’t yet available in my neighborhood (Comcast just lost the fight to keep FIOS out of Philadelphia). Until then, I settled on Comcast. The tech arrived promptly on last Monday morning. He was a new guy, but [...]

[corey move:philly] complete

It’s been a long time and TFJL has been neglected. No more! The Mrs. and I are finally settled down in a quite nook of Bella Vista in Philly. Of course life doesn’t begin anew until internet is connected which, with a few hitches, was completed on Monday. Now to think of something to complain [...]