Classes | |
class | CPArray |
A mutable array backed by a JavaScript Array.A mutable array class backed by a JavaScript Array. There is also a CPMutableArray class, but it is just a child class of this class with an empty implementation. All mutable functionality is implemented directly in CPArray. More... | |
class | CPAttributedString |
A mutable character string with attributes. More... | |
class | CPBundle |
Groups information about an application's code & resources. More... | |
class | CPCoder |
Defines methods for use when archiving & restoring (enc/decoding). More... | |
class | CPCountedSet |
An mutable collection which may contain a specific object numerous times. More... | |
class | CPData |
A Cappuccino wrapper for any data type. More... | |
class | CPDate |
A representation of a single point in time. More... | |
class | CPDictionary |
A mutable key-value pair collection. More... | |
class | CPEnumerator |
Defines an interface for enumerators. More... | |
class | CPException |
Used to implement exception handling (creating & raising). More... | |
class | CPIndexSet |
A collection of unique integers. More... | |
class | CPInvocation |
An object representation of a message. More... | |
class | CPJSONPConnection |
Allows cross domain connections using JSONP protocol. More... | |
class | CPKeyedArchiver |
Implements keyed archiving of object graphs (e.g. for storing data). More... | |
class | CPKeyedUnarchiver |
Unarchives objects created using CPKeyedArchiver. More... | |
class | CPNotification |
A notification that can be posted to a CPNotificationCenter. More... | |
class | CPNotificationCenter |
Sends messages (CPNotification) between objects. More... | |
class | CPNull |
An object representation of nil . More... | |
class | CPNumber |
A bridged object to native Javascript numbers. More... | |
class | CPObject |
The root class from which most classes are subclassed. More... | |
class | CPRunLoop |
The main run loop for the application. More... | |
class | CPSet |
An unordered collection of objects. More... | |
class | CPSortDescriptor |
Holds attributes necessary to describe how to sort a set of objects. More... | |
class | CPString |
An immutable string (collection of characters). More... | |
class | CPTimer |
A timer object that can send a message after the given time interval. More... | |
class | CPUndoManager |
A general mechanism for user action "undo". More... | |
class | CPURLConnection |
Provides loading of a URL request. More... | |
class | CPURLRequest |
Contains data obtained during a request made with CPURLConnection. More... | |
class | CPURLResponse |
Protocol agnostic information about a request to a specifc URL. More... | |
class | CPValue |
A generic "value". Can be subclassed to hold specific data types. More... | |
Functions | |
function | CPCopyRange (aRange) |
function | CPEmptyRange (aRange) |
function | CPEqualRanges (lhsRange, rhsRange) |
function | CPIntersectionRange (lhsRange, rhsRange) |
function | CPLocationInRange (aLocation, aRange) |
function | CPMakeRange (location, length) |
function | CPMakeRangeCopy (aRange) |
function | CPMaxRange (aRange) |
function | CPRangeFromString (aString) |
function | CPRangeInRange (lhsRange, rhsRange) |
function | CPStringFromRange (aRange) |
function | CPUnionRange (lhsRange, rhsRange) |
function CPCopyRange | ( | aRange | ) |
function CPEmptyRange | ( | aRange | ) |
function CPEqualRanges | ( | lhsRange | , | |
rhsRange | ||||
) |
function CPIntersectionRange | ( | lhsRange | , | |
rhsRange | ||||
) |
function CPLocationInRange | ( | aLocation | , | |
aRange | ||||
) |
function CPMakeRange | ( | location | , | |
length | ||||
) |
function CPMakeRangeCopy | ( | aRange | ) |
function CPMaxRange | ( | aRange | ) |
function CPRangeFromString | ( | aString | ) |
function CPRangeInRange | ( | lhsRange | , | |
rhsRange | ||||
) |
Checks if a range completely contains another range. In other words, if one range is the "super range" of another.
lhsRange | the containing range | |
rhsRange | the range we are testing to see if lhsRange contains it CPRange |
function CPStringFromRange | ( | aRange | ) |