Carregar mais depois de chegar ao fundo do UITableView

Para o meu aplicativo, estou usando uma propriedade "carregar mais na parte inferior", como abaixo. Na verdade, funciona bem; o único problema é que, quando um usuário alcança o alvo, enquanto a função carregar mais está funcionando, para o usuário parece que o aplicativo está congelando por um tempo, pois não há exibição de animação como noUIRefreshcontrol. Como faço para exibir a animação até que os novos dados sejam carregados. Eu achei algunsUIBottomrefreshcontrol propriedades como bibliotecas separadas, mas todas elas estavam no Objective-c.

override func viewDidLoad() {
    super.viewDidLoad()

   refreshResults()

 }

 func refreshResults() {


    refreshPage = 40

    // here the query starts
}


func refreshResults2() {

     // here the query starts to add new 40 rows of data to arrays

}


func tableView(tableView: UITableView, willDisplayCell cell: UITableViewCell,     forRowAtIndexPath indexPath: NSIndexPath) {

    if indexPath.row == refreshPage-1 {
        refreshPage = refreshPage + 40

        refreshResults2()

    }
}

questionAnswers(2)

yourAnswerToTheQuestion