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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
210
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
290
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Building Applications with DynamoDB
mza
96
7.2k
Designing for humans not robots
tammielis
254
26k
Odyssey Design
rkendrick25
PRO
2
760
A better future with KSS
kneath
240
18k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
1.1k
WENDY [Excerpt]
tessaabrams
11
39k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.3k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
490
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
210
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༵