An easy way to implement pull-to-refresh feature based on UIScrollView extension, written in Swift 4.