You don't have a clear understanding of Cocoa memory management. Code: NSDate *aDate = [[NSDate alloc] init]; aDate = [datePicker date]; dateOne = aDate; [aDate release]; Try this: self.dateOne = [datePicker date]; Reread the memory management guide and the description of properties in the Obj-C 2.0 guide. | |
it given the information about how to develop the iphone application and games.......
Showing posts with label NSDate from UIDatePicker. Show all posts
Showing posts with label NSDate from UIDatePicker. Show all posts
Friday, November 12, 2010
NSDate from UIDatePicker
Subscribe to:
Posts (Atom)