title: Difference between static function and singleton class in swift
body: <p>I want to create a class where all utility methods will be kept and these methods will be used throughout the app.<br>
  <strong>Problem:1</strong><br>
  Is it good to create a singleton class and keep all necessary methods there or should I create a class where all function will be static.<br>
  <strong>Problem:2</strong><br>
  What is main difference between above two approaches in swift ?<br>
  <strong>Problem:3</strong><br>
  How it will impact performance and memory in iOS?</p>