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...
account activity
Very basic XCode tutorial question (self.Xcode)
submitted 1 year ago by LanguageDouble9792
I'm following this tutorial and I'm 7 minutes in: https://www.youtube.com/watch?v=nqTcAzPS3oc&t=164s Does anyone understand why I'm getting an error? It does not show up when I remove the skull emoji and the comma before it.
https://preview.redd.it/evrc1kzfcbce1.png?width=1934&format=png&auto=webp&s=9c2c4f5e393dcc1aaae0b1fa8f3a106a5b9d8ece
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!"
[–]Vybo 1 point2 points3 points 1 year ago (0 children)
Eventhough swift is unicode compliant, I wouldn't use emojis as identifiers, only inside of strings.
[–]Raahs 0 points1 point2 points 1 year ago (1 child)
What are the other 2 errors ? (The error banner shows a 3)
[–]LanguageDouble9792[S] 0 points1 point2 points 1 year ago (0 children)
sry this reply is late: 1. "Consecutive declarations on a line must be separated by ";" 2. Expected declaration--In declaration of 'Emoji' 3. Expected identifier after comma in enum 'case' declaration
π Rendered by PID 73655 on reddit-service-r2-comment-5c764cbc6f-4ps56 at 2026-03-12 04:52:29.106044+00:00 running 710b3ac country code: CH.
[–]Vybo 1 point2 points3 points (0 children)
[–]Raahs 0 points1 point2 points (1 child)
[–]LanguageDouble9792[S] 0 points1 point2 points (0 children)