after giving Objective C a try a year ago and stopped due to time, this time I want to get through the thing.
Here is my solution in a one liner:
[code]int main(int argc, const char * argv)
NSLog(@"Hey, it's %@ Time!", [[NSTimeZone systemTimeZone] isDaylightSavingTime] ? @"Summer" : @"Winter" ); } return 0;
My question: Is it okay, NOT to store the object pointer in a variable and just use it straight away in this case?