The Mac is a little different. It's unlikely that utilizing a non-Apple adapter will damage your battery. Additionally, third-party chargers for the iPhone and iPad are widely available. Therefore, it's preferable to choose an Apple charger, especially for MacBooks with MagSafe ports.