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 (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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to