Top

A Foundation for WebScript Programmers: Quick Guide to Useful Classes


This chapter gives an overview of the classes you use most commonly in WebScript, the WebObjects scripting language. For a description of WebScript language features and syntax, see the "Using WebScript" chapter.

Foundation Objects
Types
Sending Messages
Representing Objects as Strings
Mutable and Immutable Objects
Determining Equality
Reading from and Writing to Files
Writing to Files
Reading from Files

Working with Strings

Commonly Used String Methods
Creating Strings
Combining and Dividing Strings
Comparing Strings
Converting String Contents
Modifying Strings
Storing Strings

Working with Arrays

Commonly Used Array Methods
Creating Arrays
Querying Arrays
Sorting Arrays
Adding and Removing Objects
Storing Arrays
Representing Arrays as Strings

Working with Dictionaries

Commonly Used Dictionary Methods
Creating Dictionaries
Querying Dictionaries
Adding, Removing, and Modifying Entries
Representing Dictionaries as Strings
Storing Dictionaries

Working with NSCalendarDates
The Calendar Format

Commonly Used NSCalendarDate Methods
Creating NSCalendarDates
Adjusting an NSCalendarDate
Representing NSCalendarDates as Strings
Retrieving NSCalendarDate Elements

First Section