Found the answer. It was a silly mistake from my part. I did not convert NSNumber to int like how I was supposed to.
Thanks for reading
Found the answer. It was a silly mistake from my part. I did not convert NSNumber to int like how I was supposed to.
Thanks for reading
My guess: the compiler is optimizing your code and removing the useless "NSString *temp = nil" because it's not used later in your code?
Hi name, Thank you for your reply. Actually I added that line while trying to solve the problem. I was having that problem without the line