How to bring back Xcode 4′s Welcome screen

If you’ve turned off Xcode 4′s welcome screen, there’s two ways to turn it back on.

Open Xcode. Choose Welcome to Xcode from the Window menu. Check Show this window when Xcode launches.

Alternatively, you can turn it back on from Terminal with this command: defaults delete com.apple.dt.Xcode XCShowWelcomeWindow

Posted in Technology | Tagged | Comments Off

You can annotate your sources for better clang results. Best use is probably to specify that certain parameters to your functions can’t be nil/null. (via Peter Hosey on Twitter.)

Posted on by Steven Fisher | Comments Off

From Stack Overflow, written by Quinn Taylor (a software engineer at Apple): How to use svnversion from Xcode. I was doing something more complex; this is better.

Posted on by Steven Fisher | Comments Off

How to detect iOS hardware, simulator, or Mac from Greg Parker: TargetConditionals.h. (I’ve used this chart several times since it was posted, but I haven’t linked to it before.)

Posted on by Steven Fisher | Comments Off

Jeff LaMarche provides several animation curve functions. Cool math, but probably not necessary for most apps.

Posted on by Steven Fisher | Comments Off

Flash video gets dramatically more efficient

I’m especially glad the vast conspiracy keeping Flash down by falsely claiming video decoding was horribly inefficient didn’t prevent Adobe from fixing that inefficiency. Haters gonna hate, yo. You gotta rise above.

John Nack on Adobe : Flash video gets dramatically more efficient, via Daring Fireball.

Posted in Technology | Tagged , , | Comments Off

Make your iOS apps accessible.

Matt Gemmell on accessibility for iPhone and iPad apps.

Implementing accessibility support for iOS applications is easy and fast. You can do most of it in Interface Builder, and the rest very rapidly in code – without requiring any structural changes to your project. It’s the right thing to do, and I truly hope you’ll consider spend the extra couple of hours to make your app accessible.

I added VoiceOver support to my iPhone application a few months ago. It bears repeating how incredibly easy it is to make your application better if not perfect. I rely on custom table cells more than most, so I had to make more code changes. It’s simple, and there’s no good excuse for not doing it.

Given the nature of this application, I’m not sure it’ll ever be needed. But it took less than two hours, and if anyone ever needs it they’ll be happy I made the effort.

Posted in Technology | Tagged , | Comments Off

Flux adjusts your monitor’s color temperature

Install Flux right now.

What does it do? Well, at sunset it adjusts the color temperature of your monitor to make it warmer and less glaring. At sunrise, it adjusts it back.

I installed it yesterday afternoon; yesterday and today at sunset, it automatically adjusted my monitor’s color temperature. The difference on the eyes is nothing short of amazing. And if you need to do some accurate color work, it has a menu that lets you turn it off for an hour.

Posted in Technology | Tagged | Comments Off

Dave Dribin (now of Apple): Fun with C99 Syntax. From May 2010, but I missed it then: C99 offers a better syntax than NSMakeRect.

Posted on by Steven Fisher | Comments Off

Xcode tip: Renaming files shared by projects

What if you want to rename a file that’s used in multiple Xcode projects? Well, previously I’d rename the file in one project, then open each project in series and correct broken references. But I discovered today that this is unnecessary. If you open all of your projects first, Xcode will fix the references across all of your open projects as you rename files in any of the projects.

For all I know, this has always been a feature of Xcode. But I’ve never noticed it before. So for this stunning display of common sense: Well done, Apple!

Posted in Technology | Tagged , , , , , | Comments Off