Post

Replies

Boosts

Views

Activity

Reply to Xcode Previews for UIKit not working
Maybe it's silly and not related with your issue but I had troubles previewing AppKit controllers too. I solved it by marking the #Preview with an @available statement. Like so: @available(macOS 14, *) #Preview { let controller = SettingsGeneralViewController() return controller } Without @available the preview keeps crashing. Maybe it's just me but I think this check should be done automatically...
Oct ’23