Skip to content

Instantly share code, notes, and snippets.

View chmiiller's full-sized avatar
🦇
Dark theme everything

Carlos Zinato chmiiller

🦇
Dark theme everything
  • TomTom
  • Netherlands
View GitHub Profile
@chmiiller
chmiiller / TiUITabProxy.m
Created January 14, 2016 11:01 — forked from moritzknecht/TiUITabProxy.m
Gesture Fix (Ti. 3.2.2)
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2010 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
#ifdef USE_TI_UITAB
#import "TiProxy.h"
#import "TiUITabProxy.h"
@chmiiller
chmiiller / conversation.js
Created January 18, 2016 15:39
Titanium - Smoothly animating an input field along with the iOS Keyboard.
function init() {
Titanium.App.addEventListener('keyboardframechanged', $.typingArea.animateKeyboard);
}
function scrollToBottom() {
$.listView.scrollToItem(0, $.section.items.length - 1, {
animated : true
});
}
@chmiiller
chmiiller / README.md
Created June 8, 2016 13:16 — forked from manumaticx/README.md
Fading ActionBar in Titanium

Fading Actionbar

This is a quick example of how to create a fading actionbar effect like this in Appcelerator Titanium

fadingactionbar

How this works

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.

@chmiiller
chmiiller / collabsablerows.js
Created January 20, 2017 16:08 — forked from rileydutton/collabsablerows.js
Collapsable/Expandable Table View Rows in Titanium Mobile
var container = Ti.UI.createView({backgroundColor: "white", layout: "vertical"});
var layout = [
{
title: "Parent 1",
isparent: true,
opened: false,
sub: [
{
@chmiiller
chmiiller / alloy.js
Created January 30, 2018 14:47 — forked from SquirrelMobile/alloy.js
Upload large video from Axway Titanium mobile application (iOS / Android) and save the video with PHP script
//Download and install widget loader : https://github.com/FokkeZB/nl.fokkezb.loading
Alloy.Globals.loading = Alloy.createWidget("nl.fokkezb.loading");