我之前本来打算自己做做这块的,API 正在持续开发中:https://cnodejs.org/api
没想到 @Ricardo-Li 已经找了个同学 @callmewhy 在帮忙开发了,iOS 项目的地址在这里: https://github.com/callmewhy/CNodeJS-iOS
我还需要时间学习这块,社区里对 iOS 有兴趣的同学欢迎加入我们的开发行列哈。用上最新最潮的技术我也一点不介意,只要支持最新版本 iOS 就好了。 我个人还需要多花精力学 iOS,不过 CNode API 的方面,我这边可以提供全量的帮助。
2014.10.22 21:03 更新
缩略图
79 回复
我把 现在正在做的 和 如何参与 写到了 README 和 WIKI 里,如果感兴趣的同学可以看下:关于 CNodeJS - iOS 客户端 目前主要开发在 dev 分支上。
顺便来一张对着 NodeJS 撸了一个下午的LOGO:
@yidahis readme 有写,submodule 装下就行。cocoapods 现在对 Swift 支持还不够友好,需要手动配置一些参数,mattt的Alamofire 的 readme 原文如下:
Installation
For application targets that do not support embedded frameworks, such as iOS 7, Alamofire can be integrated by including the Alamofire.swift source file directly, wrapping the top-level types in struct Alamofire to simulate a namespace. Yes, this sucks.
Due to the current lack of proper infrastructure for Swift dependency management, using Alamofire in your project requires the following steps:
Add Alamofire as a submodule by opening the Terminal, cd-ing into your top-level project directory, and entering the command git submodule add https://github.com/Alamofire/Alamofire.git
Open the Alamofire folder, and drag Alamofire.xcodeproj into the file navigator of your app project.
In Xcode, navigate to the target configuration window by clicking on the blue project icon, and selecting the application target under the "Targets" heading in the sidebar.
Ensure that the deployment target of Alamofire.framework matches that of the application target.
In the tab bar at the top of that window, open the "Build Phases" panel.
Expand the "Target Dependencies" group, and add Alamofire.framework.
Click on the + button at the top left of the panel and select "New Copy Files Phase". Rename this new phase to "Copy Frameworks", set the "Destination" to "Frameworks", and add Alamofire.framework.
So…
所以目前采用的还是submodule