This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//index.js: | |
Ti.API.info("Creating activity..."); | |
var activity = Ti.App.iOS.createUserActivity({ | |
activityType:'com.foo.message', | |
title:'Handoff Messenger', | |
userInfo:{ | |
msg: 'Tag! You\'re it!' | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.include "xc.inc" | |
.bss | |
sz_1: .space 16 | |
sz_2: .space 16 | |
mplab_x_bug: .space 2 | |
.section .const, psv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//http://stackoverflow.com/questions/35190920/wrapping-objects-in-js-best-pratices | |
// later in the code: | |
obj.addListener('click', function(){ | |
//Here I would prefer having access to wrapper's other children/functions | |
console.log(wrapper.anotherProperty); | |
console.log(wrapper.anotherFunction()); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tiapp.xml (condensed to relevant bits): | |
<ios> | |
<plist> | |
<dict> | |
<key>CFBundleURLTypes</key> | |
<array> | |
<dict> | |
<key>CFBundleURLName</key> |
NewerOlder