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
1時間で作るSwiftアプリ / Swift Application in an hour
Search
horimislime
October 14, 2014
Technology
160
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
1時間で作るSwiftアプリ / Swift Application in an hour
horimislime
October 14, 2014
More Decks by horimislime
See All by horimislime
PagerDuty を軸にした On-Call 構築と運用課題の解決 / PagerDuty Japan Community Meetup 4
horimislime
1
480
スタートアップの急成長に寄り添うOn-Call体制構築とその変遷
horimislime
3
2.3k
How we build our app with minimum 3rd party dependencies
horimislime
0
130
サポート効率を上げるためのロギング環境構築
horimislime
7
4k
migrating-from-promise-to-reactive
horimislime
0
440
社内Swiftもくもく会成果発表
horimislime
0
180
Swift Optional Extension Tips
horimislime
1
1.8k
ios-internationalization
horimislime
2
9.1k
UI testing in XCode7
horimislime
3
880
Other Decks in Technology
See All in Technology
デザインレビューは自動化できるのか?─ Flutter × Figma で UI 品質保証を考える
techiro
2
790
Technical Project Manager の役割とやりがい、少しだけ AI
yoshiiryo1
0
590
eBPF 簡介 2026 版
shunghsiyu
0
180
Don't write the architecture only in the prompt.
neohsu
0
310
Claude Codeで作ったアプリを安全に公開する/Built with Claude Japan 2026
yoshidashingo
0
160
re:Invent2026 事前勉強会 歴史と愉しみ方10分LT編
toshi_atsumi
0
130
分析作業をどこまで任せるか自分で決められる AIネイティブBI『Golden Analytics』が 良さげな話 /golden-analytics-is-ai-native-bi
shinyaa31
0
120
IBC 2026 動画技術関連レポート / IBC 2026 Report
cyberagentdevelopers
PRO
2
430
公共システムAdventCalendar2026
toru_kubota
0
200
増え続けるプロダクトの品質をどう担保するか。ProductSpecとTypeScriptによる取り組み
joere
3
390
Consistency for mere mortals - A gentle guide to consistency
ufried
0
120
SLOを阻む不安
sraku2159
0
220
Featured
See All Featured
Producing Creativity
orderedlist
PRO
348
41k
How to Ace a Technical Interview
jacobian
280
24k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
The Cost Of JavaScript in 2023
addyosmani
56
10k
Practical Orchestrator
shlominoach
192
12k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
650
Building AI with AI
inesmontani
PRO
1
1.4k
Making Projects Easy
brettharned
120
6.8k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
810
Paper Plane (Part 1)
katiecoart
PRO
2
12k
Mind Mapping
helmedeiros
1
430
Transcript
1࣌ؒͰ࡞ΔSwiftΞϓϦ Swift Study ୈࡾճ
✓ CocoaPods → gem install cocoapods ✓ ͻͳܗίʔυ → https://github.com/horimislime/SwiftNewsReaderSample
✓ directory rootͰ pod install Լ४උ
ຊͷ༰ SwiftΛͬͨ؆୯ͳΞϓϦ࡞ ίʔυΛॻ͖ͳ͕Βߏจͷ͓͞Β͍ iOS։ൃະܦݧͳਓΛఆ͍ͯ͠·͢
࡞Δͷ RSSϦʔμʔ γϯϓϧʹTableViewͰهࣄΛ දࣔ͢Δ
खॱ1 ςʔϒϧϏϡʔΛ༻ҙ͢Δ ViewController.swift Λվ͢Δ UITableViewControllerͷܧঝΫϥεʹมߋ͢Δ ࠷ݶඞཁͳϝιουΛOverride͢Δ
खॱ2 χϡʔεهࣄͷσʔλΛಡΈࠐΉ HTTP௨৴ͰJSONσʔλΛऔಘ͢Δ → URL https://api.myjson.com/bins/4dx6g parseͯ͠NSDictionaryͷྻʹಡΈࠐΉ ಡΈࠐΜͩهࣄΛςʔϒϧʹදࣔ͢Δ
खॱ3 ը૾ΛඇಉظͰಡΈࠐΉ parseͨ͠JSONͷը૾URLΛಡΈࠐΉ ௨৴ඇಉظͰߦ͍ɺUIImageͰදࣔ͢Δ Ұ୴libraryΘͣɺGCDͰͬͯΈΔ
खॱ4 ηϧΛλοϓͯ͠هࣄΛදࣔ͢Δ ηϧΛλοϓͨ͠ࡍͷΠϕϯτΛhandle͢Δ tableͷԿ൪ͷηϧ͕બ͞Ε͔ͨఆ͢Δ →͜ΕΛݩʹهࣄྻ͔ΒσʔλΛऔΓग़͢ ֘ͷهࣄΛදࣔ͢ΔUIWebViewભҠ͢Δ
͓·͚1 3rd-partyϥΠϒϥϦΛͬͯΈΔ ը૾ಡΈࠐΈʹSDWebImageΛͬͯΈΔ ಡΈࠐΈதSVProgressHUDͰϩʔυը໘Λग़͢ ༧Ίpod install͓͍͍ͯͯͩ͘͠͞
͓·͚2 ςετΛॻ͍ͯΈΔ SwiftͰBDDͳςετΛॻ͍ͯΈΔ SwiftςετϥΠϒϥϦQuickΛclone͢Δ CocoaPods·ͩSwift libraryະରԠͱͷࣄ
SwiftΛ৮ͬͯΈͯ Obj-CΑΓΔ͔ʹײత & ॻ͘ྔݮΔ ͪΌΜͱݴޠֶ༷ͳ͍ͱྑ͕͞ग़ͤͳͦ͏ → Scala͍͜ͳͤͯͳ͍JavaΤϯδχΞతͳ… ୯ମςετ͚ͩͰSwiftԽ͢Δͷྑͦ͞͏ ˠӡ༻ϓϩδΣΫτͰಋೖ͕༰қ
None