Re: Write a prefs file
Re: Write a prefs file
- Subject: Re: Write a prefs file
- From: JollyRoger <email@hidden>
- Date: Wed, 29 May 2002 22:57:06 -0500
Come on. Don't follow blindly - learn about the subject!
The blurb you quoted probably came from the same individual who wrote the
infamous tech note 2034 (we all know how ludicrous that was
<
http://www.theregister.co.uk/content/39/23113.html>).
Notice that the individual who wrote the blurb didn't give any valid reasons
for this "change in policy".
The fact is many current Mac OS X apps (even system apps that come with Mac
OS X) contain resources in the resource fork of a resource file within the
bundle.
Don't believe me? Take a look at iTunes, IE, QuickTime Player, Sherlock,
Terminal, the list goes on. Each of these apps contain resource files with
entire collections of resources in them.
Do you really expect professional developers (even casual scripters) to
follow this change in policy when (A) there's no good reason to in the first
place and (B) Apple doesn't follow the "policy" itself?
Think about it.
JR
On 5/29/2002 9:07 PM, "Ric Phillips" <email@hidden> wrote:
>
Mmmm, the source?
>
....and I quote:
>
>
"Before Mac OS X and Carbon, application resources were put in the resource
>
fork of the application executable. That policy has now changed. In Mac OS X
>
and for Carbon applications generally, resources should be put in the data
>
fork of a separate resource file, not the resource fork of the executable."
>
>
Page 170, "Inside Mac OS X - System Overview",
>
) 2000-2001 Apple Computer, Inc. (All rights reserved)
>
>
>> Although resource forks are a part of the HFS+ architecture, I thought the
>
>> recommendation was that resource forks are out, and should not be used any
>
>> more.
>
>
>
> Consider the source.
>
>
>
> HFS+ supports data forks just fine, even on Mac OS X. The only valid reason
>
> for not using resource forks is if you plan on placing the file on a
>
> non-HFS+ volume, such a UFS or NTFS...... Apple itself continues to use
>
> resource forks in LOTS of Mac OS X software. What's good enough for
>
> Apple
>
>
>
> JR
>
>
>
Ric Phillips
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.