简体   繁体   中英

How to use Activity Trace with Swift under iOS or OS X

I am trying to figure out how to use Activity Tracing with Swift under iOS and OS X. Has anyone managed to do this and if so can you provide details of what the Swift API is and where the documentation would be found.

Thanks

Please refer the following link. https://www.objc.io/issues/19-debugging/activity-tracing/

It is mentioned that "If you want to use it now within a Swift project, you would have to create an Objective-C wrapper around it and make this API accessible in Swift using the bridging header."

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM