Re: Carbon vs Cocoa
Re: Carbon vs Cocoa
- Subject: Re: Carbon vs Cocoa
- From: email@hidden
- Date: Wed, 02 Oct 2002 23:13:41 +0000
I'm aware of all this.
The only thing I wish to add is that FSRefs appear to work
correctly regardless of filesystem.
Perhaps a subclass or category of NSString could be written
which uses an FSRef internally which is automatically
converted to a string whenever it is treated as a string (editing
or reading it). Sounds like a lot of work though |-\
I tried doing something similar in Java to fix File.class but that
was also a pain in the ass which in the end didn't work since
Java doesn't allow class extentions and I would end up
begging all Java developers to use my subclass which wouldn't
ever happen.
Sigh.
>
Using FSRefs is unacceptable for a lot of things. (Save and
Revert is
>
ok though) since on UFS volumes they are not valid between
>
applications or application launches so they can't be
communicated to
>
eachother. However, if you convert the FSRef to a POSIX
path or an
>
Alias then pass it and convert it back to FSRef, all is well. So
>
ignore everything I just said in this email since it's completely
>
moot but I am too lazy to delete this message.
>
>
Ack, at 10/2/02, email@hidden said:
_______________________________________________
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.