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
セキュリティ専任チームなしで攻撃を先回りするSREが実践したSIEM on Amazon OpenSearch Service
cscengineer
PRO
0
240
re:Invent2026 事前勉強会 歴史と愉しみ方10分LT編
toshi_atsumi
0
130
AI時代の組織作り:チーム開発から「個人×AI」への移行と、持続可能な「開発資本」の築き方
ham0215
1
100
増え続けるプロダクトの品質をどう担保するか。ProductSpecとTypeScriptによる取り組み
joere
3
390
バックオフィスに染み出すTypeScript ── clasp で安全に仕組みを作る
nealle
1
180
AWS構成から考えるWebセキュリティ ― WordPressの構築経験から考える公開範囲と更新運用【JAWS FESTA 2026 in AKITA】
cscengineer
PRO
1
190
自律的なチームを作るためにTechPMがやらないこと
ny7760
1
510
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
6
3.1k
DBTS2026 盛り上がってますか!?Databricksが実現するAI時代のデータ基盤
akuwano
1
130
ライフワーク「猫でもわかるDirectConnect」
kentapapa
0
150
kintoneで在庫管理システムを作るときの要件定義・設計ポイント
kai0707
0
230
Featured
See All Featured
The Curse of the Amulet
leimatthew05
3
16k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
520
Raft: Consensus for Rubyists
vanstee
143
7.8k
Practical Orchestrator
shlominoach
192
12k
It's Worth the Effort
3n
188
29k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
600
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
900
The Language of Interfaces
destraynor
162
27k
Test your architecture with Archunit
thirion
2
2.5k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
680
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