I want to close my eidtor with [self.window close], but it could not step into removed method which make me could not open editor view again. anyone can help me about it?
This is not allowed. The window is owned by the host and you should not change any properties of it, let alone closing it. Why do you want to close the window, what’s your use case?