Convert NSUUID to UnsafePointer<UInt8>
<p>Following the update to Swift 3, it appears both <code>getUUIDBytes</code> and <code>getBytes</code> are not available on the <code>UUID</code> object.</p>

<pre><code>let uuid = UIDevice.current.identifierForVendor
let mutableUUIDData = NSMutableData(length:16)
uuid.getBytes(UnsafeMutablePointer(mutableUUIDData!.mutableBytes))
//   ^^^ compiler error, value of type UUID? has no member getBytes
</code></pre>

<p>I get this error even when <code>getBytes</code> is listed as a method on UUID in the documentation: <a href="https://developer.apple.com/reference/foundation/nsuuid/1411420-getbytes" rel="nofollow">https://developer.apple.com/reference/foundation/nsuuid/1411420-getbytes</a></p>