xcode怎么扫描当前所有无线网络,并加入其中一个网络

xcode如何扫描当前所有无线网络,并加入其中一个网络
如题,求高手解答,谢了。

------解决方案--------------------
https://github.com/devinshively/wifiAssociate