Question: how to transfer files from one mac to another via wifi?
Answer: Open Finder on both Macs, on the left you'll see the AirDrop icon with the parachute and box. Click that on both macs and you should see each other. Then just drag files to the other computer's picture. You don't even have to be on a wifi network at all, you just have to have wifi enabled on both Macs.