Head over to my blog to read the best version of this post 👍
I recently discovered the utility of the snippet feature in Xcode. Currently I’m mainly developing my apps with Swift and doing the UI programmatically. That’s a lot of boilerplate code and I am bored to always type the same short bit of code for each of my views.
For a detailed description of a snippet, you can check the NSHipster post that explains well and is still relevant.
TL;DR: A snippet is a small bit of reusable code or text.
Xcode already provide some snippets for…
Head over to my blog to read the best version of this post 👍
When you are developing an iOS application you will often have to fetch images from a CDN and this can take time depends on the size of the image, the server speed and the network connection of the device. During this fetch time your UI will already be rendered and you want to display a visual indicator of the image fetching progress. On iOS you have the default UIActivityIndicatorView
. It works, but you can easily create a new one more personalised.