Re: Cocoa-dev Digest, Vol 12, Issue 656

2015-11-25 Thread Michael Domino
Graham, You said, "you close the sheet itself by sending -endSheet to the SHEET, not its parent”. Correct me if I am wrong, but I think you send endSheet: to the parent window, with the sheet window to be dismissed a parameter. Same for the deprecated NSApp method of the same name. The doc say

Prevent App Nap checkbox and Get Info

2015-06-16 Thread Michael Domino
Hi all, I don’t know if this is the correct forum for this question, but please direct me elsewhere if it’s not. I’ve noticed that some applications on my 10.10.3 system do not include the “Prevent App Nap” checkbox, and some do. My own application does not, but I don’t know for sure what I di

Re: Distinguishing between return and enter in NSTextField

2009-09-04 Thread Michael Domino
hen they press >>> Enter. Is the only way to do this to subclass NSTextField and >>> override the NSResponder keyDown: method? >>> >>> TIA, >>> Rick >> > -- Michael Domino michael.dom...@identityfinder.com __

Re: Hide an Item on Desktop

2009-10-09 Thread Michael Domino
es. Can someone point out the ³Apple specs²? I searched through File System Overview and Human Interface Guidelines and could not find any Apple spec about this, except for ³._² files. -- Michael Domino michael.dom...@identityfinder.com ___ Cocoa-dev m

Launchd daemon and LSOpenApplication in Lion

2011-08-05 Thread Michael Domino
comes with a number of caveats that make it difficult to use in practice. See Process Manager and Launch Services for details." I've read through all the doc, but haven't seen any of the caveats mentioned in this tn2083 quote. Can anyone elucidate? Thanks, Michael Michael Domi

Main menu update problem

2011-08-10 Thread Michael Domino
rApps, but that didn't help. This is only a problem in 10.5 and 10.6. The problem does not occur in Lion, which makes me suspect that it's a system bug. Thanks, Michael Michael Domino | Identity Finder, LLC 250 West 57th St; Suite 2412 | New York, NY 10107 P: 617-816-5851 | F: 888-

Re: Main menu update problem

2011-08-11 Thread Michael Domino
rent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software laur...@nemesys-soft.com <> Michael Domino | Identity Finder, LLC 250 West 57th St; Suite 2412 | New York, NY 10107

Re: Main menu update problem (SOLUTION)

2011-08-11 Thread Michael Domino
lin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software laur...@nemesys-soft.com <> Michael Domino | Identity Finder, LLC 250 West 57th St; Suite 2412 | New York, NY 10107 P: 617-81

RE: Application crashes after launching Open/Save dialogs

2011-08-12 Thread Michael Domino
Sanyam, FYI, I had a similar problem with an accessory view that was crashing until I added this line: [dirDlg setAccessoryView:nil]; // On Snow Leopard, we need to do this or we will subsequently crash. -Michael Domino Michael Domino | Identity Finder, LLC 250 West 57th St; Suite 2412

Forcing menu update in 10.4?

2010-01-28 Thread Michael Domino
just out of luck? -- Michael Domino michael.dom...@identityfinder.com Phone: 617-816-5851 Identity Finder, LLC 250 West 57th St; Suite 1400 New York, NY 10107 http://www.identityfinder.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: Forcing menu update in 10.4?

2010-01-28 Thread Michael Domino
ke" wrote: > > On Jan 28, 2010, at 5:52 AM, Michael Domino wrote: > >> I have a hierarchical menu that places checkmarks next to sub-menu items >> when the user selects an item. If either of the sub-menu items are checked, >> I would like the top-level item to

NSSavePanel and file extensions

2010-01-28 Thread Michael Domino
extension (which is what I want). Running on Snow Leopard, the extensions still appear in the file browser list, but when a file is selected the extension is not copied to the text edit field along with the rest of the filename. Is this a bug, or a feature? Thanks, Michael -- Michael Domino

Re: Forcing menu update in 10.4?

2010-01-28 Thread Michael Domino
Thanks for the advice, you are absolutely correct, now the menu update behaves as expected. On 1/28/10 1:33 PM, "Kyle Sluder" wrote: > On Jan 28, 2010, at 9:50 AM, Michael Domino > wrote: > >> Is that clearer? > > Yes. It's even clearer now that you should

Hiding a running application

2009-06-26 Thread Michael Domino
menubar. Then, I bring Finder to the front. The only thing left is the application¹s icon in the command-tab list and the Dock, and the entry in the Force Quit Applications list. Is there a way to remove these items? Thanks, Michael -- Michael Domino michael.dom...@identityfinder.com

Disabling buttons in NSSavePanel

2009-06-29 Thread Michael Domino
a hard error in the future, which makes me nervous. Has anyone needed to solve this problem, and if so how did you do it? Thanks, Michael -- Michael Domino michael.dom...@identityfinder.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Setting a document's icon and default app

