It's true that it's not possible to make a Preview in Objective-C, you will need a Swift file to house the preview. But, when used in conjunction with pinning you don't need to switch back and forth between the Swift and the Objective-C.
Here's what I did:
Made a new view controller in Objective-C
Imported the Objective-C view controller's header in my app's bridging header
In a Swift file, made a #Preview that instantiated the view controller
Clicked the "Pin" button in the upper left of the preview canvas
Went back to the Objective-C file: the preview stays up
Edited the Objective-C code. Hit Command-S to trigger the preview to update (it will happen on auto-save too, but that might not be as immediate as you want)
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: