The FooDoo Lounge

Interface Builder 2.2 Dictionary

Copyright Apple Computer, Inc. 1999-2001. All rights reserved.

Index

  1. Standard Suite
  2. Text Suite
  3. InterfaceBuilder suite

Standard Suite: Common classes and commands for most applications.

Classes:

Class application: An application's top level scripting object.

Plural form:

applications

Elements:

document by numeric index, before/after another element, as a range of elements, satisfying a test

window by name, by numeric index, before/after another element, as a range of elements, satisfying a test, by ID

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

frontmost boolean [r/o] -- Is this the frontmost (active) application?

name string [r/o] -- The name of the application.

version string [r/o] -- The version of the application.

Class color: A color.

Plural form:

colors

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

Class document: A document.

Plural form:

documents

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

path string -- The document's path.

modified boolean [r/o] -- Has the document been modified since the last save?

name string -- The document's name.

Class item: A scriptable object.

Plural form:

items

Properties:

class type class [r/o] -- The class of the object.

properties record -- All of the object's properties.

Class window: A window.

Plural form:

windows

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

modal boolean [r/o] -- Whether the window is the application's current modal window.

closeable boolean [r/o] -- Whether the window has a close box.

name string -- The full title of the window.

resizable boolean [r/o] -- Whether the window can be resized.

index nsnumber -- The index of the window in the back-to-front window ordering.

miniaturizable boolean [r/o] -- Whether the window can be miniaturized.

floating boolean [r/o] -- Whether the window floats.

bounds bounding rectangle -- The bounding rectangle of the window.

zoomed boolean -- Whether the window is currently zoomed.

visible boolean -- Whether the window is currently visible.

id nsnumber [r/o] -- The unique identifier of the window.

titled boolean [r/o] -- Whether the window has a title bar.

miniaturized boolean -- Whether the window is currently miniaturized.

zoomable boolean [r/o] -- Whether the window can be zoomed.

document document [r/o] -- The document whose contents are being displayed in the window.

Events:

close: Close an object.

close reference -- the object for the command

[saving in string] -- The file in which to save the object.

[saving ask/yes/no] -- Specifies whether changes should be saved before closing.

count: Return the number of elements of a particular class within an object.

count reference -- the object for the command

[each type class] -- The class of objects to be counted.

Result: integer -- the reply for the command

delete: Delete an object.

delete reference -- the object for the command

duplicate: Copy object(s) and put the copies at a new location.

duplicate reference -- the object for the command

to location reference -- The location for the new object(s).

[with properties record] -- Properties to be set in the new duplicated object(s).

exists: Verify if an object exists.

exists reference -- the object for the command

Result: boolean -- the reply for the command

get: Get the data for an object.

get reference -- the object for the command

Result: anything -- the reply for the command

make: Make a new object.

make

[at location reference] -- The location at which to insert the object.

new type class -- The class of the new object.

[with data anything] -- The initial data for the object.

[with properties record] -- The initial values for properties of the object.

Result: reference -- the reply for the command

move: Move object(s) to a new location.

move reference -- the object for the command

to location reference -- The new location for the object(s).

open: Open an object.

open a list of alias -- list of objects

print: Print an object.

print a list of alias -- list of objects

quit: Quit an application.

quit reference -- the object for the command

[saving ask/yes/no] -- Specifies whether changes should be saved before quitting.

save: Save an object.

save reference -- the object for the command

[in string] -- The file in which to save the object.

[as string] -- The file type in which to save the data.

set: Set an object's data.

set reference -- the object for the command

to anything -- The new value.

Text Suite: A set of basic classes for text processing.

Classes:

Class attachment: Represents an inline text attachment. This class is used mainly for make commands.

Elements:

attribute run by numeric index, before/after another element, as a range of elements, satisfying a test

character by numeric index, before/after another element, as a range of elements, satisfying a test

paragraph by numeric index, before/after another element, as a range of elements, satisfying a test

word by numeric index, before/after another element, as a range of elements, satisfying a test

Properties:

<Inheritance> text [r/o] -- All of the properties of the superclass.

file name string -- The path to the file for the attachment

Class attribute run: This subdivides the text into chunks that all have the same attributes.

Plural form:

attribute runs

