How to Make Automatic Trigonometry Calculations in Swift

Improve your code with this simple function for Swift!

Margels
Better Programming
Published in
4 min readMay 23, 2022

--

Thanks Lea for this lovely image!

Nobody likes maths and that’s a fact. So what can we do to eliminate it from our lives completely? No, it’s not robots. Maybe one day I’ll be writing about those, too. Who knows! But for now, you’ll have to settle with functions and formulas.

--

--