anonymous No title
No License Swift
2020年04月22日
Copy Clone
    func scrollToBottom(){
        let withTimeInterval = 0.001
        var elapsedTime = 0.0
        let timeOut = 1.0
        Timer.scheduledTimer(withTimeInterval: withTimeInterval, repeats: true, block: { (timer) in
            elapsedTime = elapsedTime + withTimeInterval
            if(elapsedTime >= timeOut){
                timer.invalidate()
            }
            let tableViews = ViewRetriever.retrieve(parentView: self.window?.rootViewController?.view, inspection: {$0 as? UITableView})
            if !tableViews.isEmpty {
                var rowCount = self.user.items?.count ?? 0
                if rowCount == 0 {
                    rowCount = 1
                }
                let tableView = tableViews[0]
                let loadCount = tableView.numberOfRows(inSection: 0)
                if (loadCount == rowCount){
                    tableView.scrollToRow(at: .init(row: rowCount - 1, section: 0), at: .bottom, animated: true)
                    timer.invalidate()
                }
            }else{
                timer.invalidate()
            }
        })
    }
    func scrollToBottom(){
        let withTimeInterval = 0.001
        var elapsedTime = 0.0
        let timeOut = 1.0
        Timer.scheduledTimer(withTimeInterval: withTimeInterval, repeats: true, block: { (timer) in
            elapsedTime = elapsedTime + withTimeInterval
            if(elapsedTime >= timeOut){
                timer.invalidate()
            }
            let tableViews = ViewRetriever.retrieve(parentView: self.window?.rootViewController?.view, inspection: {$0 as? UITableView})
            if !tableViews.isEmpty {
                var rowCount = self.user.items?.count ?? 0
                if rowCount == 0 {
                    rowCount = 1
                }
                let tableView = tableViews[0]
                let loadCount = tableView.numberOfRows(inSection: 0)
                if (loadCount == rowCount){
                    tableView.scrollToRow(at: .init(row: rowCount - 1, section: 0), at: .bottom, animated: true)
                    timer.invalidate()
                }
            }else{
                timer.invalidate()
            }
        })
    }
anonymous
Anonymous
2021年04月25日
Medicines information. What side effects can this medication cause? <a href="https://pregabalin24x7.top">generic pregabalin pills</a> in US Actual news about meds. Read information here.
anonymous
Anonymous
2021年04月26日
Medication information for patients. Cautions. <a href="https://toplyrica.top">can i order cheap lyrica without prescription</a> in Canada All about medicines. Get information here.
anonymous
Anonymous
2021年04月30日
tadalafil vs cialis <a href="https://mycialistabs.com/">is there a generic cialis available in the us</a> prescription free cialis
anonymous
Anonymous
2021年04月30日
viagra cialis levitra <a href="https://mycialistabs.com/">viagra vs cialis vs levitra</a> cialis for daily use cost
anonymous
Anonymous
2021年05月02日
cialis generic timeline <a href="https://toptadalafiltabs.com/">cialis 5mg</a> purchase cialis
anonymous
Anonymous
2021年05月04日
how many years can you take cialis? <a href="https://toptadalafiltabs.com/">tadalafil goodrx</a> over the counter cialis walgreens
anonymous
Anonymous
2021年05月04日
how to write a outline for an essay <a href="https://topessaywriterfas.com/">essay writer cheap</a> college essay topics not to write about
anonymous
Anonymous
2021年05月05日
how to write an essay for graduate school <a href="https://topessaywriterfas.com/">my essay writer</a> how to write an essay harvard
anonymous
Anonymous
2021年05月06日
bwst essay writing service <a href="http://writemyessayslfd.com/">writing college admission essays</a> write better essays
anonymous
Anonymous
2021年05月07日
cheapest viagra <a href="https://mrviagrashop.com">viagra substitute</a> sildenafil 20 mg cost
anonymous
Anonymous
2021年05月07日
service improvement essay <a href="http://writemyessayslfd.com/">professional essay writing service</a> best essay swriting service
anonymous
Anonymous
2021年05月07日
indian viagra <a href="https://mrviagrashop.com">buy viagra online cheapest</a> over the counter viagra substitute walgreens
anonymous
Anonymous
2021年05月07日
roman sildenafil <a href="https://mysildenafilkr.com/">canada viagra</a> viagra triangle chicago
anonymous
Anonymous
2021年05月08日
canadian pharmacy sildenafil <a href="https://mysildenafilkr.com/">sildenafil troche</a> viagra generic cost
anonymous
Anonymous
2021年05月11日
order cialis <a href="http://tadalafilled.com/">cialis versus viagra</a> cialis online without pres
anonymous
Anonymous
2021年05月11日
data analyst cover letter <a href="http://coverletterforresumetop.com/">write a resume for me</a> line cook resume
anonymous
Anonymous
2021年05月12日
fonts for resume <a href="http://coverletterforresumetop.com/">top resume writing services</a> creating a cover letter
anonymous
Anonymous
2021年05月12日
how to get cialis <a href="http://tadalafilled.com/">is there a generic cialis available?</a> what are the side effects of cialis
anonymous
Anonymous
2021年05月12日
good resume skills <a href="https://writingacoverletteronline.com/">cv writing company</a> resume form
anonymous
Anonymous
2021年05月13日
who do i address a cover letter to <a href="https://writingacoverletteronline.com/">resume writing cost</a> good resume skills
anonymous
Anonymous
2021年05月13日
buy viagra online <a href="https://edviagramaster.net/">sildenafil</a> sildenafil citrate 20 mg
anonymous
Anonymous
2021年05月14日
cheapest generic viagra <a href="https://edviagramaster.net/">international viagra online</a> order viagra online
anonymous
Anonymous
2021年05月15日
alternative to viagra <a href="https://sildenafilviagratop.com">sildenafil cost</a> where to buy viagra
anonymous
Anonymous
2021年05月15日
how long for cialis to work <a href="https://cialisortadalafil.com/">cialis free sample</a> cialis for sale online
anonymous
Anonymous
2021年05月16日
cialis and high blood pressure <a href="https://cialisortadalafil.com/">how much is cialis</a> cialis medication
anonymous
Anonymous
2021年05月16日
viagra canadian pharmacy ezzz <a href="https://sildenafilviagratop.com">sildenafilviagratop.com</a> sildenafil 20mg
anonymous
Anonymous
2021年05月16日
how long does cialis last 20 mg <a href="https://topcialistabs.com/">cialis coupons</a> cialis 20mg review
anonymous
Anonymous
2021年05月17日
how much is cialis per pill <a href="https://topcialistabs.com/">canadian pharmacy online cialis</a> cialis not working
anonymous
Anonymous
2021年05月18日
Pills information. What side effects? <a href="https://lyrica24x7.top">cost lyrica pills</a> in Canada Best about drug. Get here.
anonymous
Anonymous
2021年05月21日
<a href="https://5bz.ru/">базы предприятий россии +по отраслям</a>