On Mar 4, 2009, at 10:45 AM, Mr. Gecko wrote:
- (IBAction)postComment:(id)sender {
[commentView setString:@""];
[countField setStringValue:@"500 Remaining"];
[[NSApplication sharedApplication] beginSheet:postCommentWindow
modalForWindow:commentWindow modalDelegate:nil didEndSelector:nil
contextInfo:nil];
First, SEL is a C data structure and not an ObjC class, so you should
technically be using NULL instead of nil when such a thing is
requested. But I'm being pedantic, and that's not the real problem.
The real problem is, in addition to ending the sheet, you need to
close it, and I don't see the code doing that.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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 arch...@mail-archive.com