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
470
スタートアップの急成長に寄り添う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
AI時代に必要な脅威モデリング― 変化の速度に負けない理解とリスク判断
masakane55
4
960
Claude起点の仕様駆動開発
tanakaseiya
0
380
『GOエコノミー 』(相乗りサービス) におけるスペック駆動開発
mot_techtalk
1
310
IoTデバイスを繋げるプロトコルMatterをAndroidで使用する方法
harutiro
0
120
プロダクト価値を、 チームが使える判断軸に変える
vivion
0
110
[2026 Oracle Technical Deep Dive] AI時代のアプリケーションを支えるCloud NativeとJava EEモダナイゼーション (2026年9月17日開催)
oracle4engineer
PRO
0
120
全人類(ほぼ)AWS Organizations の上でAWSを利用している、その世界を知る話
htan
0
110
ビジネスを止めない技術的負債の返済のための戦略とその手法 - 技術的負債と向き合う / Complexity and Simplicity
soudai
PRO
3
550
AIに攻撃される前に、AIに攻撃させる
tsuchikazu
0
150
Execution in the Kingdom of Agents: Reflections on Abstraction and Complexity
bcantrill
0
840
IR Today: Theory, Practice, and Agents
dtunkelang
0
340
[2026 Oracle Technical Deep Dive] VMwareワークロードのOCI移行実践ガイド - OCVSでの継続利用からOCIコンピュートへの移行まで (2026年9月17日開催)
oracle4engineer
PRO
0
120
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
96
6.8k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
450
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Utilizing Notion as your number one productivity tool
mfonobong
4
610
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
860
The SEO identity crisis: Don't let AI make you average
varn
0
580
Balancing Empowerment & Direction
lara
6
1.3k
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