I have a signupcontroller
for which I check if user is logged in , if not then I present it in appdelegate
, also as this signupcontroller
has been subclassed for customisation hence delegates
are being used to talk to events like input validation before sending to server, my question is how set a delegate in appdelegate
on a UIViewController
?(can't use signUpController.delegate = self
;) It shows a warning "sending 'xxxviewcontroller strong' to a parameter of incompatible type 'id
Simply Put I want to set some view controller as delegate not in that view controller but in appdelegate