Realbasic: The Definitive Guide. Create Your Own MAC OS X Applications

by
Edition: 2nd
Format: Paperback
Pub. Date: 2001-09-01
Publisher(s): Oreilly & Associates Inc
List Price: $42.75

Rent Book

Select for Price
There was a problem. Please try again later.

Rent Digital

Rent Digital Options
Online:1825 Days access
Downloadable:Lifetime Access
$38.39
$38.39

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

REALbasic is a programming language in the best Macintosh tradition: visual, intuitive, and easy to learn. It allows you to create interfaces in minutes and entire, compiled applications without having to learn a complicated language; the strong object orientation makes it very easy even for beginners to develop, maintain, and alter projects. Best of all, an REALbasic 3, a single button click generates your project as a Mac OS 8/9 application, a Mac OS X native ("Carbon") application, or a Windows executable. No other application framework lets you compile for users on so many platforms so quickly and easily. "REALbasic: The Definitive Guide not only gives you a firm grasp of the program's essential concepts, but also tells you things you won't learn from the official documentation alone. If you've never programmed before, the book offers both a primer in REALbasic and an intuitive approach to the concepts of programming itself, as you quickly reach the ability to program every aspect of REALbasic. You start out drawing the interface much as you would do in a drawing program: by selecting buttons, menus, dialog boxes, and the like from a tools menu. Then you use the code editor to fill in the code that tells these pieces what to do. The widely hailed first edition of "REALbasic: The Definitive Guide has been completely rewritten to encompass reader suggestions and the many improvements of REALbasic 3--like its ability to compile and run under OS X. The book is divided into three sections: Fundamentals: a detailed summary of the language that quickly shows you how to think about programming and accomplish your goals in less time User Interface: how to create a complete application usingthe rich classes and pre-defined tools that make life so much easier for the REALbasic programmer. Reaching Out: Internet communications, databases, multimedia, game programming and more!

Author Biography

Matt Neuburg started programming computers in 1968, when he was 14 years old, as a member of a literally underground high school club, which met once a week to do timesharing on a bank of PDP-10s by way of primitive teletype machines. He also occasionally used Princeton University's IBM-360/67, but gave it up in frustration when one day he dropped his punch cards. He majored in Greek at Swarthmore College, and received his Ph.D. from Cornell University in 1981, writing his doctoral dissertation (about Aeschylus) on a mainframe. He proceeded to teach Classical languages, literature, and culture at many well-known institutions of higher learning, most of which now disavow knowledge of his existence, and to publish numerous scholarly articles unlikely to interest anyone. Meanwhile he obtained an Apple IIc and became hopelessly hooked on computers again, migrating to a Macintosh in 1990. He wrote some educational and utility freeware, became an early regular contributor to the online journal TidBITS, and in 1995 left academe to edit MacTech Magazine. He is also the author of Frontier: The Definitive Guide and REALbasic: The Definitive Guide. In August 1996 he became a freelancer, which means he has been looking for work ever since. He is the author of Frontier: The Definitive Guide and REALbasic: The Definitive Guide, both for O'Reilly & Associates.

Table of Contents

