如何在 OSX 中为命令行工具制作 GUI 前端? [英] How can I make a GUI frontend to a command line tool in OSX?

查看:23
本文介绍了如何在 OSX 中为命令行工具制作 GUI 前端?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很想知道如何在 OSX 中为 ffmpegjhead 制作 GUI.我一直在寻找解决方案一段时间,并认为你,stackoverflow 的用户,可以帮助我.也许您知道一些我没有遇到过的文档,或者更好的是制作 GUI 的教程.

I'm dying to know how I can make a GUI for ffmpeg and jhead in OSX. I've been looking for a solution for a while and thought you, stackoverflow's users, could help me. Maybe you know some document I haven't come across of or, better, a tutorial to make a GUI.

我喜欢这两个工具,但我喜欢拖放操作的简单性.

I love those two tools but I like the simplicity of drag/drop operations.

注意:我不需要他们的 GUI,我想做一个.

Note: I don't need a GUI for them, I want to make one.

推荐答案

Cocoa Dev Central 站点上有一个使用 NSTask 封装命令行工具的教程:

There is a tutorial for wrapping command-line tools using NSTask, on the Cocoa Dev Central site:

现在已经有几年了,但应该可以帮助您入门.

It's a few years old now, but should get you started.

这篇关于如何在 OSX 中为命令行工具制作 GUI 前端?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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