Interface Builder

Interface Builder
InterfaceBuilder.png
Developer(s) Apple Inc.
Stable release 3.2.6 / Released March 15, 2011; 8 months ago (2011-03-15)
4.0 / Released March 9, 2011; 8 months ago (2011-03-09)
Operating system Mac OS X
Type software development
License Proprietary, free with Xcode suite.
Website developer.apple.com

Interface Builder is a software development application for Apple's Mac OS X operating system. It is part of Xcode (formerly Project Builder), the Apple Developer Connection developer's toolset. Interface Builder allows Cocoa and Carbon developers to create interfaces for applications using a graphical user interface. The resulting interface is stored as a .nib file, short for NeXT Interface Builder, or more recently, as a .xib file.

Interface Builder is descended from the NeXTSTEP development software of the same name. A version of Interface Builder is also used in the development of OpenStep software, and a very similar tool called Gorm exists for GNUstep. On March 27, 2008, a specialized iPhone version of Interface Builder allowing interface construction for iPhone applications was released with the iPhone SDK Beta 2. As of Xcode 4, Interface Builder no longer exists as a separate application, and its functionality is directly integrated into Xcode.

History

Interface Builder first made its appearance in 1988 as part of NeXTSTEP 0.8. It was invented and developed by Jean-Marie Hullot, originally in Lisp (for the ExperLisp product by Expertelligence). It was one of the first commercial applications that allowed interface objects, such as buttons, menus, and windows, to be placed in an interface using a mouse. One notable early use of Interface Builder was the development of the WorldWideWeb web browser by Tim Berners-Lee at CERN using a NeXT workstation.

Design

Interface Builder provides palettes, or collections, of user interface objects to an Objective-C developer. These user interface objects contain items like text fields, data tables, sliders, and pop-up menus. Interface Builder's palettes are completely extensible, meaning any developer can develop new objects and add palettes to Interface Builder.

To build an interface, a developer simply drags interface objects from the palette onto a window or menu. Actions (messages) which the objects can emit are connected to targets in the application's code and outlets (pointers) declared in the application's code are connected to specific objects. In this way all initialization is done before runtime, both improving performance[citation needed] and streamlining the development process.

Interface Builder saves an application's interface as a bundle that contains the interface objects and relationships used in the application. These objects are archived (a process also known as serialization or marshalling in other contexts) into either an XML file or a NeXT-style property list file with a .nib extension. Upon running an application, the proper NIB objects are unarchived, connected into the binary of their owning application, and awakened. Unlike almost all other GUI designer systems which generate code to construct the UI (notable exceptions being Glade, Codegear's Delphi and C++ Builder, which stream UI objects similarly), NIBs are often referred to as freeze dried because they contain the archived objects themselves, ready to run. As of Interface Builder version 3, a new file format (with extension .xib) has been added, which is functionally identical to .nib, except it is stored in a flat file, making it more suitable for storage in revision control systems and processing by tools such as diff.

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Interface Builder — Développeur Apple Dernière version Int …   Wikipédia en Français

  • Interface Builder — ist ein von Apple entwickelter GUI Builder. Der GUI Builder kommt von NeXT und bietet die grafische Erstellung einer Benutzeroberfläche. Interface Builder wird mit den Developer Tools von Mac OS X Panther und Tiger kostenlos mitgeliefert und… …   Deutsch Wikipedia

  • Interface Builder — Эта статья  о the Mac OS X application. Другие значения термина в заглавии статьи см. на Interface Builder (значения). Тип Разработка программного обеспечения Разработчик Apple Операционная система Mac OS X Последняя версия 3.2.6 /… …   Википедия

  • Graphical user interface builder — A graphical user interface builder, or GUI builder, also known as GUI designer is a software development tool that simplifies the creation of GUIs by allowing the designer to arrange widgets using a drag and drop WYSIWYG editor. Without a GUI… …   Wikipedia

  • Builder pattern — The builder pattern is an object creation software design pattern. The intention is to abstract steps of construction of objects so that different implementations of these steps can construct different representations of objects. Often, the… …   Wikipedia

  • Constructeur D'interface Graphique — Glade est un constructeur d interfaces graphiques pour GTK+ Un constructeur d interface graphique est un logiciel qui permet de construire une interface graphique. Certains de ces outils génèrent directement du code source dans un ou plusieurs… …   Wikipédia en Français

  • Constructeur d'interface graphique — Glade est un constructeur d interfaces graphiques pour GTK+ Un constructeur d interface graphique est un logiciel qui permet de construire une interface graphique. Certains de ces outils génèrent directement du code source dans un ou plusieurs… …   Wikipédia en Français

  • GUI-Builder — Ein GUI Builder oder GUI Designer ist ein Programmierwerkzeug, welches die Erstellung grafischer Benutzeroberflächen vereinfacht, indem es dem Designer das Anordnen von Steuerelementen mittels eines WYSIWYG Editors via Drag and Drop ermöglicht.… …   Deutsch Wikipedia

  • Glade Interface Designer — Infobox Software name = Glade caption = Designing a preferences dialog in Glade released = April 18, 1998 latest release version = 3.4.5 latest release date = release date and age|2008|5|5 latest preview version = 3.5.2 latest preview date =… …   Wikipedia

  • Model-Builder — Infobox Software name = Model Builder latest release version = 0.4.0 latest release date = March. 26, 2007 developer = Flávio Codeço Coelho, Cláudia Torres Codeço, Antônio Pacheco operating system = Cross platform genre = Ordinary differential… …   Wikipedia

Share the article and excerpts

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