Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

What version of Swift?

+1 vote
asked Dec 3, 2018 by Trainz Simulator 2 iPad (130 points)
What version of Swift are onlinegdb using?

1 Answer

+1 vote
answered Sep 1, 2019 by Ryan (1,230 points)
I believe OnlineGDB uses at the highest, Swift 2.1, because it recognizes the __LINE__, __FUNCTION__, etc., attributes that were replaced with #line, #function, etc later on.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.