This kind of question is more appropriate for the swift-users list.

(Additionally, please do file a bug at bugreport.apple.com for updated 
documentation!)

Jordan


> On Dec 8, 2016, at 03:17, Vincent Jousse via swift-evolution 
> <swift-evolut...@swift.org> wrote:
> 
> Hi,
> 
> I’m migrating some code from swift 2 to swift 3, and I use the CoreMedia 
> timebase API (CMSync). One of the functions I use is 
> CMTimebaseAddTimerDispatchSource whose documentation 
> (https://developer.apple.com/reference/coremedia/1489429-cmtimebaseaddtimerdispatchsource
>  
> <https://developer.apple.com/reference/coremedia/1489429-cmtimebaseaddtimerdispatchsource>)
>  has not been updated and commands to use old swift 2 code 
> (dispatch_source_create( DISPATCH_SOURCE_TYPE_TIMER, 0, 0, 
> some_dispatch_queue )).
> Is creating a timer source with DispatchSource.makeTimerSource() and casting 
> it to DispatchSource the right way to go ?
> 
> Vincent
> _______________________________________________
> swift-evolution mailing list
> swift-evolut...@swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to