Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
JLRoutesについて
Search
ninjinkun
March 12, 2014
Technology
2.5k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JLRoutesについて
ninjinkun
March 12, 2014
More Decks by ninjinkun
See All by ninjinkun
買収から2ヶ月でシステム統合した話
ninjinkun
0
180
Designer's and Engineer's Thinking Styles
ninjinkun
0
330
Launchable Webinar テストを効率化して生産性を上げる方法
ninjinkun
2
620
ディープリンクの 設計と実装 - iOSDC2017
ninjinkun
18
11k
スマートフォンアプリ開発における共創的な開発チーム
ninjinkun
61
19k
ReSwiftでアプリの状態管理 / Reactive Swift Meetup
ninjinkun
9
17k
フリルのアプリ開発今昔物語
ninjinkun
3
2.3k
プロトタイピング合宿によるデザインリニューアル
ninjinkun
1
3.2k
デザイナーが仕事をしやすいアプリエンジニアを考える
ninjinkun
4
760
Other Decks in Technology
See All in Technology
サーバーレスをどこまで使う? WebRTC対戦ゲームで選んだVPSとの共存設計
kaidouji85
0
480
営業オントロジーの作り方と、エージェントからの辿り方 ── ナレッジワークの現場から
kworkdev
PRO
1
170
全社共通データ基盤をつくる。ソニーのDatabricks活用とデータガバナンス設計の裏側
sony
0
130
Cloudflare Workers 向けアプリを C# で構築する ~WASM Native AOT への道~
nenonaninu
1
1.8k
AI Native Platform Engineering 〜PlatformとAgileで“作る速さ”を“価値”へ〜
uya116
0
360
Mastering Agentic Development: Harness Engineering for Effective Coding Agents
konippi
3
610
手を動かして実感する、Kiro が変える開発体験
inariku
0
410
【ゲームメーカーズスクランブル2026】『Shadowverse: Worlds Beyond』UIとアニメーションで実現する最高のユーザー体験を叶えるプロトタイピング
cygames
PRO
1
690
プラットフォームを「作る」、 チームに「入り込む」
sansantech
PRO
0
320
AWS FinOps Agent 結局何が得意なの?
siromi
0
220
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
7
810
AIエージェントの権限管理 3: Agentic RAG の Fine grained access control 編
ren8k
1
290
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1369
210k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
590
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
A Modern Web Designer's Workflow
chriscoyier
699
190k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
500
The Cult of Friendly URLs
andyhume
79
7k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
330
Crafting Experiences
bethany
1
360
Transcript
+-3PVUFTʹ͍ͭͯ OJOKJOLVO
J04ΞϓϦͱ63-εΩʔϜ w 8FCϖʔδ͔ΒΞϓϦΛىಈͯ͠ίϯςϯπΛදࣔ w ϩάΠϯॲཧͳͲͷϑϩʔͷҰ෦ w ଞΞϓϦͱͷ࿈ܞ 63-εΩʔϜ͕ඞཁʹͳΔ߹
J04ΞϓϦͱ63-εΩʔϜ w εΩʔϜΛઃఆ ! w ύεΛύʔε w OKLTFBSDI w ΫΤϦΛύʔε
w OKLTFBSDI RQPUBUPUJQT w ॲཧΛىಈ ॲཧͷྲྀΕ
J04ΞϓϦͱ63-εΩʔϜ ࣮ྫ -(BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url { if ([url.path isEqualToString:@“/search"])
{ NSString *searchQuery; NSArray *queries = [url.query componentsSeparatedByString:@"&"]; for (NSString *query in queries) { NSArray *keyValue = [query componentsSeparatedByString:@"="]; if (keyValue.count == 2) { if ([keyValue[0] isEqualToString:@"q"]) { searchQuery = keyValue[1]; // Search query found!! } } } ! SearchResultViewController *viewController = [[SearchResultViewController alloc] initWithQuery:query]; [self showViewController:viewController]; return YES; } } OKLTFBSDI RQPUBUPUJQT
J04ΞϓϦͱ63-εΩʔϜ w ϧʔςΟϯάͷϧʔϧهड़ͱॲཧ͕͞Ε͍ͯͳ͍ w "QQ%FMFHBUFʹͨॻ͖͕ͪ͠ w JGจ͕ͲΜͲΜ૿͍͑ͯ͘ w ΫΤϦΛखͰύʔε͍ͯ͠Δ w
/463-ʹΫΤϦΛߏମͱͯ͠औΓग़͢Έ͕ ͳ͍ w ΈΜͳΦϨΦϨΫΤϦύʔαʔΛ࣋ͭΑ͏ʹͳΔ Կ͕͔
J04ΞϓϦͱ63-εΩʔϜ w ύεʹม͕ೖ͍ͬͯΔͱݸผʹύʔε͢Δඞཁ͕͋ Δ w VTFSOJOKJOLVOQSPpMF w શ෦ΫΤϦʹೖΕͯ͘ΕʜΈ͍ͨͳؾʹͳͬͯΑ͘ ͳ͍ !
w ʜͱ৭ʑ͋ͬͯมߋʹऑ͍ Կ͕͔
+-3PVUFT w 63-ͷύλʔϯͱCMPDLTΛొ w 63-͕དྷͨΒCMPDLTΛىಈ w 4JOBUSB3PVUFSMJLFͳΠϯλʔϑΣΠε w ύϥϝʔλʔͷड͚͠ͳͲαϙʔτ w
IUUQTHJUIVCDPNKPFMEFW+-3PVUFT
+-3PVUFT ͍ํ JLRoutes *router = [JLRoutes routesForScheme:@“njk"]; ! [router addRoute:@"/search"
handler:^BOOL(NSDictionary *parameters) { NSString *searchQuery = parameters[@“q"]; ! SearchResultViewController *viewController = [[SearchResultViewController alloc] initWithQuery:searchQuery]; [self showViewController:viewController]; return YES; }]; ! [router addRoute:@"/users/:user_id" handler:^BOOL(NSDictionary *parameters) { NSString *userId = parameters[@"user_id"]; ! UserViewController *viewController = [[UserViewController alloc] init]; viewController.userId = userId; [self showViewController:viewController]; return YES; }];
+-3PVUFT w ϧʔςΟϯάϧʔϧͷొͱ࣮ߦΛͰ͖Δ ͍ํ @implementation AppDelegate ! -(BOOL)application:(UIApplication *)application handleOpenURL:(NSURL
*)url { JLRoutes *router = [JLRoutes routesForScheme:@"njk"]; return [router routeURL:url]; } ! @end
ଞϥΠϒϥϦͱͷൺֱ w /JNCVT,JUTPDLJU w 4USJOH0CKFDU$PEJOHGPS0CKFDUJWF$ w จࣈྻͷύλʔϯ͔ΒΦϒδΣΫτͷੜ·Ͱͬͯ͘ΕΔ w SPVUBCMFJPT w
63-6*7JFX$POUSPMMFS w ֎෦͔Β63-εΩʔϚΛىಈ͢Δ͜ͱఆ͍ͯ͠ͳͦ͞͏ w +-3PVUFT w 63-ͱCMPDLTͷσΟεύον͚ͩʹಛԽͯ͠γϯϓϧ
·ͱΊ w 63-εΩʔϜΛ͏͜ͱ͕͋Ε+-3PVUFΦεεϝ w 4JOBUSB3PVUFSMJLFͳͷͰهड़͕γϯϓϧͰมߋ ؆୯
͓·͚ 9DPEF "3$@45"/%"3%
"3$@45"/%"3% w 9DPEF w "3$@45"/%"3%BSNWBSNWT w 9DPEF w
"3$@45"/%"3%BSNWBSNWTBSN ! w CJUະରԠͷϥΠϒϥϦ͕͍ࠞͬͯ͟ΔͱϏϧυͰ ͖ͳ͍
"3$@45"/%"3% w खͰࢦఆ͢Δͱ$PDPB1PETͰ͚͜Δ ! ! ! ! w
ෳͷ"3$)4ΛϋϯυϦϯάͰ͖ͳ͍όά ͕͋Δ $PDPB1PET
"3$@45"/%"3% w 45"/%"3%@"3$)@@#*5 Λ͑ղܾ ! ! w
݁ہCJUରԠ͕ਖ਼ಓ w ͓͍ͷϥΠϒϥϦ͕CJUରԠ͢ΔΛͪ·͠ΐ͏ 4PMVUJPO
"3$@45"/%"3% 4PMVUJPO