May 9th, 2004

The Holy Grail?

Need to know what methods and classes exist in a private framework (or any framework for that matter)?

Class Dump

Run it from the terminal with a framework as an argument and it spits everything out. This might make figuring out the CALCore framework a tad bit easier ;)

Posted in Geek / Apple Stuff No Comments »

iCal Private Framework

Seems its possible to use the private ical framework in System/Library/PrivateFrameworks/CALCore.framework to access ical and do stuff with it.

This post on the Cocoa mailing list archives has info about it and some code.

So far ive managed to add to it and can get single event info. The event date structure is giving me headaches though, cant figure out how to access the info in it, but ill work it out or die trying.

e.g.

doing somthing like:

[anEvent summary];

returns the event summary info, and this works for uid as well, but date doesnt work. If i output the entire event object:

NSLog(“%@”, anEvent);

I can see the following fields in an event object:

DTEND, DTSTAMP, DTSTART, SEQUENCE, SUMMARY, UID

Like i said summary and uid are easy to get, but the DT items (which relate to the event date) are harder to get. It looks like each of them is a mutable dictionary, but hrmmm, im not sure.

So yeah, thats where im at.

Posted in Geek / Apple Stuff No Comments »

What NOT to say in a video store

Setting the scene:
9:30ish at night, Brett and Melanie go to the video store to hire out some dvds. We are the only two people there along with the two people that work there.

Melanie says in a normal tone voice:
“Brett, lets get this DVD, it was good and you can copy it for me”

Brett almost dies – waiting for the feds to bust through the door and slap a $50,000 fine and a few years imprisonment on him.

Copying DVDS is bad… mmmmkay :|

Posted in The One No Comments »