pinkstone.co.uk
How to create a UIBarButtonItem in code and make it call a method
Some things are really easy to do via a Storyboard – but when you want to create the same thing in code I frequently forget how to do it. Turns out it’s equally simple: this example ass…