Resource fork

A resource fork is a fork of a file on Apple's macOS operating system that is used to store structured data. It is one of the two forks of a file, along with the data fork, which stores data that the operating system treats as unstructured.

A resource fork stores information in a specific form, containing details such as icon bitmaps, the shapes of windows, definitions of menus and their contents, and application code (machine code). For example, a word processing file might store its text in the data fork, while storing any embedded images in the same file's resource fork. The resource fork is used mostly by executables, but any file can have a resource fork.

In a 1986 technical note, Apple strongly recommended that developers do not put general data into the resource fork of a file. According to Apple, there are parts of the system software that rely on resource forks having only valid Resource Manager information in them.[1]

The resource fork was conceived and implemented by Apple programmer Bruce Horn.

  1. ^ "Technical Note FL19: Data in Resource Fork: Don't do It".

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search