Cleaning an older swift application project using storyboards

46 views Asked by At

I have been assigned a "new" old app project from my company, where there is a mix of older swift code and newer swift code. I am slowly getting comfortable with deleting and refactoring parts of the code, trying to remove the Xcode warnings and making the code safer in general... But since I am new to swift (especially storyboards), I am not sure when an @IBOutlet or @IBAction can be removed.

I have some @IBOutlets and @IBActions, where there are no 'dots' next to them: the circles to the left-side of the outlets don't have a dot

Does this mean it is safe to change these from outlets to "regular" views? and is this also true for @IBActions?

Is this simply straight forward, no dot = No @IBOutlet/@IBAction needed? Or is it trial and error: Try and remove, build & run, see if broken, redo...? Or are there smarter ways to check these things?

0

There are 0 answers