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 もくもく会 #11
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Kosuke Isobe
September 10, 2013
230
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Titanium もくもく会 #11
Kosuke Isobe
September 10, 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 もくもく会 #10
k0sukey
0
2.3k
Titanium もくもく会 #5
k0sukey
0
2k
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.4k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
Building the Perfect Custom Keyboard
takai
2
810
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
56k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
1.9k
A Tale of Four Properties
chriscoyier
163
24k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
260
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
72
40k
A Soul's Torment
seathinner
6
3k
Thoughts on Productivity
jonyablonski
76
5.2k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
190
Transcript
Ϟδϡʔϧͷ͝հ 5JUBOJVN͘͘ձ 139݄10Ր༵
͍ͦ͜͏͚͢ @k0sukey ιέοτϕʔεΦʔϓϯεϚΠϧۈ 139݄10Ր༵
ઌʹݴ͓͖ͬͯ·͕͢ "OESPJEͷ Ϟδϡʔϧ͋Γ·ͤΜ 139݄10Ր༵
TiDKLiveBlur k0sukey/TiDKLiveBlur 139݄10Ր༵
5J6*5BCMF7JFX-JTU7JFXΛεΫϩʔϧͤ͞Δͱɺ J04෩ͷεϦΨϥεޮՌΛ࣮ݱͯ͘͠ΕΔϞδϡʔϧ UJBQQYNMͰಡΈ͜Ή͚ͩͰ0,Ͱ͢ɻSFRVJSFͷඞ ཁͳ͠ CBDLHSPVOE#MVS*NBHFHMBTT$PMPS͕͑ΔΑ͏ʹ ͳΓ·͢ %,-JWF#MVSͱ͍͏ϥΠϒϥϦΛ5JUBOJVNͰ͑Δ Α͏ʹ͠·ͨ͠ 139݄10Ր༵
tiapp.xml <modules> <module platform=”iphone”>be.k0suke.tidkliveblur</module> </modules> app.js var tableView = Ti.UI.createTableView({
backgroundBlurImage: ‘/images/backgroundɻpng’, glassColor: ‘#fff’ // optional }); 139݄10Ր༵
TiISRefreshControl k0sukey/TiISRefreshControl 139݄10Ր༵
5J6*5BCMF7JFX-JTU7JFXͰ 6*3FGSFTI$POUSPM͕͑ΔΑ͏ʹͳΔϞδϡʔϧ UJBQQYNMͰಡΈ͜Ή͚ͩͰ0,Ͱ͢ɻSFRVJSF ͷඞཁͳ͠ ͍͔ͭ͘ͷϓϩύςΟϝιου͕͑ΔΑ͏ʹ ͳΓ·͢ *43FGSFTI$POUSPMͱ͍͏ϥΠϒϥϦΛ5JUBOJVN Ͱ͑ΔΑ͏ʹ͠·ͨ͠ 139݄10Ր༵
KitchenSink pull to refresh example var tableView = Ti.UI.createTableView(), pulling
= false, reloading = false; tableView.addEventListener(‘scroll’, function(e){ var offset = e.contentOffset.y; if (offset <= 65 && !pulling && !reloadingoading) { // release to refresh proc } else if (pulling && (offset > -65 && offset < 0) && !reloading) { // pull down to refresh proc } }); tableView.addEventListener(‘dragend’, function(e){ if (pulling && !reloading) { reloading = true, pulling = false; // reloading proc } }); ... 139݄10Ր༵
tiapp.xml <modules> <module platform=”iphone”>be.k0suke.isrefreshcontrol</module> </modules> app.js var tableView = Ti.UI.createTableView({
refreshControlEnabled: true // default true }); tableView.addEventListener(‘refreshstart’, function(){ setTimeout(function(){ tableView.refreshFinish(); }, 5000); }); 139݄10Ր༵
΅͍ͬͯ͘·͢ "OESPJEͷਓ ͪ·͠ΐ͏ 139݄10Ր༵
ࢭ·Βͳ͍*TTVFT ୭͔ॿ͚ͯ 139݄10Ր༵
શʹଞਓͷ;ΜͲ͠Ͱ ૬Λͱͬͨ Ϟδϡʔϧͷ͝հͰͨ͠ 139݄10Ր༵
͓͠·͍ 139݄10Ր༵