Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Mobile OS Interviews:Asha OSBadaBlackberry OSBlackBerry Tablet OSBrewiOSiOS DeveloperMeeGoSailfishWebOSWindows Phone (WP)Windows RT
Copyright © 2018. All Rights Reserved
iOS Interview Question:
What is retain counts?
Submitted by: MurtazaRetain counts are the way in which memory is managed in Objective-C. When you create an object, it has a retain count of 1. When you send an object a retain message, its retain count is incremented by 1. When you send an object a release message, its retain count is decremented by 1. When you send an object a auto-release message, its retain count is decremented by 1 at some stage in the future. If an objectʼs retain count is reduced to 0, it is deallocated.
Submitted by: Murtaza
Submitted by: Murtaza
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.