Re: Crash(?) Questions
Re: Crash(?) Questions
- Subject: Re: Crash(?) Questions
- From: koko <email@hidden>
- Date: Tue, 12 Jun 2012 12:34:43 -0600
op is an NSOpenPanel
[self window] is an NSWindow owned by a NSWindowController subclass
-koko
On Jun 12, 2012, at 12:20 PM, Mike Abdullah wrote:
>
> On 12 Jun 2012, at 11:00, koko wrote:
>
>> Yes, I was using beginSheetModalForWindow: completionHandler
>>
>> So I have changed to:
>>
>> [NSApp beginSheet:op modalForWindow:[self window] modalDelegate:self didEndSelector:@selector(sheetDidEnd:returnCode:contextInfo:) contextInfo:nil];
>>
>> - (void)sheetDidEnd:(NSWindow *)sheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo
>> {
>>
>> }
>>
>> Now, the didEndSelector is not being called … this makes no sense
>>
>> Suggestions please …
>
> What kind of window is this?
>
_______________________________________________
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