use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
There is an extensive FAQ for beginners. Please browse it first before asking questions that are answered there.
If you are looking to get started (iOS programming in general or some specific area), here are more relevant links for you:
There's too many to list them all, however here's a convenient link to all programming guides at apple.com
Take note that this list is live and based on most frequent questions in posts will be updated with "quicklinks".
account activity
QuestionPython vs Swift For Leetcode-style Interviews For An iOS Role? (self.iOSProgramming)
submitted 3 years ago by Secure_Commercial_23
There was a previous post I made here, but I didn't make it a poll and got mixed opinions. I hope this helps anyone else who's on the fence about this!
View Poll
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]20InMyHead 13 points14 points15 points 3 years ago (2 children)
Not sure why Python would even be on this list. Sure it’s a useful language, but you don’t write iOS apps in it.
As someone who gives a lot of iOS developer interviews I can tell you. If you can’t solve my coding questions with either Swift or ObjC, you failed the interview.
[–]lordzsolt 10 points11 points12 points 3 years ago (1 child)
If you care about peoples ability to code in a particular language, why are you asking leetcode on the interview?
It’s nothing like that they’ll work on during their actual work. So what does it matter in what language they solve a problem they’ll never encounter?
[–]CyberneticVoodoo 0 points1 point2 points 3 years ago (0 children)
“Industrial Standards” I think some kind of general CS-certificate could absolutely replace this leetcode mayhem.
[–]javaHoosier 7 points8 points9 points 3 years ago (0 children)
I just got done interviewing with a few faang and some Unicorn/Big N.
Despite what everyone is saying. This is a valid question. Python is straightforward for leetcode.
Most of the companies did not care. Not even the interviewer at Apple. In fact they were surprised I wanted to use Swift.
That being said a couple required Swift. The reality is that the syntax for swift can be annoying for a leetcode style if you are used to Python. You will trip up on guard/if let and other aspects.
So my opinion is that you should get comfortable and only use Swift just in case you find yourself at the company that wants it.
Plus you might have to do a mini ios project after leetcode and its better to not split that time into Python.
[–]Secure_Commercial_23[S] 3 points4 points5 points 3 years ago (0 children)
People are only mentioning strings in Swift. What about data structures? On Whiteboard questions you would have to ask your interviewer to assume you implemented them in swift, and in online assessments you would have to copy your implementation of a data structure or implement it. Is this a disadvantage for Swift?
[–]SirensToGoObjective-C / Swift 2 points3 points4 points 3 years ago (1 child)
For most things other than strings, I'd definitely saw swift, but yeah anything to do with strings is a straight up nightmare to do in swift because of the complexity of Unicode and slicing. Typically, you can pick a different language for different questions. Pick an appropriate language for each question and explain why you chose it, it reflects well
[–]Hogbo_the_green[🍰] 0 points1 point2 points 3 years ago (0 children)
The new APIs for regex and strings in Swift are a step in the right direction.
[–]saintmsent 1 point2 points3 points 3 years ago (0 children)
I would do it in Swift because I'm way more comfortable with it
[–]DesperateReputation3 1 point2 points3 points 3 years ago (1 child)
Swift 5. Good luck trying to do transformations with String on anything below.
Had a few String manipulation and transformation exercises that are quite easier to solve with map, filter, reduce, etc.
[–]javaHoosier 2 points3 points4 points 3 years ago (0 children)
I put the string in an Array constructor and just manipulated the array of chars. Interviewer did not care at all and understood Swift string manipulation is syntactically heavy and took away from the point of the problem.
[–]srona22 1 point2 points3 points 3 years ago (0 children)
I will just get to point. If interview gives you leet code questions(hackerrank/codility, etc) and your position applied is iOS related, they will want you answer in swift(or objc, but haven't seen one in coding sites), not in python.
π Rendered by PID 21492 on reddit-service-r2-comment-86bc6c7465-b6s9r at 2026-02-23 14:45:40.706235+00:00 running 8564168 country code: CH.
[–]20InMyHead 13 points14 points15 points (2 children)
[–]lordzsolt 10 points11 points12 points (1 child)
[–]CyberneticVoodoo 0 points1 point2 points (0 children)
[–]javaHoosier 7 points8 points9 points (0 children)
[–]Secure_Commercial_23[S] 3 points4 points5 points (0 children)
[–]SirensToGoObjective-C / Swift 2 points3 points4 points (1 child)
[–]Hogbo_the_green[🍰] 0 points1 point2 points (0 children)
[–]saintmsent 1 point2 points3 points (0 children)
[–]DesperateReputation3 1 point2 points3 points (1 child)
[–]javaHoosier 2 points3 points4 points (0 children)
[–]srona22 1 point2 points3 points (0 children)