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.......
Friday, November 12, 2010
NSDate from UIDatePicker
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment