Mac / Cocoa:在我的应用程序中嵌入终端窗口 [英] Mac/Cocoa: Embed a terminal window in my app

查看:294
本文介绍了Mac / Cocoa:在我的应用程序中嵌入终端窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人发现是否可以将Terminal的一个实例嵌入到应用程序中?如果它也继承了选项卡功能和拖放功能,它将是真棒。我在这里看到一些类似的问题,提到 iTerm ,但似乎应该有一个更简单的方法。像一个NSTerminal对象,我可以进入一个视图。



我问恐慌的家伙这个。他们在Coda有一个终端窗口,所有的意图和目的看起来/功能完全一样Terminal.app独立运行在桌面上。然而,他们的反应是他们必须从头开始写自己。我希望有人能找出更好的方法!



谢谢!

解决方案>

您可以使用 Cocoatech的Pathfinder SDK 执行此操作。


Anyone found out if it's possible to "embed" an instance of Terminal into an app? It would be awesome if it also just inherited the tab functionality and drag-drop-ness as well. I saw a couple similar questions on here that mentioned iTerm but it seems like there should be an easier way. Like a NSTerminal object I can pop into a view.

I asked the Panic guys about this. They have a terminal window in Coda that for all intents and purposes looks/functions exactly like Terminal.app running standalone on the desktop. However, their response was that they had to write that themselves from scratch. I'm hoping someone has figured out a better way!

Thanks!

解决方案

You can do this with the Pathfinder SDK from Cocoatech.

这篇关于Mac / Cocoa:在我的应用程序中嵌入终端窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