MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/iOSProgramming/comments/1h7a0he/xcode_is_great_except_when_it_isnt/m0ktie7/?context=3
r/iOSProgramming • u/aconijus • Dec 05 '24
69 comments sorted by
View all comments
4
I catch these very quickly now.In the last lines I wrote, it's usually
I assigned the wrong type (Int vs CGFloat...)
I don't unwrap an optional
I forgot the $ before a binding argument
I used the wrong method signature or forgot an argument label
If in doubt just remove the lines or half of them until the error goes away to narrow down the error.
4
u/dooatito Dec 05 '24
I catch these very quickly now.
In the last lines I wrote, it's usually
I assigned the wrong type (Int vs CGFloat...)
I don't unwrap an optional
I forgot the $ before a binding argument
I used the wrong method signature or forgot an argument label
If in doubt just remove the lines or half of them until the error goes away to narrow down the error.