title: Adding an UIImageView into the Subview
body: <p>I have a function which is meant to be adding things into the Subview.</p>
  
  <pre><code>    func addView(object: UIImageView){
          view.addSubview(object)
      }
  </code></pre>
  
  <p>In another class I got a function, that want to use the add function. </p>
  
  <pre><code>    var field = UIImage(named: "Picture.png")
      var field1 = UIImageView(frame: CGRectMake(fieldX, fieldY, fieldWidht, feldLength))
      field1.image = field
      addView(field1)
  </code></pre>
  
  <p>The problem I have is saying: </p>
  
  <blockquote>
    <p>Use of unsolve identifier 'addView'</p>
  </blockquote>
  
  <p>in the same line where I try to get the access on this function: <code>(addView(field1))</code>.</p>