Skip to content

Commit af39909

Browse files
committed
Update GlobalExtensions.swift
1 parent 8ba2885 commit af39909

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Pod/Classes/GlobalExtensions.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2222
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2323
// SOFTWARE.
24-
//
24+
//
2525

2626
import Foundation
2727

@@ -58,7 +58,7 @@ public extension NSObject {
5858

5959
Int64(delay * Double(NSEC_PER_SEC))
6060

61-
), GlobalMainQueue, closure)
61+
), dispatch_get_main_queue(), closure)
6262

6363
}
6464

@@ -84,7 +84,7 @@ public func delay(delay:Double, closure:(() -> Void)) {
8484

8585
Int64(delay * Double(NSEC_PER_SEC))
8686

87-
), GlobalMainQueue, closure)
87+
), dispatch_get_main_queue(), closure)
8888

8989
}
9090

0 commit comments

Comments
 (0)