Elements:

attribute run by numeric index, before/after another element, as a range of elements, satisfying a test

character by numeric index, before/after another element, as a range of elements, satisfying a test

paragraph by numeric index, before/after another element, as a range of elements, satisfying a test

word by numeric index, before/after another element, as a range of elements, satisfying a test

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

font string -- The name of the font of the first character.

color color -- The color of the first character.

size nsnumber -- The size in points of the first character.

Class character: This subdivides the text into characters.

Plural form:

characters

Elements:

attribute run by numeric index, before/after another element, as a range of elements, satisfying a test

character by numeric index, before/after another element, as a range of elements, satisfying a test

paragraph by numeric index, before/after another element, as a range of elements, satisfying a test

word by numeric index, before/after another element, as a range of elements, satisfying a test

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

font string -- The name of the font of the first character.

color color -- The color of the first character.

size nsnumber -- The size in points of the first character.

Class paragraph: This subdivides the text into paragraphs.

Plural form:

paragraphs

Elements:

attribute run by numeric index, before/after another element, as a range of elements, satisfying a test

character by numeric index, before/after another element, as a range of elements, satisfying a test

paragraph by numeric index, before/after another element, as a range of elements, satisfying a test

word by numeric index, before/after another element, as a range of elements, satisfying a test

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

font string -- The name of the font of the first character.

color color -- The color of the first character.

size nsnumber -- The size in points of the first character.

Class text: Rich (styled) text

Elements:

attribute run by numeric index, before/after another element, as a range of elements, satisfying a test

character by numeric index, before/after another element, as a range of elements, satisfying a test

paragraph by numeric index, before/after another element, as a range of elements, satisfying a test

word by numeric index, before/after another element, as a range of elements, satisfying a test

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

font string -- The name of the font of the first character.

color color -- The color of the first character.

size nsnumber -- The size in points of the first character.

Class word: This subdivides the text into words.

Plural form:

words

Elements:

attribute run by numeric index, before/after another element, as a range of elements, satisfying a test

character by numeric index, before/after another element, as a range of elements, satisfying a test

paragraph by numeric index, before/after another element, as a range of elements, satisfying a test

word by numeric index, before/after another element, as a range of elements, satisfying a test

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

font string -- The name of the font of the first character.

color color -- The color of the first character.

size nsnumber -- The size in points of the first character.

InterfaceBuilder suite: IB specific classes.

Classes:

Class application: IB's top level scripting object.

Plural form:

applications

Elements:

document by numeric index, before/after another element, as a range of elements, satisfying a test

document by numeric index, before/after another element, as a range of elements, satisfying a test

window by name, by numeric index, before/after another element, as a range of elements, satisfying a test, by ID

Properties:

<Inheritance> application [r/o] -- All of the properties of the superclass.

Class cell: NSCell in the nib file

Plural form:

cells

Properties:

<Inheritance> object [r/o] -- All of the properties of the superclass.

Class connection: Object implements IBConnectors protocol

Plural form:

connections

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

Class control: NSControl in the nib file

Plural form:

controls

Properties:

<Inheritance> object [r/o] -- All of the properties of the superclass.

Class document: Object implementing IBDocuments protocol

Plural form:

documents

Elements:

connection by numeric index, before/after another element, as a range of elements, satisfying a test

object by numeric index, before/after another element, as a range of elements, satisfying a test

Properties:

documentPath string -- The path of this document on the disk.

Class nsnumber: A number object.

Plural form:

nsnumbers

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

intValue nsnumber -- integer value of an nsnumber

floatValue nsnumber -- float value of an nsnumber

Class object: Objects in the nib file

Plural form:

objects

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

supertype string -- The AppKit class of this objects superclass

type string -- The AppKit class of this object.

Class string: A string object.

Plural form:

strings

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

stringValue string -- string value of an NSString

Events:

openfile: open a file

openfile reference -- the object for the command

at string -- The file to open should follow, quoted

Result: reference -- the reply for the command

 

|| url: http://www.foodoo.sunreal.com.au/info/dictionaries/InterfaceBuilder_22_asDict.html
|| created: 10-May-03, 4:58 PM; updated: 9-May-03 1:32 PM
|| size: 55044 bytes