문제

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?

도움이 되었습니까?

해결책

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

다른 팁

An NSProxy is an object that forwards messages to an object on a different thread, in a different process, or even on a different host. Read the documentation on Distributed Objects.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top