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?
An abstract superclass defining an API for objects that act as stand-ins for other objects or for objects that don't exist yet.
Implementation Files in Objective-C Implementation files implement all those things that we declare to be available in the header files. Every method that we say a class has must be defined with all its necessary code in the implementation file.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With