What am I missing with “unrecognized selector sent to instance”?

Your method name is addAccount but you're calling addAcount with just One c in Account. And this method does not exist in your AccountListViewController, just a typo ;-).

Haven't been able to find misspelling... – 5lb Bass May 1 at 11:06 It's in Interface Builder in the button connection. You've got the button action bound to AccountListViewController addAcount instead of AccountListViewController addAccount (AccountListViewController addAc**c**ount) – TechZen May 1 at 14:30 1 Yes, most likely the method name had this typo when you created the connections in interface builder, and you forgot to reconnect to the new name there. The next time you fix a typo in your code, right click the method name and use Refactor..., this will also rename the action signature in Interface Builder for you.

– fluchtpunkt May 1 at 14:55 Thank you. I was a "little" confused as I kept "thinking" I was missing something in IB. I wasn't.

I progammatically created my + button in the viewDidAppear method and had the addAcount misspelled there. Thanks again for your assistance and thanks for the tip about using refactor. – 5lb Bass May 1 at 6:13.

You seem to have misspelled addAccount as AddAcount.

1 You seem to have misspelled addAcount as AddAcount (with a capital A). – Nikolai Ruhe May 1 at 11:04 Couldn't find misspelling... – 5lb Bass May 1 at 11:05 Spell account with 2 'c's instead on one. – icnivad May 1 at 14:58.

The normal signature for IB actions is -(void)action:(id)sender Try -(void)addAccount:(id)sender.

In Cocoa-Touch action selectors do not need to take an argument. – Nikolai Ruhe May 1 at 11:02 No change in behavior; same error message – 5lb Bass May 1 at 11:03 Actually, Warren is right. You should bind the + button action to addAccount: not addAccount.

That's also what the error message is telling you, not that the implementation of the addAccount method is wrong but that it can't find said method. Adjust the signature and the binding and all will be well. – Elise van Looij May 1 at 11:43.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions