2

i am new to Objective C . Basically i just wanna know how to write a simple program by which i can send a number from one machine and display it on the other. do i need to use sockets or is there any other way..? i am familiar with java and c++.

user629908
  • 31
  • 3

4 Answers4

1

I actually found a way to make DO working on iOS/OSX using a custom framework. Check out this: Distributed Objects on iOS ([1]: http://tkrautter.wordpress.com/2013/10/28/distributed-objects-on-ios)

Tommy356
  • 252
  • 2
  • 7
0

Maybe have both machines reading from the same database?

Send a value to a PHP script?

Read the database on both machines?

benhowdle89
  • 36,900
  • 69
  • 202
  • 331
0

The top answer to this question mentions a Cocoa way of doing this (Distributed Objects): Objective-C networking - best practices?

Community
  • 1
  • 1
Bogatyr
  • 19,255
  • 7
  • 59
  • 72
0

you can use game kit to communicate between two devices via bluetooth or wi fi. check game kit programming guide. you can see the code samples GKTank, GKTapper and GKRocket which implemet the game kit api

Swapnil Luktuke
  • 10,385
  • 2
  • 35
  • 58