I am learning Cocoa and Objective-C (well, and C) to make a few Mac apps I've had floating around. I need to use Distributed Objects, but am having trouble finding simple, concise examples. Does anybody know of any?
-
+1 this is indeed a mystery to me too – Robert Gould Jan 21 '09 at 07:54
-
I just created [a more up to date answer](http://stackoverflow.com/a/36367753/105539) for 2016. This one is short and simple. – Volomike Apr 02 '16 at 00:40
4 Answers
A google search came up with plenty of hits. The Apple docs are also good. Late Night Cocoa also has an episode on it.

- 11,595
- 11
- 39
- 37
I maintain the comp.lang.objective-c FAQ, and there's an example in there: How can I forward messages between remote objects? It's very short but should give you the basic idea, on which you can then hang the Apple and GNUstep docs to which it links.
It's a fairly old article but this is probably a good starting point for distributed objects. I personally found it easier to start with the older tutorials and work my way up to the more recent ones which use new technologies such as Core Data.

- 1,363
- 1
- 15
- 27
I discovered this project at SourceForge which is a fairly large Cocoa project. It uses bonjour and distributed objects, and other then that I've found it to be a good resource and example. Just thought I'd put that out there in case anybody comes across this question.

- 20,271
- 16
- 57
- 68