Pātuhitia tēnei: Nevanlinna theory and its relation to Diophantine approximation