简体   繁体   中英

Can an Xcode Source Editor Extension prompt the user for input?

Simple question. I've written an Xcode Source Editor Extension and as part of one of my commands, I have to prompt the user for input to know which option they want.

I'm hoping there's a simple way to present an alert, but I'm guessing that's not the case and I'll have to instead launch the app from the extension (via URL schemes), then use inter-process communications.

Like I said, hoping I'm wrong. So am I?

There is no way to prompt the user. I wanted something similar where I wanted to execute a menu command but couldn't.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM