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

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

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

CFPreferences and Mountain Lion

2012-06-21 Thread Michael Domino
/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 mailing list

Re: CFPreferences and Mountain Lion

2012-06-21 Thread michael . domino
, June 21, 2012 2:44pm To: Kyle Sluder k...@ksluder.com Cc: Michael Domino michael.dom...@identityfinder.com, 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

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

Re: Main menu update problem

2011-08-11 Thread Michael Domino
showWindow is probably calling makeKeyAndOrderFront itself. In any event, yes, I did try calling makeKeyAndOrderFront directly, but it did not change anything. Thanks for the suggestion, though, Michael On Aug 10, 2011, at 5:42 PM, Laurent Daudelin wrote: On Aug 10, 2011, at 14:25, Michael Domino

Re: Main menu update problem (SOLUTION)

2011-08-11 Thread Michael Domino
http://www.nemesys-soft.com/ Logiciels Nemesys Software laur...@nemesys-soft.com inline: image001.png Michael Domino | Identity Finder, LLC 250 West 57th St; Suite 2412 | New York, NY 10107 P: 617-816-5851 | F: 888-206-6389 | E

Main menu update problem

2011-08-10 Thread Michael Domino
, 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-206-6389 | E: michael.dom

Launchd daemon and LSOpenApplication in Lion

2011-08-05 Thread Michael Domino
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 Domino | Identity Finder, LLC 250 West 57th St; Suite 2412 | New York, NY

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
...@mooseyard.com 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 be checked. This works, but the top

NSSavePanel and file extensions

2010-01-28 Thread Michael Domino
the 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 kyle.slu...@gmail.com wrote: On Jan 28, 2010, at 9:50 AM, Michael Domino michael.dom...@identityfinder.com wrote: Is that clearer? Yes. It's even clearer now

Re: Hide an Item on Desktop

2009-10-09 Thread Michael Domino
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 mailing list (Cocoa-dev

Re: Distinguishing between return and enter in NSTextField

2009-09-04 Thread Michael Domino
keyDown: method? TIA, Rick -- Michael Domino michael.dom...@identityfinder.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

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

Re: Setting a document's icon and default app

2009-07-06 Thread Michael Domino
app does not occur automatically, only when I manually do Get Info and set it. What am I missing here? Is there a function I should be calling to make this happen when the file is created? Where are your UTI definitions? --Kyle Sluder -- Michael Domino michael.dom...@identityfinder.com

Setting a document's icon and default app

2009-07-02 Thread Michael Domino
array stringcom.identityfinder.identityfinderenterpriseedition.idfvault/string /array keyLSTypeIsPackage/key false/ keyNSPersistentStoreTypeKey/key stringBinary/string /dict /array /plist -- 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

Hiding a running application

2009-06-26 Thread Michael Domino
and the 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

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

Re: Does waitUntilExit really mean that?

2009-04-11 Thread Michael Domino
. 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: [task launch

Re: Does waitUntilExit really mean that?

2009-04-08 Thread Michael Domino
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). Since we are supposed

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 the advice about

Does waitUntilExit really mean that?

2009-04-06 Thread Michael Domino
); [task waitUntilExit]; status = [task terminationStatus]; Thanks for your help, Michael Michael Domino michael.dom...@identityfinder.com smime.p7s Description: S/MIME cryptographic signature

hung in read$UNIX2003

2009-04-03 Thread Michael Domino
+0026 ret 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. Contact

Mysterious hanging problem while drawing

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

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

NSTextView very slow, any remedies?

2009-02-26 Thread Michael Domino
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 michael.dom

immutable collection given to mutating function error

2009-02-22 Thread Michael Domino
a mutable 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