Просмотр исходного кода

Merge pull request #247 from frankctan/master

fixed typo in documentation
Wei Wang 10 лет назад
Родитель
Сommit
b45bbd5ba2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Sources/ThreadHelper.swift

+ 1 - 1
Sources/ThreadHelper.swift

@@ -30,7 +30,7 @@ func dispatch_async_safely_to_main_queue(block: ()->()) {
     dispatch_async_safely_to_queue(dispatch_get_main_queue(), block)
 }
 
-// This methd will dispatch the `block` to a specified `queue`.
+// This method will dispatch the `block` to a specified `queue`.
 // If the `queue` is the main queue, and current thread is main thread, the block 
 // will be invoked immediately instead of being dispatched.
 func dispatch_async_safely_to_queue(queue: dispatch_queue_t, _ block: ()->()) {