下面節錄白鬍子第9堂課程的程式碼
fileprivate var twitterRequest: Twitter.Request? {//為何這裡可以加閉包?
if lastTwitterRequest == nil {
if let query = searchText, !query.isEmpty {//這裡也看不懂?
return Twitter.Request(search:query + "-filter:retweets",count:100)
}
}
return lastTwitterRequest?.requestForNewer
}