title: How to programmatically check if Mac is connected to Wi-Fi network?
body: <p>I'm able to check if my Mac is connected to Internet using Reachability, but I don't understand how to specifically check Wi-Fi connection. Any tips or Swift/Objective-C code are appreciated, thanks in advance.</p>