UNPKG

nodobjc-x

Version:

The Node.js ⇆ Objective-C bridge

9 lines (6 loc) 169 B
var $ = require('../') , assert = require('assert') $.import('Foundation') var point = $.NSMakePoint(10, 1337) assert.equal(point.x, 10) assert.equal(point.y, 1337)