TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

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 String Catalog.

SPONSORED Get accurate app localizations in minutes using AI. Choose your languages & receive translations for 40+ markets!

Localize My App

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.