Re: how to receive some string from iphone's app to stanalne app on mac?
Re: how to receive some string from iphone's app to stanalne app on mac?
- Subject: Re: how to receive some string from iphone's app to stanalne app on mac?
- From: Carlo Gulliani <email@hidden>
- Date: Mon, 9 Feb 2009 06:41:22 -0800 (PST)
yes, thanks, i have seen this example. but maybe you know how to add some kind of listener, which will listen when data is changed? 'coz in example i should select once again service's name for viewing new data
________________________________
From: Ricky Sharp <email@hidden>
To: Carlo Gulliani <email@hidden>
Cc: cocoa-dev <email@hidden>
Sent: Monday, February 9, 2009 5:14:06 PM
Subject: Re: how to receive some string from iphone's app to stanalne app on mac?
Bonjour is just for discovery. You need to add in network code to send and receive data. Check out the PictureSharing sample code. Not sure of exact names, but there are a few samples you will ultimately need that should have PictureSharing in their name.
Sent from my iPhone
On Feb 9, 2009, at 8:08 AM, Carlo Gulliani <email@hidden> wrote:
> hi, everybody, i've 2 apps: ipone's app and app on my mac.
>
> i wanna receive some message from iphone to my mac's app.
>
> for example, my iphone's app has 2 buttons:
>
> -(IBAction) first
> {
> // here i should send message "FIRST" to mac's app
> }
>
> -(IBAction) second
> {
> // here i should send message "SECOND" to mac's app
> }
>
> i prepared buttons for mac's app with bonjour service and iphone's bonjour service. when i launch mac's app & iphone's app, i seeing that my mac's app has found iphone's app via bonjour, now i should send message, but i don't know how((
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden