Re: -[NSWindowController window] fails
Re: -[NSWindowController window] fails
- Subject: Re: -[NSWindowController window] fails
- From: "Alexander Shmelev" <email@hidden>
- Date: Sun, 30 Nov 2008 18:15:54 +0300
Hello,
I have found that aforementioned issue exists only when Image Capture
(Tiger) loads my TWAIN DS plugin. Other software (ReadIris,
TWAINCocoaClient, ...) load my TWAIN DS plugin and show its dialog
without problems. Image Capture (Leopard) also use my TWAIN DS plugin
without any problems.
Also it seems that I have found solution, but I am not sure that this
solution is correct.
When I remove Application (NSApplication) reference from nib file (NIB
2.x), [NSWindowController initWithWindowNibNamed] in Image Capture
(Tiger) begin to work as expected. But I can remove Application
reference from nib only in Interface Builder from XCode 2.5. Interface
Builder in XCode 3.x does not allow to remove Application reference,
it even recreates it if I previously remove it in Interface Builder
from XCode 2.5.
BR, Alexander.
2008/11/28 Ken Thomases <email@hidden>:
>
> On Nov 28, 2008, at 12:58 PM, Alexander Shmelev wrote:
>
>> [[TwainDialog alloc] init] returns not nil value, but when I call
>> [theDialog window], there is error inside this method.
>
> Care to tell us what the error is? That is probably central to the issue.
>
> Regards,
> Ken
>
>
_______________________________________________
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