objective-cnsproxy

Objective-C - What are some uses of the NSProxy class?


What are some uses of the NSProxy class. Why would you want to be able to have the description of an object that doesn't exist?


Solution

  • The NSProxy class provides a basic implementation of a class whose instances are used to stand in for other objects. We need NSProxy to implement transparent distributed messaging or for lazy instantiation of object.
    NSProxy Class Reference
    Distributed object programming topics