title: Use Elements of Array as Input for Class which needs a String
body: <p>I have a class from <a href="https://github.com/szk-atmosphere/URLEmbeddedView" rel="nofollow">URLEmbeddedView</a> which performs an operation on a given String. However I'm trying to use this <code>class</code> for a bunch of Strings after each other, and not just one. I prepared an <code>Array</code> of <code>String</code>, and now I want to perform this class on each element of an <code>Array</code>.</p>
  
  <p>The code:</p>
  
  <pre><code>var linkArray = [String]() //Contains bunch of Elements
  
  OGDataProvider.sharedInstance.fetchOGData(urlString: TheUrlString) { [weak self] ogData, error in
              if let _ = error {
                  return
              }
  
              let pageTitle = ogData.pageTitle
              Cell.titleLabel.text = pageTitle
  }
  </code></pre>
  
  <p>So instead of <code>TheUrlString</code> I want to have my array, as I need the pageTitle for each element in that array. How can I accomplish this? Is it possible to use an if which loops through every element?</p>