Alessio Campanelli

Alessio Campanelli

Mobile Developer

Contact Me

Here my protocol

Class .h that contain delegate and that i'll use in my other class

Class .m that contain delegate and that i'll use in my other class

Finally, use delegate implemented in my class! Here .h

Here .m of my class where i implement delegate ( that contain mandatory method)


if i run this code, every 2 second, i'll have log: "opened", "closed" alternately