Information Technology Reference
In-Depth Information
NOTE
Core Data
isn't
a full relational database. Its features are more limited, but it can still be a useful way to manage
data objects that can include multiple attributes.
Using the Cocoa-AppleScript Application template
The Cocoa-AppleScript Application template, shown in Figure 3.10, creates a minimal AppleScript application.
It's effectively a drastically simplified version of the standard Cocoa Application template, rewritten in Ap-
pleScript instead of Objective-C. Only two methods appear here:
applicationWillFinishLaunching
and
applicationShouldTerminate
. Real applications are likely to need more in the way of set-up, so
this template is a prime candidate for replacement with a more advanced template of your own design.
Understanding Views in Apple Development
The word
view
has more than one meaning in Apple development. It can mean a complete UI design that defines
all the elements in the UI: the buttons, images, and other features. But it also can mean individual UI elements
within that configuration. For example, a button may include a
text view
that defines the text. A label may be
called a
label view.
And so on. This seems inconsistent, but in general if an object is visible on the screen, it can be
called a view. Individual UI items can also be called
controls
.