On Apr 19, 2012, at 10:43 AM, The Rhythmic wrote:

> Now, within a method, am setting this value to the date from a DatePicker
> as:
> 
> *    fromDate = [datePicker date];*

>From that code, you're getting an autoreleased object from datePicker.  If you 
>want to keep it around, you need to retain or copy it into fromDate.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to