One of the many things iOS developers need to do over and over again is to display a UIActivityIndicatorView in a UIViewController.
However, most of the time this seems to be accomplished by adding a UIActivityIndicatorView to each controller, which does not adhere to the DRY
Thankfully, using Swift extensions, it is very easy to create a global activity indicator.
RESTful APIs often return json dictionaries with keys formatted using snake_case, particularly for back-ends build in Ruby or Python frameworks.
However, Swift typically uses the camelCase convention for object properties, which can make converting json responses to Swift objects a
little too verbose.
Never fear, with a few quick extensions you can make this conversion a breeze.
Welcome to my personal blog where I’ll sporadically and infrequently post about Hilenium and neat Swift and Symfony2 tools and resources that I come across.
A word about Hilenium
Julian, my business partner, and I decided to build Hilenium to help agencies and marketers work better together.
Between us we have decades of complementary experience, with Julian having built a successful web agency and I having worked as a CMO and senior marketer in a range of companies and successful startups.
Together, we will make it easier for agencies and marketers to pitch ideas, collaborate on projects and deliver exceptional marketing outcomes.