SlideShare a Scribd company logo
1 of 7
Download to read offline
ARC All about
저자가 좋아하는 '예를들어 이해하는 방식'으로 진행하는 내용입니다
다른 시각으로 접근하여 조금이라도 ARC를 이해하시는데 도움이 되시길 바랍니다. 감사합니다.
ARC 에 대해서 알아봅시다
iOS 나라에 있는 ARC 가문에 대해서 알아봅시다 .
이 가문은 가문대대로 메모리 관리를 해주는 집안입니다.
그래서 ARC 역시 가문의 대를 이어 메모리 관리를 하고 있죠 .
하지만 신문물을 받아 들인 ARC 는 기존의 메모리 관리 방식과는 조금 다른
방식으로
메모리를 관리하게 됩니다.
그럼 ARC에 대해서 좀 더 자세하게 알아볼까요?
이름 : RC ( Reference Counting) ex) 단군 할아버지
소개 :
메모리를 할당하거나 , 참조할 때 레퍼런스 카운트를 증가시키고,
사용을 완료하면 레퍼런스 카운터를 감소 시키는 일을 함
이름 : MRC (Manual Reference Counting) 아버지
소개 :
메모리를 할당하거나 , 참조할 때 레퍼런스 카운트를 증가시키고,
사용을 완료하면 레퍼런스 카운트를 감소 시키는 일을 함
* 개발자가 직접 레퍼런스 카운트를 함
이름 : ARC (Automatic Reference Counting) 아들
소개:
MRC 가 하던일을 자동으로 분석해서 레퍼런스 카운트를 관리해주는 기능
현대화!
iOS 가문
그렇습니다. ARC는 개발자가 직접 레퍼런스 카운트를 할당 및 해제 하는 작업을
자동으로 레퍼런스 카운트를 관리해주는 자동화 업적을 이뤄낸것 입니다!! 쨔잔!!
자, 그러면 ARC 가 하고 있는 업무에 대해서 알아볼까요 ?
이름 : ARC (Automatic Reference Counting) 아들
소개:
MRC 가 하던일을 자동으로 분석해서 레퍼런스 카운트를 관리해주는 기능
현대화!
1.
클래스의 인스턴스가 만들어질때
메모리를 할당해 준다.
2.
클래스의 인스턴스가 더이상
필요하지 않을때 할당된 메모리를
해제한다.
업무내용
단, 참조하고 있는 것이 하나라도 있다면 해제 하지
않는다.
ARC 는 메모리 할당 , 할당된 메모리 해제 2가지 업무를 진행하네요~
단 , 참조하고 있는것이 하나라도 존재한다면 해제 하지 않는다는 사실!
손님들이 다 나가기 전까지는 가게 문을 닫지 않는 착한 ARC !!!
오늘은 여기 까지만 알아보고 ,
ARC에 더 알아보는 시간은 다음 세션으로 찾아뵙겠습니다^^
감사합니다.
엄친아와 엄친아! 누가 더 엄친아 일까?
ARC GC
VS
SWIFT JAVA한번 쯤 생각해 보면 좋은 잇슈!

More Related Content

Featured

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming LanguageSimplilearn
 

Featured (20)

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 

Arc all about chapter.1

  • 1. ARC All about 저자가 좋아하는 '예를들어 이해하는 방식'으로 진행하는 내용입니다 다른 시각으로 접근하여 조금이라도 ARC를 이해하시는데 도움이 되시길 바랍니다. 감사합니다.
  • 2. ARC 에 대해서 알아봅시다 iOS 나라에 있는 ARC 가문에 대해서 알아봅시다 . 이 가문은 가문대대로 메모리 관리를 해주는 집안입니다. 그래서 ARC 역시 가문의 대를 이어 메모리 관리를 하고 있죠 . 하지만 신문물을 받아 들인 ARC 는 기존의 메모리 관리 방식과는 조금 다른 방식으로 메모리를 관리하게 됩니다. 그럼 ARC에 대해서 좀 더 자세하게 알아볼까요?
  • 3. 이름 : RC ( Reference Counting) ex) 단군 할아버지 소개 : 메모리를 할당하거나 , 참조할 때 레퍼런스 카운트를 증가시키고, 사용을 완료하면 레퍼런스 카운터를 감소 시키는 일을 함 이름 : MRC (Manual Reference Counting) 아버지 소개 : 메모리를 할당하거나 , 참조할 때 레퍼런스 카운트를 증가시키고, 사용을 완료하면 레퍼런스 카운트를 감소 시키는 일을 함 * 개발자가 직접 레퍼런스 카운트를 함 이름 : ARC (Automatic Reference Counting) 아들 소개: MRC 가 하던일을 자동으로 분석해서 레퍼런스 카운트를 관리해주는 기능 현대화! iOS 가문
  • 4. 그렇습니다. ARC는 개발자가 직접 레퍼런스 카운트를 할당 및 해제 하는 작업을 자동으로 레퍼런스 카운트를 관리해주는 자동화 업적을 이뤄낸것 입니다!! 쨔잔!! 자, 그러면 ARC 가 하고 있는 업무에 대해서 알아볼까요 ?
  • 5. 이름 : ARC (Automatic Reference Counting) 아들 소개: MRC 가 하던일을 자동으로 분석해서 레퍼런스 카운트를 관리해주는 기능 현대화! 1. 클래스의 인스턴스가 만들어질때 메모리를 할당해 준다. 2. 클래스의 인스턴스가 더이상 필요하지 않을때 할당된 메모리를 해제한다. 업무내용 단, 참조하고 있는 것이 하나라도 있다면 해제 하지 않는다.
  • 6. ARC 는 메모리 할당 , 할당된 메모리 해제 2가지 업무를 진행하네요~ 단 , 참조하고 있는것이 하나라도 존재한다면 해제 하지 않는다는 사실! 손님들이 다 나가기 전까지는 가게 문을 닫지 않는 착한 ARC !!! 오늘은 여기 까지만 알아보고 , ARC에 더 알아보는 시간은 다음 세션으로 찾아뵙겠습니다^^ 감사합니다.
  • 7. 엄친아와 엄친아! 누가 더 엄친아 일까? ARC GC VS SWIFT JAVA한번 쯤 생각해 보면 좋은 잇슈!