blob: a350683906484810952432eb8a2b32e8774120fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//
// dispatch_timer.h
// MobileNav
//
// Created by Muller, Alexander (A.) on 5/12/16.
// Copyright © 2016 Alex Muller. All rights reserved.
//
#ifndef dispatch_timer_h
#define dispatch_timer_h
#include <stdio.h>
#include <dispatch/dispatch.h>
dispatch_source_t dispatch_create_timer(double afterInterval, bool repeating, dispatch_block_t block);
void dispatch_stop_timer(dispatch_source_t timer);
#endif /* dispatch_timer_h */
|