Swift UI: Working With UIKit | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4279893-swift-ui-working-with-uikit

I cannot build the starter project as it is. I get the following two errors:

  • Use of unresolved identifier 'NavigationLink'; did you mean 'NavigationView'?

  • Extra argument 'destination' in call

I am using XCode 11 beta 1

Hi there! Thanks for your question.

I actually misspoke in my introduction to the video - the code as is requires Beta 3, not 1. There was an API change between 1 and 3. I apologize for the confusion! To be a bit more precise, I believe screencasts 1-3 can be run with beta 1, but 4 and 5 have to be run with Beta 3 or above.