Re: inter-object communication
Re: inter-object communication
- Subject: Re: inter-object communication
- From: Charles Steinman <email@hidden>
- Date: Tue, 28 Oct 2008 23:30:50 -0700 (PDT)
----- Original Message ----
> From: Albert Jordan <email@hidden>
>
> What is the recommended way for Object B to inform Object A that it is
> done processing a request for the following scenario?
>
> Object A has a list of phone numbers to send SMS messages
> Object B implements sending an SMS message to a given phone number
I think a delegate is the usual Cocoa pattern for this kind of situation. You could have Object B send Object A an -objectB:didSendSMSMessage:toNumber: message or something along those lines.
Cheers,
Chuck
_______________________________________________
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