Re: Creating invisible NSMovieViews
Re: Creating invisible NSMovieViews
- Subject: Re: Creating invisible NSMovieViews
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 16 May 2001 14:59:52 +0200
On mercredi, mai 16, 2001, at 02:15 , John Hvrnkvist wrote:
On Wednesday, May 16, 2001, at 01:55 PM, Ken Tabb wrote:
// nsMovie has already been set up (without a movie controller or
NSMovieView, using initWithURL)
NSMovieView *theMovieView;
theMovieView = [NSMovieView alloc]; //instantiates the NSMovieView???
Use the designated initializer of the super class (NSView);
initWithFrame:
I'd also put the view in a window --- one which never gets on screen.
Rule:
Never, ever, call just alloc!
Except when the File Owner of a .nib file is the controller.