Changing NSUserNotificationAlertStyle

2017-09-01 Thread Andrew Keller
two apps to communicate? For example, I see that XPC services aren’t allowed to present UIs (not sure if that extends to NSUserNotification). Thanks, - Andrew Keller ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: Launch, connect, communicate

2016-08-19 Thread Andrew Keller
Am 16.08.2016 um 8:35 vorm. schrieb Jens Alfke : > On Aug 15, 2016, at 7:26 PM, Andrew Keller <mailto:and...@kellerfarm.com>> wrote: >> >> 1. If the main Plot app is _not_ running in the current Aqua session, then >> launch a new copy in the current Aqua sess

Launch, connect, communicate

2016-08-15 Thread Andrew Keller
d in being App Store compliant. I don’t know if this will make it there, but being App Store compliant is also something I need to learn, so I figure I may as well shoot for it. Any ideas? Or, are there any other mailing lists that may be more closely related to this topic? Thanks, - Andrew Ke

Re: NSImage drawInRect deadlock

2016-08-10 Thread Andrew Keller
Am 10.08.2016 um 2:48 vorm. schrieb Quincey Morris : > On Aug 9, 2016, at 20:47 , Andrew Keller <mailto:and...@kellerfarm.com>> wrote: >> >> 2. When utilizing Mike’s approach to limiting the number of parallel tasks >> down to, say, 1-8, I have been completely un

Re: NSImage drawInRect deadlock

2016-08-09 Thread Andrew Keller
Am 09.08.2016 um 7:38 nachm. schrieb Andrew Keller : > Am 09.08.2016 um 3:59 nachm. schrieb Kyle Sluder : >> On Tue, Aug 9, 2016, at 07:38 AM, Andrew Keller wrote: >> >>> I was under the impression from the docs that macOS >>> handles the thread pool “automatic

Re: NSImage drawInRect deadlock

2016-08-09 Thread Andrew Keller
Am 09.08.2016 um 3:59 nachm. schrieb Kyle Sluder : > On Tue, Aug 9, 2016, at 07:38 AM, Andrew Keller wrote: > >> I was under the impression from the docs that macOS >> handles the thread pool “automatically”. > > Mike Ash did a good job explaining why this isn’t as “a

Re: NSImage drawInRect deadlock

2016-08-09 Thread Andrew Keller
Am 08.08.2016 um 8:12 nachm. schrieb Kyle Sluder : > > On Mon, Aug 8, 2016, at 05:11 PM, Jens Alfke wrote: >> >>> On Aug 8, 2016, at 2:54 PM, Aaron Tuller wrote: >>> >>> "The following classes and functions are generally not thread-safe. In most >>> cases, you can use these classes from any th

NSImage drawInRect deadlock

2016-08-08 Thread Andrew Keller
serially, or is there something I’m doing wrong? Thanks, - Andrew Keller ___ 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

NSCollectionViewItem lifecycle

2016-08-03 Thread Andrew Keller
views are also never deallocated. Not really knowing how NSCollectionView works under the hood, I’m unsure of the next step to troubleshoot this. Any ideas? On a related note, what is the expected lifecycle of an NSCollectionViewItem object? Thanks, - Andrew Keller

Human-understandable process name

2015-02-13 Thread Andrew Keller
process in question is a helper app with a different name. Is this ability replicable in third party applications? Thanks, - Andrew Keller ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Machine sleep & wake notifications in a daemon

2015-01-12 Thread Andrew Keller
On Jan 8, 2015, at 7:00 PM, Andrew Keller wrote: > On Jan 8, 2015, at 6:11 PM, Greg Parker wrote: > >> On Jan 8, 2015, at 2:54 PM, Andrew Keller wrote: >> >>> On Jan 8, 2015, at 5:20 PM, Ken Thomases wrote: >>> >>>> On Jan 8, 2015, at 4:03 PM

Re: Machine sleep & wake notifications in a daemon

2015-01-08 Thread Andrew Keller
On Jan 8, 2015, at 6:11 PM, Greg Parker wrote: > On Jan 8, 2015, at 2:54 PM, Andrew Keller wrote: > >> On Jan 8, 2015, at 5:20 PM, Ken Thomases wrote: >> >>> On Jan 8, 2015, at 4:03 PM, Andrew Keller wrote: >>> >>>> I would like to receive m

Re: Machine sleep & wake notifications in a daemon

2015-01-08 Thread Andrew Keller
On Jan 8, 2015, at 5:20 PM, Ken Thomases wrote: > On Jan 8, 2015, at 4:03 PM, Andrew Keller wrote: > >> I would like to receive machine sleep and wake notifications in my daemon. >> In my Cocoa GUI application, I was able to easily follow the sample code >> und

Machine sleep & wake notifications in a daemon

2015-01-08 Thread Andrew Keller
a GUI application. Is it possible to have a Cocoa-style event queue in a daemon, or is there another way to receive machine sleep and wake notifications from the OS in a daemon? Thanks, - Andrew Keller ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Ple