richard@brainstorm.co.uk
)Version: 1.27
Date: 2003/08/24 23:07:41
Copyright: (C) 1997 Free Software Foundation, Inc.
- Declared in:
- Foundation/NSProxy.h
- Conforms to:
- NSObject
Standards:
- MacOS-X
- OpenStep
- GNUstep
The NSProxy class provides a basic implementation of a
class whose instances are used to stand in for
other objects.
The class provides the most basic
methods of NSObject, and expects messages for other
methods to be forwarded to the real object
represented by the proxy. You must subclass
NSProxy to implement
-forwardInvocation:
to these real objects.
Description forthcoming.
Allocates and returns an NSProxy instance in the default zone.
Allocates and returns an NSProxy instance in the specified zone z.
Returns the receiver
Returns the receiver
Returns a string describing the receiver.
Returns NO
... the NSProxy class cannot
be an instance of any class.
Returns YES
if aClass is
identical to the receiver, NO
otherwise.
A dummy method...
A dummy method to ensure that the class can safely be held in containers.
Returns YES
if the receiver responds
to aSelector, NO
otherwise.
Returns the receiver.
Returns the maximum unsigned integer value.
Adds the receiver to the current autorelease pool and returns self.
Returns the class of the receiver.
Calls the
-forwardInvocation:
method to determine if the 'real' object referred to
by the proxy conforms to aProtocol. Returns
the result.
NB. The default operation of
-forwardInvocation:
is to raise an exception.
Frees the memory used by the receiver.
Returns a text descrioption of the receiver.
Raises an NSInvalidArgumentException
Returns the address of the receiver... so it can be stored in a dictionary.
Initialises the receiver and returns the resulting instance.
Tests for pointer equality with anObject
Calls the
-forwardInvocation:
method to determine if the 'real' object referred to
by the proxy is an instance of the specified class.
Returns the result.
NB. The default
operation of
-forwardInvocation:
is to raise an exception.
Calls the
-forwardInvocation:
method to determine if the 'real' object referred to
by the proxy is an instance of the specified class.
Returns the result.
NB. The default
operation of
-forwardInvocation:
is to raise an exception.
Returns YES
If we respond to the method directly, create and return a method signature. Otherwise raise an exception.
Decrement the retain count for the receiver... deallocate if it would become negative.
If we respond to the method directly, return
YES
, otherwise forward this request to
the object we are acting as a proxy for.
Increment the retain count for the receiver.
Return the retain count for the receiver.
Returns the receiver.
Returns the superclass of the receivers class.
Returns the zone in which the receiver was allocated.