Showing posts with label errors. Show all posts
Showing posts with label errors. Show all posts

Thursday, September 26, 2013

Common Objective C coding errors

I am going to introduce the common coding errors made while programming in Objecive C language.

1. Declaring the const char * strings. Yes this the common coding error while programming, You almost never want to declare a const char * string, e.g. see the below line of code.



self.selectedLabel.text = [NSString stringWithFormat:@"Selected : %d", self.selectedCount];