Apr 15, 2017
Sometimes we need to reuse the same UI element on few different screens. Let’s say you want to present your custom navigation bar or tab bar. The usual approach is to use child view controllers: create a separate custom UIViewController
for navigation bar, then add it as a child view controller. In this article I’ll explain how to reduce the amount of boilerplate code needed to handle this child view controller and make it highly reusable.
Note: by reusing here I don’t mean reusing an instance of the child view controller, but rather reusing the child view controller class.
Mar 13, 2017
In this article I’m going to cover how to find the closest point on UIBezierPath for an arbitrary point on the plot. I have found a theoretical basis of the implementation in a great material about Bezier paths: A Primer on Bézier Curves - Projecting a point onto a Bézier curve. It explains how to find the projection of a random point onto a curve with using lookup table approach. Lookup table is a sequence of points along the path. Also the author provides a JavaScript implementation using his own library.
Feb 20, 2017
In iOS 10 Apple has introduced prefetching API for UITableView
and UICollectionView
. In this article I’d like to cover what is it for and how to properly use prefetching for UITableView
.
Nov 19, 2016
Recently I’ve released iOS social network app template called Socium. Here I’d like to share with you my knowledge learned from developing it.
Aug 4, 2016
One of important features missing in Parse Server is background scheduled job functionality. In this doc Parse Team recommends us to use kue for this purpose. Well, let’s check it out!
kue is open source Node.js module, developed for managing a priority job queue. However, it doesn’t allow to schedule jobs out of the box, so we’ll need another utility called kue-scheduler for this. Both of them are easy to install and use.
Subscribe via RSS