SlideShare a Scribd company logo
1 of 27
Download to read offline
ARC
. .
Hello, I am Dominic
Automatic Reference Counting
:
Reference Counting !
ARC ?
MRC ARC
ARC
!
• ,
.
•
.
• ,
.
• .
• deinit
.
var reference1
var reference2
var reference3
strong
strong
strong
“John Appleseed”
Person ?
reference1	=	Person(name:	"John	Appleseed") 1
reference2	=	reference1 2
reference3	=	reference1 3
reference1	=	nil 2
reference2	=	nil 1
reference3	=	nil 0
123120
var reference1
var reference2
var reference3
strong
strong
strong
“John Appleseed”
Person ?
reference1	=	Person(name:	"John	Appleseed") 1
1
1
reference1	=	nil 0
reference2	=	nil 0
reference3	=	nil 0
110
reference2	=	Person(name:	"john	Appleseed")
reference3	=	Person(name:	"john	Appleseed")
10 0
var reference1
var reference2
var reference3
strong
strong
“John Appleseed”
Person ?
reference1	=	Person(name:	"John	Appleseed") 1
2
1
1
2
reference3	=	nil 2
1
reference2	=	reference1
reference1	=	nil
reference3	=	reference1
reference4	=	reference2
var reference4
strong
212
?
.
?
•
?
• weak
• .
.
• .
!
•
?
• unowned
•
nil
•
->
!
ARC !
.
.
•
• iOS OS X - OSXDEV
• Objective-C SWIFT -
•
• [Swift] Automatic Reference Counting -
- https://medium.com/@jang.wangsu/ios-swift-rc-arc- -mrc- - -strong-weak-
unowned- - - -988a293c04ac
- https://academy.realm.io/kr/posts/letswift-swift-performance/
- https://twitter.com/twostraws/status/1136130799600668672?s=21
- https://namu.wiki/w/%EA%B8%B0%EC%96%B5%EC%9E%A5%EC%B9%98
.

More Related Content

More from joonjhokil (11)

Test expressions
Test expressionsTest expressions
Test expressions
 
Tdd app setup
Tdd app setupTdd app setup
Tdd app setup
 
Quick sort in Swift
Quick sort in SwiftQuick sort in Swift
Quick sort in Swift
 
Binary search
Binary searchBinary search
Binary search
 
Queue challenges in swift
Queue challenges in swiftQueue challenges in swift
Queue challenges in swift
 
Queue in swift
Queue in swiftQueue in swift
Queue in swift
 
DDD 3기 누렁이 20191110 회의록
DDD 3기 누렁이 20191110 회의록DDD 3기 누렁이 20191110 회의록
DDD 3기 누렁이 20191110 회의록
 
Rx MVVM
Rx MVVMRx MVVM
Rx MVVM
 
Error handling
Error handlingError handling
Error handling
 
RxSwift Transforming operators
RxSwift Transforming operatorsRxSwift Transforming operators
RxSwift Transforming operators
 
Observer pattern
Observer patternObserver pattern
Observer pattern
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

스위프트 ARC 발표 자료