It wasn’t just the useless or obsolete ones I missed, either…
Note: this may or may not count as this week’s blog post.
It wasn’t just the useless or obsolete ones I missed, either…
Note: this may or may not count as this week’s blog post.
Why did I miss last week’s post? To test this!
A few posts back I suggested the use of a category’s +load
method as a way to safely swizzle methods in a plugin. What do you do, though, if the same category is going to be loaded twice?
The established behavior of categories, of course is that the last one loaded “wins”.
The behavior of classes, however, is that the first one loaded wins.
That is, if a bundle defines a class with the same name as an existing class, it is not loaded. [bundle principalClass]
returns the existing…
For the last few years, I’ve been using a great little Safari plugin called “Sogudi” (“Safari, Sogudi”…get it?). Sogudi allows for keyword searching: you type something like “wiki Safari” and it goes to the Wikipedia page for Safari. This is something Firefox has had for a while, but Safari (and its lack of plugin support) really needed.
Sogudi was great, but I was disappointed to find that it no longer worked with the Safari 4 beta. Even worse, the author had stopped development, having unrecoverably lost the source code. (!) It only took a few weeks before I was fed…