iPhone and OS X apps question
I am looking at prototyping something and would like an iPhone app to be able to talk with a desktop OS X app. Do something on the iPhone app, it's reflected in the OS X application. And vice-versa. Where might I start for a project like this? Eric ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: iPhone and OS X apps question
Hey Eric! Over what timeframe did you want the iPhone app and the desktop app to be in sync? Immediately? ASAP? When iPhone is tether sync'd? Something else? Is this one iPhone app to one desktop, all with the same user? Or is this many to many with many users? Something inbetween? What behaviour do you envision when one or the other app is working 'offline' , say on an airplane or in the metro? And, of course, the fun question... Who wins when there's a conflicting update? ;-) Food for thought! M. Sent from my iPhone On 2010-02-11, at 8:29, Eric E. Dolecki edole...@gmail.com wrote: I am looking at prototyping something and would like an iPhone app to be able to talk with a desktop OS X app. Do something on the iPhone app, it's reflected in the OS X application. And vice-versa. Where might I start for a project like this? Eric ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/mark.ritchie %40mac.com This email sent to mark.ritc...@mac.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: iPhone and OS X apps question
I would begin with Apple's picture-sharing sample code. I think that sample has two parts - server and client. Ther is also an iPhone sample dealing with locating Bonjour services. Basically Bonjour is used to have the server (Mac app) and client (iPhone) discover each other. Then use whatever networking protocol you want to send data. This setup works extremely well in the simulator. When working with real hardware you will need to connect it (and your Mac) to the same wifi network. There is currently no public APIs to talk to a docked iPhone OS device. Sent from my iPhone On Feb 11, 2010, at 10:29 AM, Eric E. Dolecki edole...@gmail.com wrote: I am looking at prototyping something and would like an iPhone app to be able to talk with a desktop OS X app. Do something on the iPhone app, it's reflected in the OS X application. And vice-versa. Where might I start for a project like this? Eric ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/rsharp%40mac.com This email sent to rsh...@mac.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: iPhone and OS X apps question
To clarify what I'm looking to do... I have a wifi router attached to the back of my Mac. My Touch connects to that router. I'd like to run an app on the Touch and an app on the Mac. I'd like to be able to send a simple string from either app to the other and acknowledge receipt of that. Swipe on the Touch, the Mac app's UI displays got the swipe - and press a button or something on the Mac and it tells the Touch app got the button Once I get communication going, I plan on making the behaviors more interesting. ASAP as far as timing goes. It's not for a real world product, just prototyping for an idea. I have no experience with Bonjour or sockets on this platform... could I open sockets in each app and then have them talk that way? If yes, is there sample code someplace that basically does this? The Touch app could talk to a Flash app running on the Mac too - doesn't need to be a OS X application. Eric On Thu, Feb 11, 2010 at 11:47 AM, Ricky Sharp rsh...@mac.com wrote: I would begin with Apple's picture-sharing sample code. I think that sample has two parts - server and client. Ther is also an iPhone sample dealing with locating Bonjour services. Basically Bonjour is used to have the server (Mac app) and client (iPhone) discover each other. Then use whatever networking protocol you want to send data. This setup works extremely well in the simulator. When working with real hardware you will need to connect it (and your Mac) to the same wifi network. There is currently no public APIs to talk to a docked iPhone OS device. Sent from my iPhone On Feb 11, 2010, at 10:29 AM, Eric E. Dolecki edole...@gmail.com wrote: I am looking at prototyping something and would like an iPhone app to be able to talk with a desktop OS X app. Do something on the iPhone app, it's reflected in the OS X application. And vice-versa. Where might I start for a project like this? Eric ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/rsharp%40mac.com This email sent to rsh...@mac.com -- http://ericd.net Interactive design and development ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: iPhone and OS X apps question
On Feb 11, 2010, at 8:47 AM, Ricky Sharp wrote: Basically Bonjour is used to have the server (Mac app) and client (iPhone) discover each other. Then use whatever networking protocol you want to send data. I wrote an open-source Mac/iPhone networking framework that makes this job easier (both the Bonjour part and the protocol part): http://bitbucket.org/snej/mynetwork/ The API lets you send messages, which are similar to NSDictionaries, and get replies to them. It's asynchronous, and multiple messages and replies can be in flight in both directions. —Jens___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com