This is what the Outlet collection is for. Drag all your text fields into the same Outlet Collection in InterfaceBuilder and create @IBOutletfor this collection in your class file:
To create a collection of output data in InterfaceBuilder, ctrl-drag from the first UITextFieldto your class file in the editor assistant. Then select the Outlet Collection:

ctrl- UITextField @IBOutlet, :

.
@IBOutlet var textFields: [UITextField]!
func checkTextFields() {
for textField in self.textFields {
...
}
}