Yes, you can do that in Titanium.
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
var AWS = require('aws-sdk'); | |
var fs = require('fs'); | |
var bucketName = 'my-bucket-name'; | |
var bucketRegion = 'us-gov-west-1'; | |
var file = 'PDFSCANS/AGILE_5_page.pdf'; | |
var key = 'doc_pdf/CHRISJSnocreds.pdf'; | |
AWS.config.update({ | |
region: bucketRegion |
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
// No Security | |
{ | |
"rules": { | |
".read": true, | |
".write": true | |
} | |
} |
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
import UIKit | |
import AsyncDisplayKit | |
import NMessenger | |
import VHChatLogic | |
class ChatRoomView: NMessengerViewController, ViewType | |
{ | |
public var controller: ChatRoomController? | |
private let vhBubbleConfig = VHBubbleConfiguration() | |
override func viewDidLoad() |
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
/* | |
* This is a version of Facebook's React Conditional Rendering | |
* example modified to support firebase authentication. | |
* https://facebook.github.io/react/docs/conditional-rendering.html | |
*/ | |
import React, { Component, PropTypes } from 'react'; | |
import * as firebase from 'firebase'; | |
function UserAvatar(props) { |
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.open(); | |
// When we click on the item we want to delete it. This can be called at any place actually, | |
// I just have it on this event. | |
function onItemClick(e){ | |
// Get the data of the row so we can use it to populate the new templates | |
var data = $.listView.sections[e.sectionIndex].getItemAt(e.itemIndex); | |
// Set the counter to zero, we use this for naming the template on an interval |
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
Show hidden characters
{ | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"Compare Side-By-Side", | |
"DashDoc", | |
"DoxyDoxygen", | |
"Fizzy Theme", |
This is a quick example of how to create a fading actionbar effect like this in Appcelerator Titanium
This is actually very simple. The trick is putting the Actionbar in overlay mode by configuring the theme with windowActionBarOverlay:true
. Then all you need to do is updating the color of the Actionbar, in this case by scrolling a ScrollView.
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
/** | |
* | |
* Save pkpass to PassWallet | |
* See http://passwallet.attidomobile.com/PassWallet%20Developer%20Guide.pdf | |
* | |
*/ | |
function shareToPassWallet () { | |
var pkpassFile, | |
intent, |
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
Delete this file | |
/Users/YOUR_USER/Library/Developer/CoreSimulator/Devices/SIM_UDID/data/Library/Preferences/APP_ID.plist |
NewerOlder