Post

Replies

Boosts

Views

Activity

Reply to Metal Sample Code in Swift?
I don't understand why Apple Engineers keep preferring Objective-C for sample code. I presume they think most people are still using it, but at my employer we converted to Swift years ago. Translating things mentally from Obj-C to Swift is now difficult because I haven't used it in years, and Swift is where most of the iOS/MacOS market is today. Back when I worked at Apple in the mid 90's we still had some sample code in Pascal, which made just as much sense, i.e. none. Maybe things will improve in WWDC 21.
May ’21
Reply to Animation for DisclosureGroup open/close
This works for the whole label, but still can't get the animation: , label: { 		HStack 		{ 				Text("Guests") 				.padding(EdgeInsets(top: 0, leading: 8, bottom: 0, trailing: 8)) 				.font(.headline) 		} 		.frame(maxWidth: .infinity, alignment: .leading) 		.contentShape(Rectangle()) 		.onTapGesture { guestsExpanded = !guestsExpanded } }
Jul ’20