6 Ed ePub chapter 1 Page 32 error

On page 32 where we are adding an alert view controller.
adding the textField line to this controller is missing.

right after the declaration of alert
This line should be there to add a text field to alert

alert.addTextField { (textField) in
    textField.placeholder = "Enter Name"
}

@alokc83 Please check out the updated version of our book when you get a chance:

https://store.raywenderlich.com/products/core-data-by-tutorials

I hope it helps!

This topic was automatically closed after 166 days. New replies are no longer allowed.