I called function of one view controller class from other view controller in nib file using first responder before.But now I want to do it programatically.
Suppose,I have a 2 controller class named A and B.where B is root controller.I have a button(added programatically)named (Btn) in my A controller class.now I want to call function( FuncB) of Class B when I pressed Btn of Class A.how can I do this??
I dont have any nib file in my class A. plz someone ans my question. Advanced thanks for ur reply.