c++ - NSTimer、NSThread 和 NSRunloop 之间区别?
ringa_lee
ringa_lee 2017-04-17 11:06:16
0
1
540

NSTimer、NSThread 和 NSRunloop 之间有些什么区别,NSTimer与NSThread之前的关系?

ringa_lee
ringa_lee

ringa_lee

reply all(1)
左手右手慢动作
  • NSTimer: timer object, method call in the future selection object.
  • NSThread: thread class. That is, create a thread.
  • NSRunLoop: In fact, the essence of NSRunLoop is a message mechanism processing mode. In a sense summarizes and adapts a selection of Unix system calls, manages and schedules input source events and thread timers.

Reference link: stackoverflow

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template