I am trying to load my next screen with (nib) file. whenever I am clicking on button I am getting an error EXC_BAD_ACCESS in onjcSend_disassembly_0x0109809b.nasm.
I also see when I was trying to connect my buutons with FilesOwner in interface builder, I was not getting it to connect. So I connect with function by the “First Responder” option. Why it was not connecting with FilesOwners.
sometimes it being load perfectly but maximum time I am getting error message.
And also please know me about the above error and problem?
I am seeing one error message in interface builder is that “setting does not have outlet view” where Setting is my class name (setting.xib.)
I think there are lot of issues in your question
If you want to connect a button via interfacebuilder you have to declare the button in the .h file as
This IBOutlet Indicates the Interface Builder that there is going to be a button placed in xib.
Dont connect anything to the FirstResponder
if you see this error “setting does not have outlet view” then in your xib you have removed the outlet connected to you View.
To Solve this right click the view in you xib and drag the New Referencing Outlet connector to the file owner. then select the view property there.
When you touch a button
You must have a IBAction to the button to assign via Interfacebuilder.
in your .h
Now rightClick the button in your xib. choose TouchUpInside connector and drag to fileowner you can see the onTouchEvent pops out.