Hey guys, i am getting a Potential Leak of an Object Allocated in the given code below. I am assuming i am not releasing something somewhere. There are no other leaks in my project besides this one. Do i need to declare something in my .M class?
Hey guys, i am getting a Potential Leak of an Object Allocated in the given code below. I am assuming i am not releasing something somewhere. There are no other leaks in my project besides this one. Do i need to declare something in my .M class?
Have you considered ARC. If it's not a huge project it will convert easily & then it's bye bye retain release blues for ever. My 2nd app was written much faster than the first due to ARC. Testing time goes down as well.
Have you considered ARC. If it's not a huge project it will convert easily & then it's bye bye retain release blues for ever. My 2nd app was written much faster than the first due to ARC. Testing time goes down as well.
Except that even with ARC, you need to understand the rules of memory management. ARC means you have less places to screw up, but if you don't understand when to declare things as strong, and when to use weak, and when you need to nil out pointers, you will still have problems.
Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.
Except that even with ARC, you need to understand the rules of memory management. ARC means you have less places to screw up, but if you don't understand when to declare things as strong, and when to use weak, and when you need to nil out pointers, you will still have problems.
I can't believe that all of the responders are such CONTROLLERS and won't let this guy SLIDE so that he can be RELEASED from his misery!
I can't believe that all of the responders are such CONTROLLERS and won't let this guy SLIDE so that he can be RELEASED from his misery!
Ed
Haha I like that one. I actually can slide my pieces around. Rigt now I'm just doing some extreme cleaning of my code because I had a rough copy and good copy so I'm just fixing some things!
Steve
__________________
Don't be a quitter! Never give up and keep pushing to succeed at the things you love!