Rép: Why resizing doesn't work for me ?
Rép: Why resizing doesn't work for me ?
- Subject: Rép: Why resizing doesn't work for me ?
- From: email@hidden
- Date: Thu, 6 Dec 2001 18:59:22 +0100
Hello
Don't blame me if my question is stupid (I'm prety new to cocoa) but I
don't see how you set your instance variable "myParentWindow" ? it seems
to be the place where your troubles starts.
Herve
-----------------------
(traces*) live {
while ( alive == TRUE) {
[hatred release]; // always try to deallocate hatred
[love retain]; // better have a leak than a lack of love
[love performSelector: @selector (growAndSow:)
withObject: eachOther
afterDelay: 0 ];
}
[self autorelease];
return love;
}
----------------------
Le mardi 4 dicembre 2001, ` 09:39 , kubernan a icrit :
Nope.... it's not due to the lack of return of the init method.
I tried with and without..same pb. :-(
Le mardi 4 dicembre 2001, ` 09:22 PM, Edward Moy a icrit :
On Tuesday, December 4, 2001, at 01:20 AM, kubernan wrote:
Hello,
Because i had no response, i repost the same question : i don't find
solution.
If i display more than one instance of the same window and call a
resize function in my program,
the second window is resizing instead of the first one.
------ Create.m ---------
- (id)init {
self = [super init];
if (![NSBundle loadNibNamed:@"CreateWindow" owner:self]) {
NSLog(@"Can't launch : CreateWindow.nib");
[self release];
}
}