http://stackoverflow.com/questions/26947608/waituntilalltasksarefinished-error-swift
func checkLogin(succeed: Bool, msg: String) {
if (succeed) {
NSOperationQueue.mainQueue().addOperationWithBlock {
self.performSegueWithIdentifier("logInTrue", sender: self)
}
}
}
沒有留言:
張貼留言