I want to communicate between my different modules using events.
Is there an event mechanism in IOS? I’m looking for something similar to BroadcastReceiver in Android.
Thanks.
PB.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
between different modules in the same process:
here NSNotification is cool:
http://mobile.tutsplus.com/tutorials/iphone/ios-sdk_nsnotificationcenter/
between processes
IOS does not offer any real dedicated means to do this. BUT you can (many do) use custom url schemes for that:
http://mobile.tutsplus.com/tutorials/iphone/ios-sdk-working-with-url-schemes/