Build a #realtime counter using #swift
▻https://hackernoon.com/build-a-realtime-counter-using-swift-9008c3aa9a9c?source=rss----3a8144ea
A basic understanding of Swift and Node.js is needed to follow this tutorial.One of the most common elements on applications (web or otherwise) is counters. YouTube, for instance, uses counters to see how many people have viewed a particular video. Facebook also does the same for videos on their platform.Most of the counters on these sites, however, only update the count when you have refreshed the page. This leaves a lot to be desired, as sometimes you just want to see the number increase in realtime. This gives you the impression that the item is being viewed by many people at the moment.In this article, we are going to explore how we can leverage the realtime nature of #pusher to create a counter that updates in realtime. We will be creating a video viewer #ios application with a (...)