On-Demand Resourcesを意識した コンテンツ制作ワークフロー

On-Demand Resourcesを意識した コンテンツ制作ワークフロー

8e2e0edcf1ffc34e5fbc9ccf7c9a1328?s=128

Noritaka Kamiya

December 16, 2015
Tweet

Transcript

  1. On-Demand ResourcesΛҙࣝͨ͠ ίϯςϯπ੍࡞ϫʔΫϑϩʔ @nolili Noritaka Kamiya

  2. None
  3. None
  4. None
  5. UW04ʹΞϓϦΛҠ২͢Δͧʂ w J04Y࣌୅ʹ࡞ͬͨ΋ͷ w 6*,JU "VEJP2VFVF4FSWJDFT w 4UPSZCPBSE૊Έͳ͓ͨ͠Β΄ͱΜͲಈ͍ͨ

  6. ϑΝΠϧαΠζ͕େ͖͗͢Δʂ w UW04ͷΞϓϦɿόϯυϧαΠζʹ.#ͷ੍ݶ w 4BOECPY΁ͷσʔλอଘ΋ෆՄ w ࢒Γ͸0O%FNBOE3FTPVSDFTͰ

  7. 0O%FNBOE3FTPVSDFT w ΞϓϦຊମͱ͸ผͰඞཁͳσʔλ͕ൃੜͨ࣌͠఺Ͱ αʔό͔ΒඞཁͳσʔλΛऔಘ͢Δ w ॳճμ΢ϯϩʔυ࣌ͷ௨৴ΛݮΒͤΔ

  8. Ϣʔεέʔε w ϓϨΠ͞ΕΔ͔Θ͔Βͳ͍ޙ൒ͷεςʔδͷσʔλ w ՝ۚͨ͠Ϣʔβ͔͠࢖Θͳ͍σʔλ w ετϨʔδ༰ྔ͕(#ͷσόΠεʹ΋༏͍͠  w UW04Ҏ֎Ͱ΋࢖͑Δ

  9. try!

  10. 5BHΛ͚ͭΔ w 9DPEFͰϦιʔεʹUBHΛ͚ͭΔ

  11. ϦιʔεʹΞΫηε͢Δ let request = NSBundleResourceRequest(tags: Set(["town"]))

  12. ϦιʔεʹΞΫηε͢Δ request1.beginAccessingResourcesWithCompletionHandler { error in guard error == nil else

    { return } guard let image = UIImage(named: "myImage") else { fatalError("image not found") } print(image) }
  13. 3FMFBTF request.endAccessingResources()

  14. ʊਓਓਓਓਓਓਓਓʊ ʼɹࢀরΧ΢ϯλɹʻ ʉ:?:?:?:?:?:?:ʉ

  15. None
  16. མͱ݀͠ w "QQ4UPSFͰ഑෍͢Δ৔߹͸"QQMFͷαʔόͰϗ εςΟϯά͢Δඞཁ͕͋Δ w ։ൃத͸ಠࣗͷαʔό͕࢖͑Δ w &OUFSQSJTF༻ΞϓϦ͸ϓϩμΫγϣϯͰ΋ಠࣗαʔ ό͕࢖͑Δ

  17. ςετ࣌ʹಠࣗαʔόʹΞηοτΛஔ͘ w CVJMEσΟϨΫτϦͷσʔλΛอଘ͢Δ w 0SHBOJ[FS͔ΒσʔλΛॻ͖ग़͢ w "44&5@1"$,@."/*'&45@63-@13&'*9Λઃఆ

  18. 4FSWFS ODR 2015-12-05 16-31-40 python -m SimpleHTTPServer Serving HTTP on

    0.0.0.0 port 8000 ... 127.0.0.1 - - [05/Dec/2015 16:35:40] "HEAD /OnDemandResources/li.noli.ODR.2nd.assetpack HTTP/1.1" 200 - 127.0.0.1 - - [05/Dec/2015 16:35:40] "GET /OnDemandResources/li.noli.ODR.2nd.assetpack HTTP/1.1" 200 - 127.0.0.1 - - [05/Dec/2015 16:35:44] "HEAD /OnDemandResources/li.noli.ODR.1st.assetpack HTTP/1.1" 200 - 127.0.0.1 - - [05/Dec/2015 16:35:44] "GET /OnDemandResources/li.noli.ODR.1st.assetpack HTTP/1.1" 200 - 127.0.0.1 - - [05/Dec/2015 17:07:03] "GET /OnDemandResources/AssetPackManifest.plist HTTP/1.1" 200 - 127.0.0.1 - - [05/Dec/2015 17:51:08] "HEAD /OnDemandResources/li.noli.ODR.2nd.assetpack HTTP/1.1" 200 - 127.0.0.1 - - [05/Dec/2015 17:51:13] "GET /OnDemandResources/li.noli.ODR.2nd.assetpack HTTP/1.1" 200 - 127.0.0.1 - - [05/Dec/2015 17:51:14] "HEAD /OnDemandResources/li.noli.ODR.1st.assetpack HTTP/1.1" 200 - 127.0.0.1 - - [05/Dec/2015 17:51:14] "GET /OnDemandResources/li.noli.ODR.1st.assetpack HTTP/1.1" 200 -
  19. མͱ݀͠ɹͦͷ w LJMM͞Εͨ͋ͱ͸͍ͭσʔλ͕ফ͑Δ͔Θ͔Βͳ͍ w ΞϓϦ͋ͨΓ࠷େ(#ͷϦιʔεΛѻ͑Δ w ಉ࣌ʹ CFHJO"DDFTTJOH3FTPVSDFT8JUI$PNQMFUJPO)BO EMFSͰ͖Δͷ͸(#·Ͱ w

    ͍Βͳ͘ͳͬͨΒFOE"DDFTTJOH3FTPVSDFTΛ࢖ ͬͯΞΫηεΛࢭΊΔ
  20. *OJUJBM*OTUBMM5BH w "QQ4UPSFͰΞϓϦΠϯετʔϧ࣌ʹಉ࣌ʹΠϯε τʔϧ͞ΕΔ w ͳ͔ͥ"QQ*%ͱ1SPWJTJPOJOH1SPpMFͰ1VTI /PUJpDBUJPOΛ༗ޮʹ͓͔ͯ͠ͳ͍ͱ͍͚ͳ͔ͬ ͨɻʢ9DPEFͰαϒϛοτ࣌ʹΤϥʔʣ

  21. "QQ4UPSF.#ͷน w .#ͷ੍ݶʹؚ·ΕΔ΋ͷ w "QQMJDBUJPO#VOEMF ΞϓϦຊମ  w *OJUJBM*OTUBMM

  22. 0O%FNBOE3FTPVSDFTΛҙࣝͨ͠ ίϯςϯπ੍࡞ w ͋Δ͋Δ w Τϯδϯ͚ͩ࡞ͬͯɺͱΓ͋͑ͣ৹ࠪ௨ͯ͠ɺ͋ͱ ͔ΒαʔόͷϦιʔεೖΕସ͑Α͏ʂ

  23. 0O%FNBOE3FTPVSDFTΛҙࣝͨ͠ ίϯςϯπ੍࡞ w ͋Δ͋Δ w Τϯδϯ͚ͩ࡞ͬͯɺͱΓ͋͑ͣ৹ࠪ௨ͯ͠ɺ͋ͱ ͔ΒαʔόͷϦιʔεೖΕସ͑Α͏ʂ X

  24. 0O%FNBOE3FTPVSDFTΛҙࣝͨ͠ ίϯςϯπ੍࡞ 㾎શͯͷΞηοτ͕ἧ͍ͬͯΔ͜ͱ 㾎ద੾ͳUBH͕ৼΒΕ͍ͯΔ͜ͱ 㾎ڊେͳσʔλͷ༗ແ

  25. 0O%FNBOE3FTPVSDFTΛҙࣝͨ͠ ίϯςϯπ੍࡞ 㾎Ͳ͜ͰϢʔβΛ଴͍͍ͨͤͯͷ͔ʁ 㾎ॳճىಈ࣌ʹΦϑϥΠϯͷϢʔβ͕Ͳͷ֊૚·Ͱί ϯςϯπʹΞΫηε͢Δͷ͔ʁ 㾎4VCNJU࣌ʹτϥϒϧൃ֮͸ͭΒ͍ 㾎5FTUqJHIUͰςετ͢Δ

  26. 3FGFSFODFT 0O%FNBOE3FTPVSDFT(VJEF IUUQTEFWFMPQFSBQQMFDPNKQEPDVNFOUBUJPO'JMF.BOBHFNFOU$PODFQUVBM 0O@%FNBOE@3FTPVSDFT@(VJEF "QQ5IJOOJOH IUUQTEFWFMPQFSBQQMFDPNMJCSBSZUWPTEPDVNFOUBUJPO*%&T$PODFQUVBM "QQ%JTUSJCVUJPO(VJEF"QQ5IJOOJOH"QQ5IJOOJOHIUNM &YBNQMF$PEF0%34UVEZ IUUQTHJUIVCDPNOPMJMJ0%34UVEZ

  27. On-Demand ResourcesΛҙࣝͨ͠ ίϯςϯπ੍࡞ϫʔΫϑϩʔ @nolili Noritaka Kamiya