Tail recursion in swift
Example on what it is and how to avoid call stack overflows.
Published in
4 min readJul 19, 2021
So far as an iOS developer I’ve had little contact with call stacks outside of what I’ve learned at university. Most of the applications I have worked on weren’t very resource intensive. I have worked on complex apps, but the complexity was mostly about providing good user experience.