Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Cocoa Touch Frameworkあるある
Search
andfactory, inc.
October 25, 2018
Programming
360
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Cocoa Touch Frameworkあるある
PKPK-Carnageさんが10.25and factory beer bash #4 若手エンジニアLT - スマホアプリ開発あるある編で登壇した資料です。
andfactory, inc.
October 25, 2018
More Decks by andfactory, inc.
See All by andfactory, inc.
UIViewのレイアウト更新メソッドを整理する
andfactory
0
450
Android開発初心者にありがちなこと
andfactory
0
250
Codableあるある
andfactory
0
230
Androidエンジニアあるある
andfactory
0
260
Collectionの罠
andfactory
0
210
iOS開発に慣れてきた時にやりがちあるある
andfactory
0
220
社内勉強会資料 - スクラム・アジャイル開発
andfactory
0
640
Other Decks in Programming
See All in Programming
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
360
AI がコードを書く時代における新卒エンジニアの仕事風景 (2026) / New Graduate Engineers in the Era of AI Coding (2026)
sushichan044
0
220
SREは、MCPとSRE Agentをこう使え!
kazumax55
0
150
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
PRO
1
170
【やさしく解説 設計編・中級 #4】ルールの寿命と、システムの年輪
panda728
PRO
2
150
Hatena Engineer Seminar #37「言語モデルの活用に関する研究」
slashnephy
0
530
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
360
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
510
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
300
AI時代、エンジニアはどう育つのか -未経験エンジニアの成長を間近で見て考えたこと-
thasu0123
0
140
Claude Opus 4.6以後の受託開発エンジニアの変化(Claude Code開発ノウハウ大公開スペシャルbyクラスメソッド)
iidatakuma
1
810
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
1
200
Featured
See All Featured
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
900
It's Worth the Effort
3n
188
29k
We Have a Design System, Now What?
morganepeng
55
8.2k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
How to make the Groovebox
asonas
2
2.3k
GitHub's CSS Performance
jonrohan
1033
470k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
750
Code Reviewing Like a Champion
maltzj
528
40k
How to Think Like a Performance Engineer
csswizardry
28
2.7k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
220
Transcript
CocoaTouchFramework͋Δ͋Δ 10/25 and factory, beer bash #4 PKPK-Carnage 1
About me • iOSྺ2 • ᗡྨ͕͖ • Qiita → @PKPK-Carnage
• Github → PKPK-Carnage • Twitter → @PKPK-Carnage 2
Framework͋Δ͋Δͦͷ1 3
ͦͦFramework։ൃࣗମ͕͋Δ͋ΔͰͳ͍ɻ 4
Framework։ൃͷͭΒΈ • ใ͕ΞϓϦଆʹൺͯগͳ͍ • ํ๏Λߟ͑ͳ͍ͱ͍͚ͳ͍ • ίʔυ্ͷ੍ݶɺಠࣗͷϧʔϧ • ఆ֎ͷ༻ํ๏ͷରࡦʢݶք͕͋Δʣ •
Ϣʔβʔ͕ΤϯδχΞͰ͋Δ 5
Framework͋Δ͋Δͦͷ2 6
SwiftͰ࡞ͯ͠͠·͏ 7
(PPE #BE • Objective-CΑΓ؆୯Ͱ҆શ • ϝϯς͍͢͠ • ϑΝΠϧ͕ݮΔ 8 •
όʔδϣϯͷ • ݹ͍SwiftΛ͍ͨ͘ͳ͍
݁ہObjective-CͰ࡞Δͷָ͕ͩͱؾͮ͘ 9
Framework͋Δ͋Δͦͷ3 10
ϦιʔεΛऔಘͰ͖ͳͯ͘যΔ 11
ྫ: UIImage 12 init?(named name: String)ɺImageLiteral mainͷBundle(ΞϓϦଆ)͔Βࣗಈऔಘͯ͠͠·͏ɻ
Framework༻ͷinitΛ͏ 13 UIImage͚ͩͰͳ͘ɺUINibUIStoryBoardͳͲɺ Resource͔ΒΠϯελϯεΛੜ͢Δͷɺ BundleΛҾ͖ʹ࣋ͭΠχγϟϥΠβΛ༻͢Δɻ
Framework͋Δ͋Δͦͷ4 14
Ͳ͏ͯ͠ImageLiteralΛ͍ͨ͘ͳΔ 15
ϋοΫ͢ΕͰ͖Δ 16
17 _ExpressibleByImageLiteral
( as FrameworkImageLiteral).image͍ͩ͞ 18
19
Framework͋Δ͋Δͦͷ5 20
࡞ͬͨϑϨʔϜϫʔΫΛͬͯΒ͑ͨΒخ͍͠ 21
·ͱΊ • CocoaTouchFrameworkͱΞϓϦͱͰߟ͑Δ͖͜ͱ͕ҧ͏ • తʹԠͯ͡ݴޠΛબఆ͢Δͱ͜Ζ͔Β࢝Ίͨํ͕͍͍ɻ • ϦιʔεΛऔಘ͢Δͱ͖BundleʹؾΛ͚ͭΔ • Framework্Ͱ͢ΕImageLiteralΛ͑Δ •
ͬͯΒ͑ͨΒخ͍͠ 22