setFrameAutosaveName
setFrameAutosaveName
- Subject: setFrameAutosaveName
- From: Tom Gray <email@hidden>
- Date: Fri, 24 Jan 2003 20:48:28 -0500
I have figured it out. For those of you who have been following my
problem, I had a re-entrant bug associated with setFrameAutosaveName.
Apparently setFrameAutosaveName causes windowDidLoad to be called. I
had setFrameAutosaveName in my init and so I was starting my classes
windowDidLoad method before the init was complete.
I suspected that setFrameAutosaveName should not be in the init and so
I initially moved it to my windowWillLoad method. That did not work
since now the windowWillLoad method via setFrameAutosaveName triggered
the windowDidLoad method!
I then moved setFrameAutosaveName to the windowDidLoad method which was
even worse. setFrameAutosaveName triggers a windowDidLoad while in the
windowDidLoad. Talk about an infinite loop!
The solution to my problem was to move xxx to the showWindow method.
Whew!
Tom Gray
-------------
email@hidden
or
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.