I\'m looking at the following apple example source code:
/*
Cache the formatter. Normally you would use one of the date formatter styles (such as NSDate
"static
" functionally means "don't evaluate the stuff on the right side of the equals sign every time through, use its previous value instead" in this case.
Use this great power with great responsibility: you run the risk of using a whole ton of memory, since these are objects that never go away. It's rarely appropriate except for in cases like this one with NSDateFormatter
.