Open yoni-g opened 1 year ago
https://github.com/yakovtouatiBALINK/ios_bootcamp_balink/blob/e25e4031f9393169e7f043dd6c7e18ea011e59a9/week-2/to%20du%20list/to%20du%20list/ViewController.swift#L12
I liked your idea. but you can also:
var arr = [ UIColor(xxxxx), UIColor(xxxxx), UIColor(xxxxx), UIColor(xxxxx), UIColor(xxxxx) ]
its much more readable
@yakovtouatiBALINK - you haven't resolved the issue yet
https://github.com/yakovtouatiBALINK/ios_bootcamp_balink/blob/e25e4031f9393169e7f043dd6c7e18ea011e59a9/week-2/to%20du%20list/to%20du%20list/ViewController.swift#L12
I liked your idea. but you can also:
its much more readable