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
0
350
Cocoa Touch Frameworkあるある
PKPK-Carnageさんが10.25and factory beer bash #4 若手エンジニアLT - スマホアプリ開発あるある編で登壇した資料です。
andfactory, inc.
October 25, 2018
Tweet
Share
More Decks by andfactory, inc.
See All by andfactory, inc.
UIViewのレイアウト更新メソッドを整理する
andfactory
0
440
Android開発初心者にありがちなこと
andfactory
0
250
Codableあるある
andfactory
0
220
Androidエンジニアあるある
andfactory
0
260
Collectionの罠
andfactory
0
200
iOS開発に慣れてきた時にやりがちあるある
andfactory
0
210
社内勉強会資料 - スクラム・アジャイル開発
andfactory
0
620
Other Decks in Programming
See All in Programming
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
680
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
710
CSC307 Lecture 05
javiergs
PRO
0
500
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
540
組織で育むオブザーバビリティ
ryota_hnk
0
170
Apache Iceberg V3 and migration to V3
tomtanaka
0
160
Fluid Templating in TYPO3 14
s2b
0
130
AtCoder Conference 2025
shindannin
0
1.1k
SourceGeneratorのススメ
htkym
0
190
MUSUBIXとは
nahisaho
0
130
CSC307 Lecture 09
javiergs
PRO
1
830
Featured
See All Featured
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
320
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
49k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
430
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
49
Abbi's Birthday
coloredviolet
1
4.7k
The Curse of the Amulet
leimatthew05
1
8.4k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
98
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