I have written in my code something like this and the strange thing is it’s working!
MKAnnotationView *mapViewIzan = [[MKAnnotationView alloc]
initWithAnnotation:annotation
reuseIdentifier:reuse];;;;;;
Why does this code compile and work? You can see that I have added “;;;;;”
Thanks for your answers.
All statements in Objective C are terminated by a
;.is just the same as
followed by an empty statement that does nothing, which is a totally valid thing in Objective C.
Your
;;;;;is only a number of empty statements doing nothing.