title: how do I create an objective-c method that takes a view as an argument?
body: <p>I have some code that instantiates a number of things. This code needs to be added to a view. I therefore need to be able to call a function with a view parameter and then set my code to that view in the method body.</p>
  
  <p>What are my options for doing this? I've read that you can use delegates? But not really sure how.</p>