#Xcode seems not to pick up #SwiftUI previews after the 15th one. There’s no error or anything, it just stops at 15. I can't find this documented anywhere, nor have I found anyone else posting about this online. Has anyone else run into this? Is this a thing, or am I doing something wrong?
@toastersocks Could that be the same limitation as with ViewBuilders? Is it gone in Xcode 15 beta?
@gernot I wondered that as well, but I thought not, because the ViewBuilder limit is 10 and my issue stops at 15. I'm using Group in the preview struct to get more than 10. Good question about Xcode 15. I'll give it a try and see.
@gernot @matt1corey I found a workaround. You can create a second preview struct in the same file and add additional previews there and Xcode happily shows them all together in the preview panel.
@toastersocks I’ve seen similar behavior with beta 8, but haven’t nailed it down to ‘breaks after x number of renders’.
@matt1corey My issue isn't that it stops rendering after a certain number of times. It's that if I have more than 15 previews in the preview struct, the preview panel stops listing/displaying them after the 15th one.
@toastersocks ooooh, completely different! I will probably run into that today, with the work I have planned