GO FURTHER, FASTER: Try the Swift Career Accelerator today! >>

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      

Hacking with Swift is sponsored by RevenueCat.

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's all new Paywall Editor allow you to remotely configure your paywall view without any code changes or app updates.

Click to save your free spot now

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.