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.


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.


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


Hacking with Swift is sponsored by Superwall

SPONSORED Superwall lets you build & test paywalls without shipping updates. Run experiments, offer sales, segment users, update locked features and more at the click of button. Best part? It's FREE for up to 250 conversions / mo and the Superwall team builds out 100% custom paywalls – free of charge.

Learn 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.