连接工具iPhone SDK [英] ConnectionKit & iPhone SDK

查看:53
本文介绍了连接工具iPhone SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我仍然对iPhone SDK有所了解,但我想知道是否有可能让ConnectionKit框架适用于iPhone应用程序.我知道它是为台式机操作系统开发的,因此我不确定它具有什么样的依赖关系以及是否可以将其塞入iPhone操作系统中.

I'm still getting my feet wet with the iPhone SDK, but I'm wondering if it would be possible to get the ConnectionKit framework working for an iPhone app. I know it was developed for the desktop OS, so I'm not sure what sort of dependencies it has and whether or not it could be shoehorned into the iPhone OS.

就我而言,我想使用它的FTP功能,尽管可以访问整个框架对于以后的项目也很有用.

In my case, I would like to use its FTP functionality, though having access to this entire framework could prove useful for future projects as well.

有什么想法或经验可以尝试吗?

Any ideas or experience trying this?

如果有帮助,请访问官方的ConnectionKit网站: http://opensource.utr-software.com/connection/

In case it helps, here's the official ConnectionKit site: http://opensource.utr-software.com/connection/

推荐答案

该站点对文档有所了解.

The site was a little light on documentation.

最大的问题是可可豆取决于什么类.由于它不包含任何UI代码,因此应基于Foundation类.Cocoa Touch中的Foundation与OS X相似,但不完全相同.只需检查一下它使用的类即可.

The big question is what Cocoa classes it depends on. Since it is doesn't include any UI code, it should be based on Foundation classes. Foundation in Cocoa Touch is similar to, but not exactly the same as on OS X. Just check out what classes it uses.

另一个障碍是将框架构建为静态库.由于iPhone不支持框架/动态库,因此您必须构建一个静态库才能在代码中使用它.

The other obstacle is building the framework as a static library. Since the iPhone does not support frameworks/dynamic libraries, you have to build a static library to use it in your code.

这应该可以帮助您入门.

That should help get you started.

这篇关于连接工具iPhone SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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