UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

HWS+ - Custom Property Wrapper article

Forums > SwiftUI

Simple question: Was that article and code created using SwiftUI V2 under Xcode 12? Seems that some of the lines of code make Xcode 11.6 a bit angry.

ie, it does not like .navigationTitle but prefers .navigationBarTitle and does not like self being omitted from closures.

Given that I am guessing the answer is probably YES.

Why haven't I installed Big Sur and Xcode 12? Well, I would rather wait till all the bugs are ironed out beforehand.

(edit)

OK in the video it was mentioned that the project was using Xcode 12 but at the time I wrote the post I had simply read the article. Silly boy Chrispy.

3      

You don't have to install Big Sur to run xcode 12 and xcode 12 is installed as xcode-beta so you still have xcode 11 as default

3      

TAKE YOUR SKILLS TO THE NEXT LEVEL If you like Hacking with Swift, you'll love Hacking with Swift+ – it's my premium service where you can learn advanced Swift and SwiftUI, functional programming, algorithms, and more. Plus it comes with stacks of benefits, including monthly live streams, downloadable projects, a 20% discount on all books, and free gifts!

Find out more

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.