tell application "iTunes" | |
repeat with s in sources | |
if (kind of s is iPod) then update s | |
end repeat | |
end tell |
SC.defineProperty = function(obj, keyName, desc, val) { | |
var m = meta(obj, false), descs = m.descs, watching = m.watching[keyName]>0; | |
if (val === undefined) { | |
val = hasDesc(descs, keyName) ? descs[keyName].teardown(obj, keyName) : obj[keyName]; | |
} else if (hasDesc(descs, keyName)) { | |
// FIXME: Hack for Android V8? or Kindle Fire? Throws teardown is undefined error | |
if (typeof descs[keyName].teardown === 'function') { | |
descs[keyName].teardown(obj, keyName); | |
} |
var Ember = require('/lib/em_ti/ember-runtime'); | |
Keychain = require('com.obscure.keychain'); | |
/** | |
@class | |
An Appcelerator Cloud Services User. | |
@extends Ember.Object | |
*/ |
var pusherClient = require('/lib/pusher/pusher_client').create({ | |
debug: true, | |
key: 'YOUR KEY' | |
}); | |
pusherClient.subscribe('channel'); | |
pusherClient.bind('event_name', function(data) { | |
// Do something | |
}); |
There's a lot of wrappers for Rubymotion already. I've been collecting my personal wrappers in the Loco
namespace. I'm really starting to like this layout wrapper, so I thought I'd share it.
Include the loco.rb
file in your Rubymotion project and include the Loco::UIView
module in any of your custom UIViews.
class SampleView < UIView
Totally reasonable questions / concerns.
- Going under, going away, getting acquired, etc
We've raised ~7 million in venture funding so far from Google, Y Combinator, etc (https://parse.com/about/investors) and we still have a large chunk of that in the bank. We're looking towards our next fundraising round now to continue the infrastructure + product growth, expand our hiring efforts, etc.
Being acquired isn't part of our game plan for now. We want to build a viable business that people can use and enjoy. We have 50k apps built on our infrastructure and a huge customer base that is growing rapidly. Everyday we have more and more Basic, Pro, and Enterprise users paying us for our awesome services.
# Error! | |
someiOSObject.send(:someMethod) | |
# No error! | |
someiOSObject.someMethod | |
someiOSObject.send(:someMethod) |