Basic Concepts
**************

Throughout this manual, we refer to a number of concepts that you will need to be familiar with. It may be useful to at least glance over this section and make sure you are familiar with the concepts presented.

application wrapper (or appwrapper)
     GNUstep applications rarely consist of just an executable file. They often contain interface files, property lists and other resources such as images. These are bundled together with the executable into a directory known as an application wrapper. To launch applications, you use the openapp command.

delegate

     A delegate usually refers to an object that handles certain events and methods on behalf of another object. The methods a delegate should implement are declared as either a formal or informal protocol.

     Many of the view and control classes within the AppKit allow you to supply delegate objects to help them make decisions about different things such as what data to display, how to handle events, whether to permit the user to select things, handling drag and drop, etc.

formal protocol

     A formal protocol is a protocol that requires you to implement all the methods that are listed within it. They are used much less often that informal protocols in the AppKit.

     Formal protocols are declared using their own statement, the @protocol identifier. You implement a formal protocol by placing it's name in arrow brackets ('<' and '>') and listing its methods in your interface declaration.

informal protocol
     Objective-C can have both formal and informal protocols. Informal protocols don't require you to implement all of their methods.

     Informal protocols are declared as a category of NSObject. You implement them in your own class by simply declaring and implementing the methods in the protocol you wish to. Always check the documentation of the classes that use the protocol to see which methods you should implement (usually at least one of them is mandatory).

nib file
     nib files are your program's interface files, which contain definitions of all the windows, controls and menus as well as their connections to classes from your application. They have the extension .gorm.

     See Interface Files for more information.

notification
     A notification is an indicator of a certain event. Notifications are objects posted to a notification center. Other objects may register with a notification center to receive notifications.

     For more information about notifications, refer to the GNUstep Base Programming Manual.