Archive for February 17th, 2003

Screwed?

Monday, February 17th, 2003

In anticipation of the iTunes for Windows launch I brought my iPod into work (W2K systems). After installing iTunes on the PeeCee I connected my iPod via my USB 2.0 cable. The system recognized the iPod but iTunes said I would have to install the iPod software before it would deal with the iPod. I don't know if MacDrive5 had anything to do with that. After I unplugged the iPod I noticed that the Apple logo was the only thing on its display and the HD was spinning. WTF!!!! It would not boot! Bloody Hell! Damn PC!!!

I had thought it odd that early that day I saw that my main menu had reverted back to the default. I began to think that something bad had begun earlier and that what I was seeing now was just a continuation. I connected it to a Mac in our design department and after a number of attempts to get it to sleep I was successful.

To make a long story short, I had to format the Pod via disk utility and then restore it via the iPod utility. I now have the 2.1 software on the Pod and it is behaving itself. I wonder if my Jaguar (10.2.8) install on the Pod had anything to do with it.

I must say that I am amazed at how easy it is to get all of my music back on the Pod. Very cool.

Having learned no lessons from this I am now going to install a newer version of Mac OS X onto my Pod. :-)

(FYI – I call my iPod “Pod” cause I am too lazy to type the “i”)

Cocoa for PowerPlant Users: Part 1

Monday, February 17th, 2003

I've been using PowerPlant since Code Warrior DR1, and recently started to use Cocoa in a production environment. I scoured the 'Net for some resource that would quickly give a leg up to people like me, coming from a C++/PowerPlant background, but gave up after a few hours of googling. So now that I've done some of it “the hard way”, I thought I would share my experience to save others some of the pain I experienced.

Going Beyond Currency Converter I'm not going to re-hash everything you learn by doing Apple's

Currency Converter tutorial. One thing that isn't mentioned is that once you have used Interface Builder to create your header files and have started to modify those header files, the workflow for adding new actions or outlets changes. Namely, instead of creating the outlet or action in Interface Builder, you add them yourself manually to the header file, and then use Interface Builder's menu:

<b>
Classes&rArr;Read <em><your header file name></em>
</b>
This will cause Interface Builder to read in the header file and add the actions and outputs that you've typed in.
Finding this out was a bit painful, as it involved wiping out my manual changes to my header files a few times. :-P

How to move Camino bookmarks to Safari

Monday, February 17th, 2003

Camino is a Mozilla-based browser that uses the native Mac OS X graphics API instead of Mozilla's cross-platform stuff. Safari is Apple's KHTML-based web browser. Unfortunately there is no obvious way to convert Camino bookmarks to Safari bookmarks.
1. In Camino, select Camino->Export Bookmarks…, saving the bookmarks (e.g. as ~/Desktop/camino-bookmarks.html).
2. In Internet Explorer, select Favorites->Organize Favorites, (which despite being a hierarchical menu item actually does something on its own) opening the Favorites window
3. With the Favorites window in front, select File->Import Favorites…
4. Select the camino bookmarks file
5. Quit Internet Explorer
6. Make sure Safari is not running
7. In Terminal, type this all in one line:
defaults write com.apple.Safari IEFavoritesWereImported 0
8. Run Safari You will now have a bookmark folder called “Imported IE Favorites”, inside of which are all your Camino bookmarks. Hurrah!