Re: Main window disappears. Sometimes.
Re: Main window disappears. Sometimes.
- Subject: Re: Main window disappears. Sometimes.
- From: Francis Perea <email@hidden>
- Date: Mon, 2 Jun 2008 13:24:09 +0200
Hi Graham, thanks for your reply.
I didn't know I could set any memory setting trough Interface Builder!
After your question I looked into and I've seen that it states as
Beffered.
I've tried to use the Retained option, thinking that this way I
shouldn't use the retain message, but with Retained the windows
appears but doesn't accept any interaction.
I'd take a deep look into de Memory Management doc you suggest.
Thanks again for your help.
Att.
Francis Perea
El 02/06/2008, a las 13:11, Graham Cox escribió:
What settings have you applied to your window in Interface Builder?
generator=[[[Generator alloc]init] retain];
unrelated to your immediate problem, but in a non-GC application,
this would be retaining twice - probably not what you intended. This
suggests your understanding of memory management might be a bit
shaky, so a general review might help.
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/MemoryMgmt.html
hth,
G.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden