title: Encapsulation of logic and interface on iPhone SDK
body: <p>I assume this is going to be a very basic question, but maybe somebody can help me. I've come to iPhone SDK from a C# .NET background.</p>
  <p>I would like to know if there is some mechanism similar to what is called in ASP.NET &quot;UserControl&quot; which encapsulates logic and interface. It would be desirable to launch &quot;events&quot; too.</p>
  <p>I'm trying to design something like a common header for the entire application, which shows different types of buttons depending of the view where it is placed.</p>