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 have one view instantiated in the nib and another one instantiated in code. Do one or the other, but not both.
If you set up your custom view in the nib, there's no need to init another one - it already exists. Objects in nibs are real objects, they are not placeholders for objects you create at runtime.
hth, Graham _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]