All that matters is that they have an IBOutlet
, and are declared correctly for the ui element you are trying to connect to. A @property
isn't essential (but is good practice). You can have the IBOutlet
on either the declaration, the @property
, or both.
Buttons in a toolbar are UIBarButtonItems; buttons on a plain view are UIButtons. They are different things. You seem confused on this issue, so please double check your code.
Paul Lynch
2010-04-09 18:20:52