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
1.9k
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
190
Titanium もくもく会 #11
k0sukey
0
230
Titanium もくもく会 #10
k0sukey
0
2.3k
Featured
See All Featured
Thoughts on Productivity
jonyablonski
76
5.2k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
270
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
290
Designing Powerful Visuals for Engaging Learning
tmiket
1
420
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
55k
Google's AI Overviews - The New Search
badams
0
1k
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
62
44k
So, you think you're a good person
axbom
PRO
2
2.1k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
160
Color Theory Basics | Prateek | Gurzu
gurzu
0
370
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༵