Upgrading code to Swift 3.0/ Xcode 8 .
I see there is a depricated method: OSAtomicAdd32 . The note in the header says to look in stdatomic.h for atomic_fetch_add_explicit. If I do a search its in:
./Developer/Toolchains/Swift_2.3.xctoolchain/System/Library/PrivateFrameworks/LLDB.framework/Versions/A/Resources/Clang/include/stdatomic.h
./Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/8.0.0/include/stdatomic.h
./Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-migrator/swift/clang/include/stdatomic.h
./SharedFrameworks/LLDB.framework/Versions/A/Resources/Clang/include/stdatomic.h
Its not in /Applications/Xcode.app/Contents/Developer/Platforms so is this not part of the iOS SDK? ( I guess so lol )
If I try to type it in the editor, its not auto completing. No luck there. If I search the Xcode documentation there are no results in Xcode 8.0 (8A218a) GM.
Any hints/clues what to import or link to would be appreciated.