You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@garg204 That's because when you pick a random number from 0..<10 the same number can be chosen multiple times. One way to fix it is to to shuffle the array of images in advance. In my case I use Xcode 10 beta with Swift 4.2 so this is how I modified the code:
Also I had layout issues due to scrollbars. I disabled all "Show vertical/horizontal indicator" (also because it actually looks better) and the warnings are gone.
Apart from that thanks for the great tutorial! Quite instructive. 😊
The text was updated successfully, but these errors were encountered: