How can setPreviewHeight by OC in a plugin?
The same as in python:
But I didn’t find it setPreviewHeight in GSGlyphViewControllerProtocol
As I said, the protocol is very incomplete. It only has things I needed from some parts of my code. So if you learn about some API like this, that is not in the protocol, add your own interface declarations.
It’s my mistake. I defined the wrong class name. Now it has been solved. I forgot to come back and close the problem. Sorry to bother you…