The difference between animateWithDuration and transitionWithView

I am currently focusing my effort on learning how to create animations in iOS. I started reading and following along with Marin Todorov book, iOS Animations by Tutorials.

So far I am really enjoying the book. In an attempt to better understand the concepts in the book and make them stick in my head, I have been coding sample applications and plan on blogging on the subject. The first of these blog posts, based on a question which popped into my head, “what is the difference between animateWithDuration and transitionWithView?”

Read more

Better Completion Handlers In Swift

So it has been almost a week since iOS Dev UK in Aberystwyth. The last session I attended was Power Swift which was run by Natasha the Robot. I have been looking at writing better Completion Handlers in Swift.

Within the session Natasha helped us through a series of Playground files on: ‘Error Handling’, ‘Higher Order Functions’, ‘Protocol Orientated Programming’, and ‘Reference Types vs. Value Types’. One thing that struck me is the approach to completion handlers. An approach which pushes beyond merely copying the Objective-C way of doing things and embraces the Swift language and brings out of the Swift Architect within you.

Read more

A Summary of iOS Dev UK

iOS Dev UK 5

I am just back from a week at iOS Dev UK 5 and what a week it was. It is only when you attempt to provide a summary of all the sessions that you attended during the week that you realise the amount of sessions and the quality of sessions on over at iOS Dev UK. Looking forward to next year already.

Read more

Inspecting Mobile App Traffic Using Charles Proxy

There are many reasons you may want to inspect mobile app traffic using Charles Proxy. You may want to change the responses which come from your server during testing. You may want to see how your favourite app works. In this tutorial I am going to show you how you can use Charles Proxy to inspect mobile traffic.

Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet. This includes requests, responses and the HTTP headers (which contain the cookies and caching information).

Read more