tags:

views:

18

answers:

1

I have written custom delegate methods in ClassFile(B), now i am calling them from ClassFile(A), now i want to notify Class(A) when class(B) delegate methods complete its execution.

How can i do in Objective C (in Iphone SDK) ??

A working sample example will be more appreciable.

Thanks

+1  A: 

You can use notification, selectors, blocks, or simply store a pointer to Class A in Class B. Here is a notification example:

http://stackoverflow.com/questions/842737/cocoa-notification-example

Peter DeWeese