• 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: how to instantiate MyDocument with file from open panel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to instantiate MyDocument with file from open panel?


  • Subject: Re: how to instantiate MyDocument with file from open panel?
  • From: Nathaniel Gottlieb-Graham <email@hidden>
  • Date: Thu, 6 Dec 2007 21:57:50 -0500

Okay, I've made initWithMovie that calls a setMovie method. Everything gets called correctly, but my MyDocument's NIB never loads, or at least that's what it seems because windowControllerDidLoadNib never gets called. Is there something special I have to to do get its NIB to load?

Apologies for the basic questions, but I'm still quite new to this.



On Dec 6, 2007, at 8:38 PM, Michael Dautermann wrote:


On Dec 6, 2007, at 4:12 PM, Nathaniel Gottlieb-Graham wrote:

Do you think I should make my own init method? I'm not going to need to ever change the movie in the QTMovieView, so maybe I should just make init into something like initWithMovie:(QTMovie) *movie. Does that sound like an okay idea, or would it be better to init with nothing and then put the movie into the view manually?


sure, "initWIthMovie: (QTMovie *) movie" would work just fine.

As long as you handle a possible case when movie is NULL.


_______________________________________________

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


References: 
 >how to instantiate MyDocument with file from open panel? (From: Nathaniel Gottlieb-Graham <email@hidden>)
 >Re: how to instantiate MyDocument with file from open panel? (From: Michael Dautermann <email@hidden>)

  • Prev by Date: Re: Binary Data Format for NSTextView
  • Next by Date: Re: how to instantiate MyDocument with file from open panel?
  • Previous by thread: Re: how to instantiate MyDocument with file from open panel?
  • Next by thread: Re: how to instantiate MyDocument with file from open panel?
  • Index(es):
    • Date
    • Thread