I have a macbook 12', with "AV Multiport adapter":
- the USB-C port is used for charging
- the HDVI port for the monitor
- and the USB-A is used to charge my iPhone (and to work with xCode).
I'm using the iPhone cable (USB-A to lightning plug), that is provided with the iPhone charger.
Is this configuration fine? Or am I going to damage the iPhone battery? I guess I have lower performance, but that's not an issue for me, as long as it works fine.