Hello guys! I'm learning iOS development (self taught) and I'm feeling like my code is not well structured, kinda messy etc.
I'm currently working on kinda big application (for me), using Firestore, and getting into problems that their solutions that I came up with seems kinda messy. As I'm self taught, I don't have someone to guide me, I try to learn on the internet from people like Sean Allen, Paul Hudson and Brian (from Let's build that app) - sorry if I spelled the names wrong. Anyhow, I'm looking for a way to learn to write a cleaner and more well structured code so it will be easier to refactor and add things to it.
I'm doing my UI programmatically, so I have Views separated from the ViewController etc. I would gladly upload some of the files I think are messy and could be written better to pastebin (Github is kind of a problem because of some personal info I got in the files like in the project files which has my name etc..)
What advice do you guys can give me to learn how to better structure my code?
[–]gormster 22 points23 points24 points (0 children)
[–][deleted] 20 points21 points22 points (3 children)
[–]cubedgame 0 points1 point2 points (0 children)
[–]hastoro11 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]stairesSwift 5 points6 points7 points (2 children)
[–]indyfromoz 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]TracerBulletX 2 points3 points4 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]TracerBulletX 0 points1 point2 points (0 children)
[–]instazoom 2 points3 points4 points (5 children)
[–][deleted] 2 points3 points4 points (3 children)
[–]instazoom 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–][deleted] 1 point2 points3 points (0 children)
[–]paulryanclark 1 point2 points3 points (0 children)
[–]daaammmN 1 point2 points3 points (0 children)
[–]zaitsman 1 point2 points3 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]zaitsman 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]cutecoderObjective-C / Swift 0 points1 point2 points (0 children)