Recently, my team had to shift focus in development slightly. Our changes required us to go back to the latest QA verified build in our source control repository (in our case Subversion). We started working off of this version to ensure that any new stuff was branching off from a verified source. There are some [...]
There are a few ways to send email from a Cocoa app. A few frameworks let you directly send an email without the user ever having to do anything. In my development, I wanted to open Mail with a pre-constructed message and let the user edit the email in Mail before sending it. I had [...]
At iLovePhotos, we’ve been working with our Mac desktop application for a long time. Internally, we use Subversion as our version control system. One of version control’s best features is merging. If I am working on a file, and over in Hawaii, Chad is also working on that same file, I can make my changes, [...]
For the last week I’ve been hanging out in Honolulu, Hawaii working on a sweet new startup called iLovePhotos. We are creating a great photo tagging Mac app and a great companion website. Over at TechCrunch’s Elevator Pitches, my boss Lorenz has detailed what we do. It’s a great summary of our product, and I [...]
I’ve made my initial list of sessions I want to attend at Apple’s WWDC this June. I’ve chosen the obvious ones like the keynotes and state of the unions, and I’ve emphasized on some graphics sessions and some iPhone related sessions. If anyone else is going to WWDC, please comment on what sessions you plan [...]
For this Cocoa Code Snippet, I’d like to post a little clarification that caused me some grief a day ago. I was working on a Core Animation enabled view (in a Cocoa Touch project but this post applies to normal Cocoa as well). This view was animating after I set its frame using the following [...]
During my Comp Sci lecture yesterday, my professor mentioned a convention he follows that he learned over time in his development with Java (this tip applies to almost all languages though). You might be familiar with the usual if statement as seen below:
if(tester == null) {
// something
}
If you’ve programmed for any amount [...]
The philosophy behind my Cocoa Code Snippets has been to post little quick tips on Cocoa routines and methods and such that have caused me to do some thinking/researching/tearing my hair out. This day’s tip came up in my development of the new Todos. With an NSSearchField you might find it difficult to find out [...]
Reading through my overflowing RSS feed in NetNewsWire, I came across a relatively old article by Andy Finnell on his blog Safe From Losing Fight. The article, entitled How to implement a magic wand tool, goes into thorough discussion about the algorithm behind the magic wand tool. Andy then goes on to walk you through [...]
Continuing the Cocoa Code Snippet series, I want to put up a nice useful method I add to most of my NSWindows. Consider making it a category. This bit of code will allow your windows to fade in and out nicely when they are closed. Before Leopard and Core Animation, you had to write your [...]
There's plenty more to read.