IOS Development

Saturday, January 4, 2014

what is difference between retain and copy?

when reatin is called on any object its reatinCount will be incremented by 1.

when copy is called on any object  new copy (or clone) will be created with retain count set to 1.
Posted by Bajibabu at 1:16 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Bajibabu
View my complete profile

Blog Archive

  • ►  2015 (3)
    • ►  September (3)
  • ▼  2014 (10)
    • ▼  January (10)
      • What is the difference between a deep copy and a s...
      • What is the basic difference between coredata and ...
      • What is the maximum size of SQLite Data database o...
      • What happens when you invoke a method on a nil poi...
      • When dealing with property declarations, what is t...
      • List the five iOS app states?
      • What happens when the following code executes? Ba...
      • What is the difference between frames and bounds?
      • what is difference between retain and copy?
      • What is plist (property list)?
  • ►  2013 (5)
    • ►  November (5)
Simple theme. Powered by Blogger.