since 1.4.x, Alloy has the ability to use a custom query to determine if a style should be applied or not.
See also:
#!/bin/bash | |
# | |
# Build and iPhone Simulator Helper Script | |
# Shazron Abdullah 2011 | |
# | |
# WARN: - if your .xcodeproj name is not the same as your .app name, | |
# this won't work without modifications | |
# - you must run this script in where your .xcodeproj file is | |
PROJECTNAME=$1 |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2012 Brandon B. [email protected]
Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
/* | |
* Android API Guide | |
* http://developer.android.com/guide/topics/ui/actionbar.html | |
* Android Design Guide | |
* http://developer.android.com/design/patterns/actionbar.html | |
* Titanium Mobile will support someday | |
* https://jira.appcelerator.org/browse/TIMOB-2371 | |
*/ | |
var osName = Ti.Platform.osname, | |
isAndroid = osName==='android', |
/** | |
* 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. | |
*/ | |
#import "TiProxy.h" | |
#import "TiUIView.h" | |
#import "TiRect.h" | |
#import <pthread.h> |
// http://cloud.appcelerator.com/docs/api/v1/acls/create | |
var Backbone = require('/lib/backbone'), | |
_ = require('/lib/underscore'); | |
var ReviewModel = Backbone.Model.extend({ | |
modelNameForACS : 'Reviews' //just add Model Name of ACS | |
}); | |
var ReviewCollection = Backbone.Collection.extend({ |
// Create a new project and copy this code into app.js | |
// if you use this code, please give me credit :) | |
function JustAView(text){ | |
var view = Ti.UI.createView({ | |
backgroundColor:"#"+((1<<24)*Math.random()|0).toString(16), | |
width:200, | |
height:100 | |
}); | |
var label = Ti.UI.createLabel({ |