On Fri, Feb 27, 2009 at 4:43 PM, James Cicenia <ja...@jimijon.com> wrote:
> Here is my code: > > - (void)monthFruitAction:(id)sender{ > > MonthPickerViewController *mpvc = [[MonthPickerViewController > alloc]initWithNibName:@"MonthPicker" bundle:nil]; > [mpvc setMyParentController:self]; > mpvc.view.frame =CGRectMake(19,66,260,258); > [fruitTypeView addSubview:mpvc.view]; > } > > How should I release mpvc ? [mpvc release]; ??? Seriously, you'll need to be more specific about what you're asking. Do you mean you want to know *when* to release it? It's difficult to say without more detail about what your intentions are in your specific project. -- I.S. _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com