This is really cool, and you can use some of the unique smart instrument touch interfaces. If you download the free Logic Remote app for iOS (it works with GarageBand despite the 'Logic' name), you can actually play your GarageBand instrument via Wi-Fi using the touch interface on iPad (sorry not for iPhones). The M Audio website should tell you that. Check in the Audio MIDI Setup utility if your system recognizes the Keyboard, or if you need a Driver. To connect the M Audio to your iMac, just connect it to the USB port (I guess the M audio has a USB port too). For your iPhone, you need a MIDI to Lightning connector interface.