Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Titanium もくもく会 #5
Search
Kosuke Isobe
January 25, 2013
2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Titanium もくもく会 #5
Kosuke Isobe
January 25, 2013
More Decks by Kosuke Isobe
See All by Kosuke Isobe
React Native で LDR の クライアントを作ったというお話
k0sukey
0
110
Mocha testing in Titanium(en)
k0sukey
1
160
Mocha testing in Titanium(ja)
k0sukey
0
200
Titanium もくもく会 #11
k0sukey
0
230
Titanium もくもく会 #10
k0sukey
0
2.3k
Featured
See All Featured
Prompt Engineering for Job Search
mfonobong
0
440
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
260
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
490
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
260
4 Signs Your Business is Dying
shpigford
187
23k
Navigating Weather and Climate Data
rabernat
0
510
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
How STYLIGHT went responsive
nonsquared
100
6.3k
Bash Introduction
62gerente
615
220k
Transcript
tiTokyo ΞϓϦͰ͖ͨʂ Titanium ͘͘ձ #5 131݄26༵
ࣗݾհ • ͍ͦ͜ʔ͚͢ʢ@k0sukeyʣ • দͰಇ͍͍ͯ·͢ • Ti ྺ͏ͪΐͬͱͰ2 • TiPlatformConnect
/ TiIconicFont ͱ͔ ࡞͍ͬͯ·͢ 131݄26༵
ͯ͠·͔͢ʁ 131݄26༵
ΞϓϦΛ ࡞͖ͬͯ·ͨ͠ʂ https://github.com/k0sukey/tiTokyo 131݄26༵
tiTokyo ΞϓϦ • ͪΖΜ iOS / Android ྆ରԠ • Alloy
0.3.6 ʹରԠʢexpr ͷ൵ܶʣ • i18nʢຊޠ / ӳޠʣ • model ͪΐͬͱ͚͍ͩͬͯ·͢ • widget ͍ͬͯ·͢ 131݄26༵
ָ͍͠Ͱ͢Αʂ 131݄26༵
Builtins ͕ศརʂ • animation.js • dialogs.js • measurement.js • moment.js
• social.js 131݄26༵
animation.js var win = Ti.UI.createWindow(); var view = Ti.UI.createView({ transform:
Ti.UI.create2DMatrix() }); win.add(view); view.animate({ duration: 200, transform: Ti.UI.create2DMatrix().scale(1.05, 1.05) }, function(){ view.animate({ duration: 200, transform: Ti.UI.create2DMatrix() }, function(){ ... }); }); var Animation = require(‘alloy/ animation’); var win = Ti.UI.createWindow(); var view = Ti.UI.createView(); win.add(view); Animation.popIn(view, function(){ ... }); 131݄26༵
dialogs.js var dialog = Ti.UI.createAlertDialog({ title: ‘title’, message: ‘message’, buttonNames:
[ ‘No’, ‘Yes’ ], cancel: 0 }); dialog.addEventListener(‘click’, function(e){ ... }); dialog.show(); var Dialogs = require(‘alloy/ dialogs’); Dialogs.confirm({ title: ‘title’, message: ‘message’, yes: ‘Yes’, no: ‘No’, callback: function(){ ... } }); 131݄26༵
var Social = require(‘alloy/social’); var twitter = Social.create({ consumerKey: ‘’,
consumerSecret: ‘’ }); var tweet = funtion(){ twitter.share({ message: ‘message’, success: function(){}, error: function(){} }); }; if (twitter.isAuthorized) { tweet(); } else { twitter.authorize(tweet); } social.js 131݄26༵
REST API Sync Adapterศརʂ • Mads MΦller ͞Μ͕࡞ΒΕ͍ͯ·͢ https://github.com/viezel/napp.alloy.adapter.restapi •
TableView ͷ Data Binding Ͱͤʹ... 131݄26༵
ΈΜͳ༡΅͏ʂ 131݄26༵
131݄26༵