The iTunes library on your computer can be shared with an iOS device such as the iPhone. Both the computer and iPhone must be connected to the same Wi-Fi network.