Instance Method

isProxy

Returns a Boolean value that indicates whether the receiver does not descend from NSObject.

Required.

Declaration

- (BOOL)isProxy;

Return Value

NO if the receiver really descends from NSObject, otherwise YES.

Discussion

This method is necessary because sending isKindOfClass: or isMemberOfClass: to an NSProxy object will test the object the proxy stands in for, not the proxy itself. Use this method to test if the receiver is a proxy (or a member of some other root class).

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software