I'm pretty sure this isn't what you're
proposing, but it could be one interpretation of your
description!
Sorry, I should have phrased it better. I am trying to avoid hardcoding the
filenames into the custom views
In the NIB, just use a custom view, then set
its class to your class
to be displayed will not always be the same and it can change
depending on where the user will click on the main window.
Thanks,
Genu
--- On Wed, 10/1/08, Graham Cox [EMAIL PROTECTED] wrote:
From: Graham Cox [EMAIL PROTECTED]
Subject: Re: Newbie: Simple display with NSView - problem
To: [EMAIL
Thanks, I will check it out and also change the name.
Genu
--- On Wed, 10/1/08, Jonathan del Strother [EMAIL PROTECTED] wrote:
From: Jonathan del Strother [EMAIL PROTECTED]
Subject: Re: Newbie: Simple display with NSView - problem
To: [EMAIL PROTECTED]
Cc: Graham Cox [EMAIL PROTECTED
On 4 Oct 2008, at 1:19 am, Genu Mathew wrote:
Thank you for the reply. Is there any placeholder for the custom
view that I can use in the NIB file such that I can instantiate the
view in the code and then load it onto the window?
I can not hard code the filename into the custom view class
On Thu, Oct 2, 2008 at 12:42 AM, Graham Cox [EMAIL PROTECTED] wrote:
On 2 Oct 2008, at 5:02 am, Genu Mathew wrote:
On debugging, I found that when I run the command [NewWindow
showWindow:self] in the APPController class, the constructor of
'OUSubImageView is called twice
Sounds like you