Post

Replies

Boosts

Views

Activity

Comment on Best way to learn Swift
Hi darkpaw, Thank you so much for your reply, I can see now that I need to add details to my first post. The tutorial tells me to do this: struct MeetingHeaderView_Previews: PreviewProvider { static var previews: some View { MeetingHeaderView() .previewLayout(.sizeThatFits) } } I now get half my view What I need to do is this and then update the project from targeting os 16 to the newest. #Preview(traits: .sizeThatFitsLayout) { MeetingHeaderView() } Thanks!
Feb ’25