Asynchronous block be called in function, add these multiple functions into a group,process all results of blocks when all block execute completely.Is there a common and smart method to implement?
like dispatch_group_notify ,completionBlock
答案 0 :(得分:0)
str.replace(/([.?!])\s*(?=[A-Z])/g, "$1|").split("|")