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
| #!/bin/bash | |
| branch_name=$(git symbolic-ref --short HEAD) | |
| if [ "$branch_name" == 'dev' ] || [ "$branch_name" == 'staging' ] | |
| then | |
| git commit --allow-empty -m 'empty commit to trigger deployment' | |
| fi |
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
| - (void)imagePickerController:(UIImagePickerController *)picker_ didFinishPickingMediaWithInfo:(NSDictionary *)editingInfo | |
| { | |
| // ... | |
| // ... | |
| NSDictionary *metadataDictionary = | |
| (NSDictionary *)[editingInfo valueForKey:UIImagePickerControllerMediaMetadata]; | |
| [dictionary setObject:metadataDictionary forKey:@"metadata"]; | |
| [self sendPickerSuccess:dictionary]; |
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
| // 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({ |
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
| /** | |
| * 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> |
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
| /* | |
| * 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', |
- 타이타늄 소개 영상
- JS 이해 하기 : 자바스크립트 초금, 그 이후 : 맥환경에서 크롬이나 사파리 권장 (페이지 이동 : 좌우키)
- Hello Titanium : 맥환경에서 크롬이나 사파리 권장 (페이지 이동 : 좌우키)
- 당신이 알고 있는 타이타늄 : 동작원리(19페이지~)
- path 설정 :
~/.bash_profile에 path 설정 후 터미널 재실행: 참고링크
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2012 Brandon B. brandon@brandonbrown.io
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
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
| #!/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 |
OlderNewer
