Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to swift 4.2 #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Updated to swift 4.2 #11

wants to merge 3 commits into from

Conversation

FelipeCardoso89
Copy link
Owner

No description provided.

fileprivate var activityIndicatorView: UIActivityIndicatorView!
private var originalDelegate: UIScrollViewDelegate?
private var activityIndicatorView: UIActivityIndicatorView = {
let indicatorView = UIActivityIndicatorView(style: .gray)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

    let indicatorView = UIActivityIndicatorView(activityIndicatorStyle: .gray)

@objc fileprivate func didValueChange(sender: AnyObject?){
setLoading(isLoading: true)
addSubview(activityIndicatorView)
bringSubviewToFront(activityIndicatorView)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

    bringSubview(toFront: activityIndicatorView)

@@ -75,7 +81,6 @@ extension UILoadControl {
Initilize the control
*/
fileprivate func initialize(){

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

initialize() { (with space please)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and other methods where (){


extension UIView {

public func swizzleMethod(from original: Selector, with method: Selector) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method is not used. Not needed.

@NikKovIos
Copy link

Found typo in comment: Update layout at finsih to load.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants