BEST COLLECTION OF IOS INTERVIEW QUESTIONS WITH ANSWERS.
Thursday, January 18, 2018
What is the difference between functions and methods in Swift?
Both are functions in the same terms any programmer usually knows of it. That is, self-contained blocks of code ideally set to perform a specific task. Functions are globally scoped while methods belong to a certain type.