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
190
Titanium もくもく会 #11
k0sukey
0
230
Titanium もくもく会 #10
k0sukey
0
2.3k
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
18k
How to make the Groovebox
asonas
2
2.3k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.5k
ラッコキーワード サービス紹介資料
rakko
1
3.8M
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
1.9k
It's Worth the Effort
3n
188
29k
How STYLIGHT went responsive
nonsquared
100
6.2k
Visualization
eitanlees
152
17k
Embracing the Ebb and Flow
colly
88
5.1k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
GraphQLとの向き合い方2022年版
quramy
50
15k
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༵