swift how to set warning message

Swift
#warning("TODO: Clean up this code after testing")
Source

Also in Swift: