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
Swift Study Singleton
Search
mcz9mm
July 03, 2017
78
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Swift Study Singleton
mcz9mm
July 03, 2017
More Decks by mcz9mm
See All by mcz9mm
自己満アプリから脱却するためにした UI改善とは
mcz9mm
1
1.2k
SwiftUI-List-Pagination
mcz9mm
2
2.4k
ARKit2.0でAppleが伝えたいアプリ体験を考える
mcz9mm
2
1.3k
ゆるく学ぶARKit
mcz9mm
3
1.6k
What’s New in ARKit2.0
mcz9mm
0
150
徳丸本 ログインフォーム
mcz9mm
0
140
arkit+animoji
mcz9mm
0
100
徳丸本8
mcz9mm
0
140
徳丸最終回
mcz9mm
0
100
Featured
See All Featured
Are puppies a ranking factor?
jonoalderson
2
4.1k
The Limits of Empathy - UXLibs8
cassininazir
2
760
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
120k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Testing 201, or: Great Expectations
jmmastey
46
8.4k
Exploring anti-patterns in Rails
aemeredith
4
560
Visualization
eitanlees
153
17k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
Optimizing for Happiness
mojombo
378
71k
Believing is Seeing
oripsolob
1
270
Transcript
Swift Study Singleton
Singletonͬͯʁ
ͦͷΫϥεͷΠϯελϯε͕1ͭ ͔͠ੜ͞Εͳ͍͜ͱΛอূ͢Δ
σβΠϯύλʔϯͷ̍ͭ
• SingletonΫϥεɺstaticͳSingletonΫϥε ͷΠϯελϯεΛ1ͭ࣋ͭ
• initΛprivateʹ͢Δ͜ͱ
࡞ͬͯΈͨ
• SAVE • LOAD • ͜͜Ͱอଘͨ͠ͷ ผΫϥε͔Βݺͼग़͠Մೳ
ϝΠϯͱͳΔ෦
ͷઃఆ
None
ͷऔಘ
None
End