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
450
スタートアップの急成長に寄り添うOn-Call体制構築とその変遷
horimislime
3
2.2k
How we build our app with minimum 3rd party dependencies
horimislime
0
130
サポート効率を上げるためのロギング環境構築
horimislime
7
4k
migrating-from-promise-to-reactive
horimislime
0
430
社内Swiftもくもく会成果発表
horimislime
0
170
Swift Optional Extension Tips
horimislime
1
1.8k
ios-internationalization
horimislime
2
9.1k
UI testing in XCode7
horimislime
3
870
Other Decks in Technology
See All in Technology
10分で知る最近のOmarchy
komagata
0
220
AIとペアプロを始める。人とのペアプロをやめる。ペアプロの良さを改めて知る。もっと好きになった。 / Rediscovering Pair Programming
honyanya
1
330
多層防御と最⼩権限で実現する、安全なAIエージェント設計パターン
lycorptech_jp
PRO
1
250
KPIだけでは評価できないプロダクトが考えるべき Evalsという第二の評価系 / Beyond KPIs: Evals as a Second Evaluation Framework for Products #PdEConf
aki_iinuma
4
3.8k
Multica × 長期記憶:40個のミニプロジェクト管理
eiei114
1
230
生成AIのテナント制御とシャドーMCP対策 | AIを"止めずに"、情報を守る
yukun
0
140
20260912_スクラムにジェネラリストは必要か
ryugen04
0
280
クロスボーダーM&AのValue Upを支えるプロダクト開発。日米チームのハブになったプロダクトエンジニアの実践 / Product Engineering Conference 2026
genda
0
110
synctest時代のhttptest Go 1.27で変わるHTTPサーバテストの裏側 / go conference2026 synctest and httptest
budougumi0617
1
850
AIで開発は速くなったのに、なぜ現場は楽にならないのか 〜あなたの組織のボトルネックを突き止めるワークショップ〜
jacopen
1
310
DEFCON_CHV_CTF_Write-up.pdf
bata_24
0
130
OpenTelemetry eBPF Instrumentationの舞台裏 / Behind the Scenes of OpenTelemetry eBPF Instrumentation
ymotongpoo
3
890
Featured
See All Featured
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
AI: The stuff that nobody shows you
jnunemaker
PRO
9
980
Building the Perfect Custom Keyboard
takai
2
870
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
500
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
230
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
440
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Evolving SEO for Evolving Search Engines
ryanjones
0
280
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Amusing Abliteration
ianozsvald
1
290
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