我需要将qstring拆分为两个字符串,但只知道拆分器charachter的索引.这是一个例子
input:
PineApple
3
Output:
Pine // 'e' has index 3, so it is the splitter char and it belongs to the first part
Apple
Run Code Online (Sandbox Code Playgroud) 在obj-c中是否有一种方法可以创建一个gui窗口,而没有.app包,只是可以解压缩?问题是我需要一个gui应用程序(只有一个对话框).
我试过:将appkit.framework导入终端应用程序. - 崩溃有很多原因.我决定使用x11不是一个好主意,因为它不包含在OS X 10.8中
那么,有什么想法吗?