2009-07-02 Thread Michael Domino
undleTypeRole Editor LSItemContentTypes com.identityfinder.identityfinderenterpriseedition.idfvault LSTypeIsPackage NSPersistentStoreTypeKey Binary -- Michael Domino micha

Re: Setting a document's icon and default app

2009-07-06 Thread Michael Domino
hu, Jul 2, 2009 at 7:06 AM, Michael > Domino wrote: >> I¹ve set up my app with a document type (see below), moved the app to >> Applications, logged out, logged back in, created a document of this type, >> but the setting the doc¹s icon and association with my app does not occur

Re: Quickly jump to a particular symbol/selector/class ?

2009-07-13 Thread Michael Domino
Debajit, Right-click (set it up so you can use two fingers on the touch pad) directly on the symbol, then select ³Jump to Definition² from the popup menu. There is no faster way to do this (that I know of). -- Michael Domino michael.dom...@identityfinder.com

CFPreferences and Mountain Lion

2012-06-21 Thread Michael Domino
from/writes to disk is not reliable..." Is that true? Is so, how can one be sure that preferences are updated at all? Is there any doc on the behavior of cfprefsd? The man page says basically nothing. Thanks, Michael Domino ___ Cocoa-dev ma

Re: CFPreferences and Mountain Lion

2012-06-21 Thread michael . domino
2012 2:44pm To: "Kyle Sluder" Cc: "Michael Domino" , cocoa-dev@lists.apple.com Subject: Re: CFPreferences and Mountain Lion On Jun 21, 2012, at 12:39 PM, Kyle Sluder wrote: > I guess the question is, why do you care whether the preferences have been > written

immutable collection given to mutating function error

2009-02-22 Thread Michael Domino
dictionary? Am I doing this the wrong way? Thanks for your advice. Michael Domino michael.dom...@identityfinder.com smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

NSTextView very slow, any remedies?

2009-02-26 Thread Michael Domino
e have any suggestions? I have thought about reducing the text to UTF-16 which would of course cut the buffer size in half, since I have never actually seen the upper word of the wchar_t ever to be anything but 0. Is that a naive solution? Thanks for your advice. Michael Domino m

Mysterious hanging problem while drawing

2009-03-07 Thread Michael Domino
nCore) [0x9197ab1a] 35 _semaphore_wait_signal_trap + 10 (in libSystem.B.dylib) Michael Domino michael.dom...@identityfinder.com smime.p7s Description: S/MIME crypt

Why does my heartbeat thread crash?

2009-03-07 Thread Michael Domino
0x92caa394 __NSThread__main__ + 308 10 libSystem.B.dylib 0x9008b095 _pthread_start + 321 11 libSystem.B.dylib 0x9008af52 thread_start + 34 Michael Domino michael.dom...@identityfinder.com smime.p7s Description: S/MIME cryptographic

hung in read$UNIX2003

2009-04-03 Thread Michael Domino
ead::run 222 PThread::threadFunction 223 _pthread_body The code the debugger shows in read$UNIX2003: <+> mov $0xc0003,%eax <+0005> call 0x93d38a14 <+0010> jae 0x93d5beea <<<<< hung here <+0012> call 0x93d5bee1 <+0017> pop %edx <+001

Does waitUntilExit really mean that?

2009-04-06 Thread Michael Domino
sleep(3); [task waitUntilExit]; status = [task terminationStatus]; Thanks for your help, Michael Michael Domino michael.dom...@identityfinder.com smime.p7s Descript

Re: Does waitUntilExit really mean that?

2009-04-07 Thread Michael Domino
} } // We need to schedule the file handle to again go read more data in the background. [[aNotification object] readToEndOfFileInBackgroundAndNotify]; } On Apr 6, 2009, at 8:16 PM, Ken Thomases wrote: On Apr 6, 2009, at 12:47 PM, Michael Domino wrote: Thanks for all

Re: Does waitUntilExit really mean that?

2009-04-08 Thread Michael Domino
the main thread. Thanks again, Michael On Apr 8, 2009, at 11:13 AM, Ken Thomases wrote: On Apr 7, 2009, at 10:44 AM, Michael Domino wrote: Thanks very much for the reply. You're welcome. I have two methods to handle the notifications for the error and output pipes (see below).

Re: Does waitUntilExit really mean that?

2009-04-11 Thread Michael Domino
close the pipe. status = pclose(instream); -Michael On Apr 8, 2009, at 5:11 PM, Michael Domino wrote: Ken, After all the discussion and hours of fun trying the various code permutations, this is the only thing that works reliably for me:

Spotlight importer default plugins?

2009-05-28 Thread Michael Domino
that. Thanks! Michael Domino michael.dom...@identityfinder.com smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Excessive open gui graphics files on Mavericks

2014-04-08 Thread Michael Domino
Hi all, Some of my customers running on Mavericks are having problems with "too many open files" errors. Raising the limit does solve the problem, but I've noticed that on 10.6, at idle, my app opens about 47 files, none of them gui graphics files. On Mavericks, the very same build of the app o