• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating invisible NSMovieViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: Creating invisible NSMovieViews (From: John Hörnkvist <email@hidden>)

  • Prev by Date: Re: Creating invisible NSMovieViews
  • Next by Date: Re: Volume Tracking in Cocoa without Carbon?
  • Previous by thread: Re: Creating invisible NSMovieViews
  • Next by thread: Paste text in active window?
  • Index(es):
    • Date
    • Thread