Simple use of MJRefresh in a swift project in iOS development
Copyright: This is an original post by the blogger and may not be reproduced without the blogger's permission. https://blog.csdn.net/u010105969/article/details/80091745
To use a refresh control in a swift project, the advice on the internet was still to use MJRefresh directly, so I imported MJRefresh in a swift project and used it.
(MJRefresh is inherited into the project using cocoaPods, and although MJRefresh is the OC version, it can be used directly in swift projects without bridging)