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
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
The Language of Interfaces
destraynor
162
27k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Prompt Engineering for Job Search
mfonobong
0
370
Discover your Explorer Soul
emna__ayadi
2
1.2k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
190
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
1.9k
How to build a perfect <img>
jonoalderson
1
5.8k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
460
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༵