Delegates allow you to respond to events not just in controls but in other view controllers.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4284-your-second-swift-4-ios-11-app/lessons/34
Delegates allow you to respond to events not just in controls but in other view controllers.
This topic was automatically closed after 166 days. New replies are no longer allowed.
I have question, i don’t understand why in: AddItemViewController we call: navigationController?.popViewController(animated: true)
And then we call the pop again in the delegate methods. Shouldn’t we call it once? And i assume it should be in the delegate method?
@bdmoakley Can you please help with this when you get a chance? Thank you - much appreciated! :]