Preface xiii
Part I. Fundamentals
The Workspace
3(25)
The Project Window
3(5)
Editing Windows
8(5)
Adding Functionality
13(6)
How the Three Editors Relate
19(4)
Testing Without Building
23(1)
Online Help
24(1)
Shortcuts
25(3)
The Basic Language
28(32)
Lines and Commands
29(1)
Variables and Constants
30(4)
Subroutines
34(11)
Regulating Flow
45(7)
Arrays
52(4)
Recursion
56(2)
Comments
58(2)
Objects, Classes, and Instances
60(47)
Messages and Dot Notation
61(2)
Object Design Philosophy
63(3)
Classes and Instances
66(5)
Anatomy of a Class
71(3)
An Instance Is Born
74(2)
Referring to Instances
76(10)
The Truth About Controls
86(2)
Control Clones and Control Arrays
88(6)
Being Careful with Instance References
94(10)
Destruction of Instances
104(3)
Class Relationships and Class Features
107(47)
New Classes and Inheritance
108(4)
Casting
112(3)
Overriding
115(3)
Class Interfaces
118(5)
Events and New Events
123(4)
The Class Hierarchy
127(2)
Global Members
129(4)
Advanced Class Features
133(9)
Example Classes
142(12)
Datatypes
154(47)
Booleans
154(3)
Strings
157(10)
Numbers
167(7)
Variants
174(5)
Collections
179(2)
Dates
181(3)
Colors
184(2)
Memoryblocks
186(6)
Threads
192(9)
Menus
201(22)
Menu Overview
201(3)
Editing Menus
204(2)
Special Menu Items
206(3)
The Menu-Enabling Moment
209(3)
Menu Item Functionality
212(2)
Dynamic Menus
214(2)
Menu Examples
216(7)
The Architecture of an Application
223(15)
Three Pillars of Zen
224(8)
The Application Subclass
232(1)
Order of Events
233(5)
Debugging and Building
238(31)
Compile Errors
238(5)
Exceptions
243(7)
The Debugger
250(6)
Building
256(13)
Part II. User Interface
Windows
269(21)
Window Types
271(4)
Opening and Closing, Showing and Hiding
275(7)
Title, Position, and Size
282(2)
Events
284(3)
Drawing in a Window
287(3)
Abstract Control Classes
290(8)
Lifetime Events
292(1)
Appearance
293(1)
Position and Size
294(1)
Mouse Movement Events
295(2)
Redrawing
297(1)
Canvases
298(45)
Canvas Events, Properties, and Methods
299(1)
Picture Class
300(3)
Graphics Class
303(5)
Backdrop Property
308(4)
Fun With Graphics Properties
312(8)
Canvas Graphics Property
320(7)
Transparency and Icons
327(4)
Speed
331(4)
Interaction with Other Objects
335(8)
Buttons and StaticTexts
343(19)
PushButton
344(2)
BevelButton
346(4)
Placard
350(1)
LittleArrows
351(2)
CheckBox
353(1)
RadioButton and GroupBox
353(4)
DisclosureTriangle
357(1)
StaticText
358(1)
Custom Buttons
359(3)
EditFields
362(30)
Types of EditField
362(1)
EditField Events, Properties, and Methods
363(7)
The Focus
370(6)
Manipulating Text and Styles
376(9)
Reacting to User Input
385(3)
Drawing Styled Text
388(2)
Miscellaneous Tips
390(2)
ListBoxes
392(27)
ListBox Features
392(2)
ListBox Events, Properties, and Methods
394(7)
Basic ListBox Techniques
401(5)
Hierarchical ListBoxes
406(8)
Other ListBox Features
414(5)
ProgressBars, Sliders, and Scrollbars
419(14)
ProgressBar
420(1)
Slider
421(2)
Scrollbar
423(10)
Shapes and Decorations
433(4)
Line
434(1)
Shapes
434(1)
Separator
435(1)
ImageWell
435(1)
ChasingArrows
436(1)
PopupArrow
436(1)
Menus in Windows
437(14)
PopupMenu
437(6)
BevelButton
443(2)
ContextualMenu
445(3)
Alternatives
448(3)
TabPanels
451(4)
Preparation
452(1)
Properties and Events
452(1)
Usage
453(2)
Keyboard
455(8)
Keyboard Communication
455(2)
Keyboard Object
457(5)
UserCancelled
462(1)
Mouse and Cursor
463(14)
Mouse Communication
463(3)
Polling the Mouse
466(1)
Balloon Help
467(1)
Cursor
468(9)
Part III. Reaching Out
Files
477(37)
Getting a FolderItem
477(6)
File Types
483(3)
File Properties and File Actions
486(6)
Arbitrary Data: Binary Streams
492(5)
Sequential Data: Text Streams
497(6)
Resources
503(6)
Predefined Data Formats
509(5)
Databases
514(12)
Database Files and Classes
515(7)
Schemas
522(1)
Displaying Data
523(1)
Other Data Sources
524(2)
Clipboard
526(7)
Clipboard Class
527(1)
Usage
528(5)
Drag-and-Drop
533(15)
Beginning a Drag
534(4)
Receiving a Drop
538(4)
Finder Drop
542(1)
Internal Drag-and-Drop
543(3)
Limitations and Workarounds
546(2)
Time
548(9)
Ticks and Microseconds
548(1)
Timers
549(5)
Yielding Time
554(3)
Sound
557(8)
Beep
557(1)
Sound Object
557(2)
MIDI Notes
559(6)
Movies
565(14)
Movie Class
566(1)
MoviePlayer
567(4)
Movie Usage
571(2)
Making Movies
573(2)
Analyzing Movies
575(4)
Animation
579(18)
Configuring the SpriteSurface
581(1)
Basic Sprite Techniques
581(6)
Basic Background Techniques
587(2)
Improving the Classes
589(2)
Intelligent Sprite Behavior
591(2)
Responding to Keys
593(2)
Intelligent Collisions
595(2)
Printing
597(11)
Page Setup
597(2)
Proceeding To Print
599(3)
Measurement Problems
602(1)
Printing Text
602(6)
TCP/IP Communications
608(23)
Socket Properties, Methods, and Events
609(2)
Client
611(12)
Server
623(8)
Interapplication Communications
631(24)
Sending Apple Events
632(7)
Receiving Apple Events
639(4)
Apple Event Classes, Properties, and Methods
643(5)
Apple Event Inadequacies
648(3)
AppleScripts
651(2)
Shell
653(2)
Language Extensions
655(22)
Direct Toolbox Calls
656(16)
XCMDs
672(2)
Shared Libraries
674(1)
Plug-ins
675(2)
Growing an Application 677(26)
Index 703

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.