Post

Replies

Boosts

Views

Activity

Reply to Get Started with Apps Stuck in Playgrounds
import SwiftUI struct FriendDetailView: View { var body: some View { VStack { HStack { Text("Hello 🫠") .font(.largeTitle) .font(.title) .foregroundColor(.blue) VStack { Text("Pro") .font(.largeTitle) .foregroundColor(.blue) .font(.title) } } } VStack { HStack { Image("Friend") .scaledToFill() } HStack { Text("Adding a VStack inside an HStack") .font(.footnote) } HStack { Text("Adding a VStack inside an HStack") .font(.footnote) } } VStack { HStack { Image("Friend") .resizable() .scaledToFit() .padding(.all, 10) Text("ℋℯℓℓ𝑜🫠") .foregroundColor(.blue) .font(.largeTitle) Text("Adding a VStack inside an HStack") } } VStack { HStack { Image("Blu") .resizable() .scaledToFit() .padding(.all, 10) Text("ℋℯℓℓ𝑜🫠") .foregroundColor(.blue) .font(.largeTitle) Text("Adding a VStack inside an HStack") } } VStack { HStack { Image("Hopper") .resizable() .scaledToFit() .padding(.all, 10) Text("ℋℯℓℓ𝑜🫠") .foregroundColor(.blue) .font(.largeTitle) Text("Adding a VStack inside an HStack") } } VStack { HStack { Image("Friend") .resizable() .scaledToFit() .padding(.all, 10) Text("ℋℯℓℓ𝑜🫠") .foregroundColor(.blue) .font(.largeTitle) Text("Adding a VStack inside an HStack") } } } } struct FriendDetailView_Previews: PreviewProvider { static var previews: some View { VStack { FriendDetailView() } } }
Mar ’23