News for hackers. Stuff that matters.
Re:Apple’s Use of Swift in iOS 13 by novok on Thursday September 26, 2019 @06:54PM (#21086488)
That's so rare in practice that you should just write it out fully. If it's happening frequently in your app, you should probably rethink your architecture. As time goes on, I've realized why people think asserts are code smells of their own.
Re:Apple’s Use of Swift in iOS 13 by saagarjha on Friday September 27, 2019 @02:18AM (#21088987)
Do you not use implicitly unwrapped optionals for IBOutlets?
Re:Apple’s Use of Swift in iOS 13 by ctdonath on Friday September 27, 2019 @08:45AM (#21091276)
If you can prove it won’t be nil, normal IBOutlet included, fine.
Re:Apple’s Use of Swift in iOS 13 by rimliu on Friday September 27, 2019 @04:08AM (#21089568)
That's about the only place for them to be acceptable, tbh.
Re:Apple’s Use of Swift in iOS 13 by novok on Friday September 27, 2019 @01:50PM (#21094434)
We don't use storyboards or nibs.