title: Swift - Assign Function to ToolBar Button Item
body: <p>I have used a tool bar on the storyboard and i have some custom buttons on it.
  How can I assign these buttons to the functions created in the Viewcontroller?</p>
  
  <p><a href="https://i.stack.imgur.com/xRlOE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xRlOE.png" alt="enter image description here"></a></p>