Recent estimations project that global gross app revenue will double to reach $102 billion by 2020.
Encode and Decode Manually ✏️There exist scenarios when the structure of your Codable Type differs from the structure of its encoded form, for example:
Recently I decided to make some of my custom made iOS controls open source. Thus I fire up my Xcode, select “Create a new Xcode project” and then I am stuck… What project template should I choose? I will have to make my custom control a Cocoa Touch Framework, but at the same time I also need an example app for testing as well as showcasing my cool custom control after published to Github.
I’ve just spent a whole week shifting my Swift projects from using custom JSON parsers to Decodable(while removing a lot of code! 🎉), this post showcases what I’ve learned along the way.
I can’t for the life of me think of an intro, so…
Using dropdown menus in forms might seem a no-brainer: they don’t take much space on the UI, they automatically validate the input, all browsers and platforms support them, they’re easy and cheap to implement, and the users know them well enough.
The UINavigationBar, navbar for short, has been around since the original iPhone. Historically, navbars have been convenient and clear, easy to understand and easy to build.Then phones ballooned, enough that the iPhone 7 Plus supplanted sales of the iPad mini. Now, if you own a modern iPhone, navbars can feel unwieldy — literally out of touch.
Tim Cook started the most recent Apple event with a bold claim that “Technology should be accessible to everyone.” He then unveiled a new accessibility site that allows you to explore all the accessibility features built into Apple’s many products. They show you what these tools look like in the real world.
A memory leak occurs in an iOS app when memory that is no longer in use is not properly cleared and continues taking up space. This can hurt app performance, and eventually, when the app runs out of available memory, will cause a crash. In order to better understand how memory leaks happen, it’s important to first know how iOS apps manage their memory.
Five years ago, universities like MIT and Stanford first opened up free online courses to the public. Today, more than 700 schools around…