ResEdit

ResEdit

Infobox Software
name = ResEdit



caption = ResEdit 2.1.3, shown here, is the most recent version.
developer = Apple Computer
latest_release_version = 2.1.3
latest_release_date = August, 1994
operating_system = Mac OS
genre = Software development tool
license = Proprietary
website = [http://developer.apple.com/documentation/macos8/DevTools/ResEditReference/reseditreference.html Mac OS 8 and 9 Developer Documentation: ResEdit]

ResEdit is a developer tool application for the Apple Macintosh, used to create and edit resources directly in the Mac's resource fork architecture. It is an alternative to tools such as the resource compiler "Rez", and for the average user is generally easier to use, because it uses a graphical user interface. Although it was 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 (when ResEdit was introduced, most applications had no 'preferences' or 'options' dialog.)

Resources on the Macintosh can be of many different types, and in fact any arbitrary data can be turned into a resource. While the system defines many standard formats for particular kinds of resources (for example, an icon, or a window template), programmers are also free to define their own. ResEdit includes support for editing many of the standard types and for creating arbitrary resources with any structure a programmer might dream up.

ResEdit was one of the earliest examples of a GUI layout tool, an essential component for rapid application development. For example, the Mac OS defines a standard resource called a dialog template and a dialog items list (resource types 'DLOG' and 'DITL' respectively). In ResEdit, it is possible to simply create these types and add GUI elements to them in an almost WYSIWYG fashion, so that you can design a user interface directly as it will appear to the end user of your application. Later, the application code can create a functional dialog box using the stored resource data which will match the appearance you laid out in ResEdit. While hardly a revolutionary concept today, when ResEdit first appeared in the mid-1980s, this was a considerable innovation. ResEdit includes standard editors for windows templates ('WIND'), menus ('MENU'), dialog boxes, controls ('CNTL'), colour 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 simply adds 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 will allow entry of data and package it into the structure defined in the template. It is then 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 not upgraded to run natively on Mac OS X (or, indeed, on PowerPC-based Macintoshes), as Apple now discourages the use of resource forks in new Mac OS X applications, preferring NeXT-derived bundles. A long-standing third-party commercial alternative named Resorcerer remains available, and more recently there have been a number of attempts to build open-source Mac OS X-native resource editors, including one called ResKnife. ResEdit will run in Mac OS X's Classic compatibility mode, but as Classic is not available on the Macintoshes based on Intel processors, no new Mac will run ResEdit natively. However an Intel Mac can run ResEdit via an emulator such as SheepShaver or Basilisk II.

The most recent version of ResEdit is 2.1.3, released in August 1994.

ee also

* Creator code
* Interface Builder
* Macintosh Programmer's Workshop
* Resource fork
* Type code

External links

* [http://developer.apple.com/documentation/mac/pdf/ResEditReference.pdf ResEdit Reference] (PDF)
* [http://download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/English-North_American/Macintosh/Utilities/ResEdit_2.1.3.sea.bin Download ResEdit 2.1.3 from apple.com]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • ResEdit — (von Resource Editor ) ist ein Computerprogramm der Firma Apple, um die sogenannten Resource forks von Computerdateien zu bearbeiten. ResEdit gehört zu den Standardwerkzeugen von Programmentwicklern unter Mac OS (bis 9), dem klassischen… …   Deutsch Wikipedia

  • ResEdit — ResEdit,   das bei Apple kostenlos herunterladbare Programm zur Bearbeitung der Ressourcen des Mac OS. Mit ResEdit lassen sich alle vom Betriebssystem zur Verfügung gestellten Grundbestandteile der Benutzeroberfläche (z. B. Icons, Menüs und… …   Universal-Lexikon

  • Plug-in (Escape Velocity) — Plug in is the term used for the add on files used to modify the Escape Velocity series of games by Ambrosia Software. They are similar to what is now often referred to as a mod for other games, but that term was not common when Escape Velocity… …   Wikipedia

  • Resource fork — The resource fork is a construct of the Mac OS operating system used to store structured data in a file, alongside unstructured data stored within the data fork. A resource fork stores information in a specific form, such as icons, the shapes of… …   Wikipedia

  • MacPaint — Développeur Apple Computer, Claris Première version …   Wikipédia en Français

  • QuickTime — (Classic) …   Wikipedia

  • List of Macintosh software — Contents 1 Audio 2 Computer aided design (CAD) 3 CD and DVD authoring …   Wikipedia

  • Balloon help — System 7 Balloon Help in Eudora Balloon help was a help system introduced by Apple Computer in their 1991 release of System 7.0. The name referred to the way the help text was displayed, in balloons , like those containing the words in a comic… …   Wikipedia

  • Resource (Windows) — In Microsoft Windows, resources are read only data embedded in EXE or DLL files.The Windows API provides for easy access to all applications resources.TypesEach resource has a type and a name, both being either numeric identifiers or… …   Wikipedia

  • Alternativer Datenstrom — Alternative Datenströme sind eine Datenstruktur zur Aufnahme zusätzlicher strukturierter Daten innerhalb einer Datei neben den Hauptdaten – ein Konzept, um zu einer Datei mehrere Datenströme zu speichern. Obwohl auch jenseits verwendet und… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”