I might’ve over-reacted a bit on Dave’s post as it wasn’t really bad and I get that many times we do want to dissuade people from doing things that are not user-friendly, but I’ve seen devs chased away too often. I think its better to let the user’s themselves admonish the developer.
On Feb 23, 2010, at 9:02 AM, Paul Sanders wrote: > I don't think he meant it to be taken literally! I took it as a > tongue-in-cheek way to ask why the OP wants to do this. I found it rather > amusing. > > However, to answer the question, one can subclass NSApplication, override > [NSApplication terminate] and not call super. That doesn't get rid of the > menu item, but it does prevent it from quitting the app. And I guess you > might beep, too. > > Paul Sanders. > > ----- Original Message ----- > From: "Alex Kac" <[email protected]> > To: "Dave Carrigan" <[email protected]> > Cc: <[email protected]> > Sent: Tuesday, February 23, 2010 2:39 PM > Subject: Re: Removing quit button from dock menu > > No offense but that type of attitude and comment is unhelpful and one > reason cocoa devs sometimes have a not-so-nice reputation. I can > think of several types of apps that need this. Kiosk apps, security > apps, corporate apps, and so forth. > > I beg of you to stick to the technical on this list. > > -- > Sent from my mobile phone > (please excuse any mistakes or short response I might have made) > > On Feb 23, 2010, at 8:15 AM, Dave Carrigan <[email protected]> wrote: > > > > > On Feb 22, 2010, at 10:33 PM, yogin bhargava wrote: > > > >> I dont want to allow the user to quit my application except from the > >> activity monitor. I have removed the controls for apple+Q button > >> and menu > > > > You need to explain to us why you hate your users so much. Alex Kac - President and Founder Web Information Solutions, Inc. "Forgiveness is not an occasional act: it is a permanent attitude." -- Dr. Martin Luther King _______________________________________________ Cocoa-dev mailing list ([email protected]) 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]
