Re: how to instantiate MyDocument with file from open panel?
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