Posts

Post not yet marked as solved
1 Replies
553 Views
Hello folks,I'm very new to SwiftUI and I have trouble resizing images in a List.So far, I created an List like this:var body: some View { List(rooms) { room in Image(room.thumbnailName) <- this image is original size 1920x1080. VStack(alignment: .leading) { Text(room.name) Text("\(room.capacity) people") .font(.subheadline) .foregroundColor(.secondary) } } }Because the original image size is 1920x1080, the List looks very weird. My question: Does anyone of you know how I can resize the image by a property of the imageview so that the List looks accurate?Many thanks in advance.Kind regardsCX8060
Posted
by CX8060.
Last updated
.
Post not yet marked as solved
2 Replies
877 Views
Hello together,In our computer engineering course at university we talk about parallelizing C programs. So, I want to try the examples for myself in Xcode.Does anyone know whether there is a possibility to see the runtime of a C program in Xcode?Thank you very much in advance and have a great sunday!CX8060
Posted
by CX8060.
Last updated
.