It’s all about the ratings…
I began Pepper to create an app that would let me find my favorite videos fast. Pepper does this is by letting you add a rating to each video file or by creating playlists.
Recently I’ve begun running into a few headaches.
Design Decisions
Pepper isn’t a Finder replacement. As such, there is no support to browse the [...]
Move to Trash
I’ve been working on a “Move to Trash” action. I began with the Low-Level File Management document, which in a one-liner tells you to use NSWorkspace performFileOperation and the NSWorkspaceRecycleOperation.
This seemed like great news and I quickly implemented the method. The test file was located on a network volume, and each time I tried [...]
Useful sample code from Apple
A lot of stuff was updated for Leopard, including some much needed example code. In particular I found the following two very useful…
SourceView:
This example demonstrates how to replicate the look and feel of Finder / Mail / iTunes “Source View” (left-handed column). If you ever tried to replicate this in Tiger, you will appreciate having [...]
Xcode Developer Documentation?
Is it just me, or is Xcode’s Documentation tool annoying.
Someone make me an improved documentation tool, accessible via spotlight, quicksilver, textmate, etc.
I want bookmarks, tagging, history. I want to be able to find more with less mouse. It’d be kinda cool if cocoadev wiki results were available in the same search results too.
And while we’re [...]
IKImageBrowserView animation retain issue
I almost called it a bug, but I’m not saavy enough to completely determine whether it’s due to coder error or something in ImageKit. So I’m calling it human error till I’m told otherwise.
I have two views which I switch between, managed by a NSViewController. These views (IKImageFlowView and IKImageBrowserView) both populate from the same [...]
One developer’s App store comments…
As seen on IRC:
A: Holy crap.
A: If you aren’t already selling an iPhone app,
you are making a huge mistake.
B: rakin’ it in?
A: Yes.
A: For perspective:
A: 2 days of the App Store > 5 months of
one of my desktop apps.
Looking behind the curtain with ImageKit
I’ve been using IKImageBrowserView to display thumbnails (generated by Quicklook).
The upside of this approach is that it’s easy to implement. The downside is that when you change the content of the IKImageBrowserView, the existing thumbnails are discarded and new ones created.
This behaviour is the same as what happens when you use the icon view in [...]
Scripting Sparkle Appcasts with Feeder and RubyCocoa
This article will demonstrate how easy it is to use RubyCocoa and the ScriptingBridge to talk to scriptable applications. The example I’ve used is using the Feeder (RSS Feed Creator) application to create (and optionally publish) updates to a Sparkle Appcast Feed.
More xcode build scripting
Tinkered around with the appcast code from here and no doubt made it messier than the original. I’ve added two new files to xcode-build-scripts repository, appcast.rb and updateAppcastVersionInfo.rb. I’ve also updated postBuild.sh to make use of it.
Next step to add a push script to upload the appcast and zipfile to my host.
To Capistrano / Vlad [...]
Script your Sparkle with Ruby
Chris Bailey has written some ruby code to automate appcast creation:
Creating Sparkle Appcast via Rake Tasks
I’ll be tinkering with his script to do the same from Xcode.