Posts by GaF • 50 points
1 post
-
3
votes1
answer40
viewsA: Add Uitextfield text to an array
The code has two problems: The array is not instantiated, you cannot add anything to it; You’re not handling options correctly. Try something like this: import UIKit class ViewController:…