ResEdit

Last updated

ResEdit
Developer(s) Apple Computer
Final release
2.1.3 / August 1994
Operating system Classic Mac OS
Type Software development tool
License Proprietary
Website Mac OS 8 and 9 Developer Documentation: ResEdit

ResEdit is a discontinued developer tool application for the Apple Macintosh, used to create and edit resources directly in the Mac's resource fork architecture. It was an alternative to tools such as REdit, [1] and the resource compiler Rez. For the average user, ResEdit was generally easier to use, because it used a graphical user interface. Although it had been intended to be a developer tool, power users often used it to edit icons, menus, and other elements of an application's GUI, customizing it to their own preferences.

Contents

Resources on the Macintosh could be of many different types, and in fact any arbitrary data could be turned into a resource. While the system defined many standard formats for particular kinds of resources (for example, an icon, or a window template), programmers were also free to define their own. ResEdit included support for editing many of the standard types and for creating arbitrary resources with any structure a programmer saw fit.

Patch a Relisys driver to Primax ResEditPatch.png
Patch a Relisys driver to Primax

ResEdit was one of the earliest examples of a GUI layout tool, an essential component for rapid application development. For example, the classic Mac OS defined a standard resource called a dialog template and a dialog items list (resource types 'DLOG' and 'DITL' respectively). In ResEdit, it was possible to simply create these types and add GUI elements to them in an almost WYSIWYG fashion, such that a user interface could be designed directly as it would appear to the end user of the application. Later, the application code could create a functional dialog box using the stored resource data which matches the appearance you lay out in ResEdit. When ResEdit first appeared in the mid-1980s, this was a revolutionary innovation, today it is commonplace for programmers. ResEdit includes standard editors for window templates (WIND), menus (MENU), dialog boxes, controls (CNTL), color palettes (clut and pltt), icons (ICON, cicn, ICN#), and various other standard types.

One of ResEdit's most powerful features (which first appeared with ResEdit version 2.0) is the ability to define arbitrary data structures as resources using a simple template building feature. Here, the programmer can simply add elemental data types to a list to define a template (itself stored as a resource of type TMPL). This template allows ResEdit to build a GUI editor on the fly that allows entry of data and package it into the structure defined in the template. It's a simple matter for a programmer to define a matching data structure in a chosen programming language, such as C, load the resource in a standard manner and access the data as the defined C type. ResEdit includes a number of predefined templates for many standard OS resources that do not require a graphical editor.

ResEdit was never upgraded to run natively on PowerPC-based Macintoshes after the migration from Motorola 68000 series, and not on Mac OS X. Apple now discourages the use of resource forks in new macOS applications, preferring the more portable NeXT-derived application bundles. A long-standing third-party commercial alternative named Resorcerer remains available, [2] and more recently there have been a number of attempts to build open-source macOS-native resource editors, including one called ResKnife. ResEdit will run in Mac OS X's Classic compatibility mode, but Classic is neither available on Intel Macintosh computers, nor in Mac OS X v10.5 or later. However, an Intel Mac can run ResEdit via an emulator such as SheepShaver or Basilisk II.

The last official version of ResEdit is 2.1.3, released in August 1994. Unofficial hacks released as ResEdit 2.1.4 and later exist, adding features such as a decompiler and the ability to edit data forks, but these are unsupported by Apple. [3]

See also

Related Research Articles

<span class="mw-page-title-main">History of the graphical user interface</span>

The history of the graphical user interface, understood as the use of graphic icons and a pointing device to control a computer, covers a five-decade span of incremental refinements, built on some constant core principles. Several vendors have created their own windowing systems based on independent code, but with basic elements in common that define the WIMP "window, icon, menu and pointing device" paradigm.

<span class="mw-page-title-main">TeachText</span> Text editor made by Apple Computer

The TeachText application is a simple text editor made by Apple Computer and included with System 7.1 and earlier. It was created by Apple programmer Bryan Stearns with later versions created by Stearns and Francis Stanbach. TeachText was one of the only applications included with System 7, leading to its frequent role as the application to open "ReadMe" files. It was named "TeachText" as a nod to this role in tutorials and other introductory materials.

Carbon was one of two primary C-based application programming interfaces (APIs) developed by Apple for the macOS operating system. Carbon provided a good degree of backward compatibility for programs that ran on Mac OS 8 and 9. Developers could use the Carbon APIs to port (“carbonize”) their “classic” Mac applications and software to the Mac OS X platform with little effort, compared to porting the app to the entirely different Cocoa system, which originated in OPENSTEP. With the release of macOS 10.15 Catalina, the Carbon API was officially discontinued and removed, leaving Cocoa as the sole primary API for developing macOS applications.

AppleScript is a scripting language created by Apple Inc. that facilitates automated control over scriptable Mac applications. First introduced in System 7, it is currently included in all versions of macOS as part of a package of system automation tools. The term "AppleScript" may refer to the language itself, to an individual script written in the language, or, informally, to the macOS Open Scripting Architecture that underlies the language.

A resource fork is a fork of a file on Apple's classic Mac OS 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. Resource fork capability has been carried over to the modern macOS for compatibility.

In computing, an icon is a pictogram or ideogram displayed on a computer screen in order to help the user navigate a computer system. The icon itself is a quickly comprehensible symbol of a software tool, function, or a data file, accessible on the system and is more like a traffic sign than a detailed illustration of the actual entity it represents. It can serve as an electronic hyperlink or file shortcut to access the program or data. The user can activate an icon using a mouse, pointer, finger, or voice commands. Their placement on the screen, also in relation to other icons, may provide further information to the user about their usage. In activating an icon, the user can move directly into and out of the identified function without knowing anything further about the location or requirements of the file or code.

<span class="mw-page-title-main">Text-based user interface</span> Type of interface based on outputting to or controlling a text display

In computing, text-based user interfaces (TUI), is a retronym describing a type of user interface (UI) common as an early form of human–computer interaction, before the advent of bitmapped displays and modern conventional graphical user interfaces (GUIs). Like modern GUIs, they can use the entire screen area and may accept mouse and other inputs. They may also use color and often structure the display using box-drawing characters such as ┌ and ╣. The modern context of use is usually a terminal emulator.

Helix is a database management system for the Apple Macintosh platform, created in 1983. Helix uses a graphical "programming language" to add logic to its applications, allowing non-programmers to construct sophisticated applications. Helix was the first multiuser database on any PC platform, the first object-based, visual programming tool and the first relational database on a PC platform.

<span class="mw-page-title-main">Macintosh Programmer's Workshop</span> Software development package for the Classic Mac OS

Macintosh Programmer's Workshop (MPW) is a software development environment for the Classic Mac OS operating system, written by Apple Computer. For Macintosh developers, it was one of the primary tools for building applications for System 7.x and Mac OS 8.x and 9.x. Initially MPW was available for purchase as part of Apple's professional developers program, but Apple made it a free download after it was superseded by CodeWarrior. On Mac OS X it was replaced by the Project Builder IDE, which eventually became Xcode.

A FourCC is a sequence of four bytes used to uniquely identify data formats. It originated from the OSType or ResType metadata system used in classic Mac OS and was adopted for the Amiga/Electronic Arts Interchange File Format and derivatives. The idea was later reused to identify compressed data types in QuickTime and DirectShow.

In a computer file system, a fork is a set of data associated with a file-system object. File systems without forks only allow a single set of data for the contents, while file systems with forks allow multiple such contents. Every non-empty file must have at least one fork, often of default type, and depending on the file system, a file may have one or more other associated forks, which in turn may contain primary data integral to the file, or just metadata.

On the classic Mac OS, extensions were small pieces of code that extended the system's functionality. They were run initially at start-up time, and operated by a variety of mechanisms, including trap patching and other code modifying techniques. Initially an Apple developer hack, extensions became the standard way to provide a modular operating system. Large amounts of important system services such as the TCP/IP network stacks and USB and FireWire support were optional components implemented as extensions. The phrase "system extension" later came to encompass faceless background applications as well.

<span class="mw-page-title-main">SK8 (programming language)</span>

SK8 was a multimedia authoring environment developed in Apple's Advanced Technology Group from 1988 until 1997. It was described as "HyperCard on steroids", combining a version of HyperCard's HyperTalk programming language with a modern object-oriented application platform. The project's goal was to allow creative designers to create complex, stand-alone applications. The main components of SK8 included the object system, the programming language, the graphics and components libraries, and the Project Builder, an integrated development environment.

A menu bar is a graphical control element which contains drop-down menus.

In Microsoft Windows, a resource is an identifiable, read-only chunk of data embedded in an executable file -- specifically a PE file.

The Apple Developer Tools are a suite of software tools from Apple to aid in making software dynamic titles for the macOS and iOS platforms. The developer tools were formerly included on macOS install media, but are now exclusively distributed over the Internet. As of macOS 10.12, Xcode is available as a free download from the Mac App Store.

<span class="mw-page-title-main">Workbench (AmigaOS)</span> Graphical user interface for the Amiga computer

Workbench is the desktop environment and graphical file manager of AmigaOS developed by Commodore International for their Amiga line of computers. Workbench provides the user with a graphical interface to work with file systems and launch applications. It uses a workbench metaphor for representing file system organisation.

<span class="mw-page-title-main">FutureBASIC</span>

FutureBasic is a free BASIC compiler for Apple Inc.'s Macintosh.

<span class="mw-page-title-main">Classic Mac OS</span> Original operating system of Apple Mac (1984–2001)

Mac OS is the series of operating systems developed for the Macintosh family of personal computers by Apple Computer, Inc. from 1984 to 2001, starting with System 1 and ending with Mac OS 9. The Macintosh operating system is credited with having popularized the graphical user interface concept. It was included with every Macintosh that was sold during the era in which it was developed, and many updates to the system software were done in conjunction with the introduction of new Macintosh systems.

References

  1. MacTech - All About Resource Editors
  2. "Resorcerer at Mathmaesthetics.com".
  3. "ResEdit Reference and Download". ResEdit 2.1.4 was an unofficial, unreleased version that added some extras...ResEdit 3.0 was a development version for the old Copland OS...SuperResEdit was a version put together by someone other than Apple, that had some additional templates (which are now outdated) and came with a utility called Forker. Forker is a System extension that lets you edit the data resource with ResEdit. There is very little information available about these unofficial versions.