Yes, I realized this only applies to OS X when reading the code below, so that's fine. I think Apple does not use NFC directly, but some special variant, but this should be a good approximation.