i’ve implemented a transition methood in my app delegate file and from every where in the
code i want to call it in order to make nice and cool transitions. i call her like that
[[[UIApplication sharedApplication] delegate] transFromMainToGalery];
for example.
the problem is that im getting warning which is ok (cause it already got approved by apple)
but i still want to fix it
the error:
‘-transFromMainToGalery’ not found in the protocol
any ideas??
thanks in advance!
In your myAppDelegate.h file, make sure you have:
Then cast the generic app delegate returned by the sharedApplication delegate to your specific app delegate class:
Also include myAppDelegate.h in the header of your various other classes which use this message.
(substitute your app delegate class and file name for “myAppDelegate” as needed)