title: Where to put reusable functions in IOS Swift?
body: <p>New to IOS programming but just wondering where is the best place to put functions that I would use throughout my code. For example, I want to write a few functions to perform a POST request to a web service and return a dictionary. Maybe another function to do some calculations. Is it best to create another .swift file and put all my functions there. And what would be a good name to give the file if so? </p>
  
  <pre><code>public func postRequest() -&gt; [String:String] {
       // do a post request and return post data
       return ["someData" : "someData"]
  }
  </code></pre>