/dev/random

Reality has a liberal bias

/dev/random random header image

Getting the title of a Web View in Cocoa Touch

December 12th, 2008 · Comments Off · Programming, iPhone

In an application I’m working on, I display a UIWebView with a navigation bar. I wanted to display the title of the web page in the navigation bar when I load a page, but there doesn’t appear to be any obvious way to do it.
There’s actually a very easy way to get the title (or [...]

[Read more →]

Tags:

Introducing SlimFeeder 0.1

June 3rd, 2008 · Comments Off · Macintosh, Programming

I’ve released SlimFeeder 0.1, a simple open source native Cocoa client for FriendFeed. With SlimFeeder you can view your friends, your own items, and the public timeline.
Download SlimFeeder here or download the source here.

[Read more →]

Tags:·

Native Cocoa app for FriendFeed

June 2nd, 2008 · Comments Off · Programming

Over the weekend I finally got a chance to work on a decent sample program for my Cocoa FriendFeed class, which I hope to release some time this week.
Uploaded with plasq’s Skitch!

[Read more →]

Tags:·

More FriendFeed Stuff

April 23rd, 2008 · Comments Off · Programming

I’ve implemented posting in my Cocoa FriendFeed class, and I ended up rewriting the fetch methods to use a NSURLConnection rather than PubSub. I’m now using a temporary PSFeed object to parse the received data rather than maintaining PSFeed objects for all requested feeds. I could probably use a NSXMLDocument, but PSFeed seems cleaner.
Here’s [...]

[Read more →]

Tags:·

FriendFeed API

April 22nd, 2008 · Comments Off · Programming, Web

I’ve been playing with the FriendFeed API in Objective C, although I don’t have anything ready for public consumption yet.
Since the fetch methods basically work like RSS feeds, they can be handled easily using PubSub. Most of the code I had to write was to decode the entries returned into something more useful. The methods [...]

[Read more →]

Tags:·