Post

Replies

Boosts

Views

Activity

SDK Folders
As today I was checking my Command line folder and there I found 5 SDK folder, which include latest and older version of SDK of MACOSX. If I delete the older Version will it create problem to my commands in my terminal
0
0
257
Oct ’24
One coding problem I am facing, As I am beginner so I don't know how to do it
import SwiftUI struct CardView: View{ let scrum: DailyScrum var body: some View{ VStack(alignment: .leading){ Text(scrum.title) .font(.headline) Spacer() HStack{ Label("\(scrum.attendees.count)", systemImage: "person.3") Spacer() Label("\(scrum.lengthInMinutes)", systemImage: "clock") .labelStyle(.trailingIcon) } .font(.caption) } .padding() .foregroundColor(scrum.theme.accentColor) } } //#Preview { // CardView(scrum: <#T##DailyScrum#>) //} struct CardView_Preview: PreviewProvider{ static var scrum = DailyScrum.sampleData[0] static var previews: some View{ CardView(scrum: scrum) .background(scrum.theme.mainColor) .previewLayout(.fixed(width: 400, height: 60)) } } My question is how to convert Preview Provider into #Preview in this code. Please help me.
3
0
412
Nov ’23
Developer Enroll Program
Hey guys I am trying to enroll to apple developer program, but I am facing this issue from previous 1 week, I tried contacting the support but no one replied yet. If anyone knows the fix to it please help me resolve by replying to this post.
Replies
0
Boosts
0
Views
7
Activity
3h
Developer Program Enroll
Hey guys I am trying to enroll to apple developer program, but I am facing this issue from previous 1 week, I tried contacting the support but now one replied yet. If anyone knows the fix to it please help me resolve by replying to this post.
Replies
0
Boosts
0
Views
2
Activity
3h
SDK Folders
As today I was checking my Command line folder and there I found 5 SDK folder, which include latest and older version of SDK of MACOSX. If I delete the older Version will it create problem to my commands in my terminal
Replies
0
Boosts
0
Views
257
Activity
Oct ’24
One coding problem I am facing, As I am beginner so I don't know how to do it
import SwiftUI struct CardView: View{ let scrum: DailyScrum var body: some View{ VStack(alignment: .leading){ Text(scrum.title) .font(.headline) Spacer() HStack{ Label("\(scrum.attendees.count)", systemImage: "person.3") Spacer() Label("\(scrum.lengthInMinutes)", systemImage: "clock") .labelStyle(.trailingIcon) } .font(.caption) } .padding() .foregroundColor(scrum.theme.accentColor) } } //#Preview { // CardView(scrum: <#T##DailyScrum#>) //} struct CardView_Preview: PreviewProvider{ static var scrum = DailyScrum.sampleData[0] static var previews: some View{ CardView(scrum: scrum) .background(scrum.theme.mainColor) .previewLayout(.fixed(width: 400, height: 60)) } } My question is how to convert Preview Provider into #Preview in this code. Please help me.
Replies
3
Boosts
0
Views
412
Activity
Nov ’23