By default buttons in iOS do not animate, although you can set different properties for their different states. This simple piece of code can be attached to any button to give it a slight size animation, giving the user the feedback they need to know your button has been pressed. Continue reading “Animate your iOS buttons on touch”
Hot on the tail of the iOS 10 release, Apple also updated Swift to version 3 and Xcode to 8.0. Facebook’s SDK for Swift can be a little tricky to set up with all this so here’s a quick run-through of all the things I am aware of at this time. Continue reading “Facebook SDK with Swift 3 and Xcode 8.0”
If you are trying to add IAP (In-App Purchasing) to your iOS app, you may have stumbled across this little hurdle. Continue reading “SKPaymentTransactionObserver Error – Does Not Conform To Protocol”
Just a quick post this time, for those of you looking to add sharing into your App.
Apple have done a great drop adding sharing into their OS. It couldn’t be easier to add it in to your app with just three lines of code. Continue reading “Add Sharing to your iOS App”
I find it really frustrating that there’s no built-in Hex colours in Swift. It means I have to convert my usual simple values into RGB. What makes this more annoying is that the UIColor function accepts Float values between 0 and 1, meaning you then have to convert those to some ridiculous floating number. Continue reading “Simple UIColor references in Swift”