neu.NodeiOS 上的 Node.js
neu.Node - 为 iOS 设备实现了 Node.js 兼容的 API。
示例代码:
@interface NodeController : UIViewController { IBOutlet UIBarButtonItem* _btnPlay, *_btnStop; } @property (nonatomic, strong) NSURL* url; @property (nonatomic) BOOL autoStart; @property (nonatomic, strong) NSDictionary* appInfo; -(IBAction) play:(id)sender; -(IBAction) stop:(id)sender; -(NSArray*) allServers; @end
评论