Re: iChat Files
Re: iChat Files
- Subject: Re: iChat Files
- From: Daniel Jalkut <email@hidden>
- Date: Thu, 16 Jan 2003 09:48:55 -0800
class-dump is a tool for analyzing objective C binaries and spitting
out the (probable) class declarations for all the classes defined in
that file. Doing this to InstantMessaging yields the following class
declaration, which implies that you might able to grab just the
"NSAttributedString" out of the archived object. Or, you might just
link against the private framework and call -text on it.
@interface InstantMessage:NSObject <NSCoding>
{
Presentity *_sender;
NSDate *_time;
NSAttributedString *_text;
NSColor *_bgColor;
IncomingFile *_file;
int _flags;
}
+ fromMeOn
Service:fp12 withText:fp16 outgoingFile:fp20 flags:(int)fp24;
- initWithSender:fp12 time:fp16 text:fp20 incomingFile:fp24
flags:(int)fp28;
- initWithSender:fp12 time:fp16 string:fp20 incomingFile:fp24
flags:(int)fp28;
- initWithCoder:fp12;
- (void)encodeWithCoder:fp12;
- (void)dealloc;
- description;
- sender;
- (char)fromMe;
- time;
- text;
- (void)setText:fp12;
- displayText_showingName:(char)fp12 markIfEmpty:(char)fp16;
- backgroundColor;
- (void)setBackgroundColor:fp12;
- incomingFile;
- outgoingFile;
- (int)flags;
- (char)finished;
- (char)isEmpty;
- (char)isEmote;
@end
On Thursday, January 16, 2003, at 08:03 AM, mw wrote:
On 1/16/03 10:22 AM, "David Remahl" <email@hidden> wrote:
That would be interesting (to be able to see the Instant Message
class
that
you speak of). Perhaps there are headers files or something that go
along
with iChat that are viewable to us? Or maybe there is some
underground
website dedicated to cracking iChat files ;-).
Anybody else have ideas on this, or maybe where the information is
stored
online?
Thanks,
Mw
There is a InstantMessage.framework which contains all that you're
looking for...However, it is not as simple as to link to this
framework
and unarchive the chat files. iChat requires some setup to be made
first. Which is not documented...
Play with class-dump. Use every trick in the book.
/ Regards, David
I found the framework you are speaking of (under in infamous
PrivateFrameworks folder, bum bum bum!), but there are no headers or
anything in there. Just every image that I have ever seen used in
iChat, the
iChat Agent, and then the compiled framework binary. What is a
class-dump? I
have never heard of that before. If it involves reading hexadecimal
numbers,
well, I have never really been good at that :-).
This is going to be a very scary endeavor, trying to use a private
Apple
framework. Hell, it's hard enough using WebCore which is actually
intended
to be public! :-D
Anyway, any information on class dumping and other methods of reading
this
kind of stuff would be most appreciated.
Thanks,
Mw
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.