|
Hello everyone, I completed the challenge, but it seems to me that my code looks bad. What I don't like:
|
|
I did mine like this...
Mine doesn't check if they have changed the name before, because that shouldn't really matter. It still allows them to change the name again any time they click on the cell, even if they have already changed the name before. It still involves creating 2 separate alert controllers. But I don't really think that is something that needs to be avoided. I didn't use a |
|
Although, looking at my code again now, this way is probably better...
Then it only creates the |
SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until April 28th.
Sponsor Hacking with Swift and reach the world's largest Swift community!
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.