INCLUDE_DATA

Author Archives: Corey

iPhone OS 4 and Backgound Tasks or “Why We Don’t Have a Calendar API”

This has been on the burner for a while. With all of the iPhone OS 4 / iPad / iSlate hoopla, I figured I better get it out the door before it all becomes a moot point.
One of the most perplexing omissions in the current SDK has been the CalendarStore API. It seemingly goes hand-in-hand [...]

Development Links: Redux

This is an update to my previous post
Below is a list of my subscribed developer feeds along with a link to each home page.
At the end of the post you will also find an OPML file if you are so inclined
Enjoy!
First are the Aggregators:

[RSS] iPhoneFlow
[RSS] Planet Cocoa
[RSS] The MDN Big Blog

All development feeds:

[RSS] #iPhoneDev
[RSS] 47 [...]

Open Source iPhone: FTUtils or “Super Awesome Canned Animations for the iPhone”

Are you using this?
You should be.
FTUtils contains several classes that allow you to easily add semi-complex animations to your app, for “free”.
It’s a nice abstraction of Core Animation (which is a great abstraction of OpenGL + Quartz in it’s own right)
Check out the demo app to see what you can do.

Open Source iPhone: Resources 2

Another list of open source libraries:
http://boredzo.org/opensourcelinks/byauthor.html

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 come across an unexpected [...]

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 that [...]

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 with [...]

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 question and answer can [...]