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

Matrix
  • 7,477
  • 14
  • 66
  • 97

1 Answers1

1

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

Cocoa Custom Notification Example

Community
  • 1
  • 1
Peter DeWeese
  • 18,141
  • 8
  • 79
  • 101