-> added most of functionality (resolving IP, extracting MAC address from IP)
-> bridged Obj-C code to Swift