Re: Is there any Cocoa API (or other way) to determine if an application is running in a VNC or ARD session?

2010-03-01 Thread Jonathan Hendry
Checking on my lsof -i suggestion now that I'm at work... I just set up a screen sharing session from my laptop to another machine. lsof -i on my laptop produced the following output: AppleVNCS 19770 jon5u IPv6 0x69d9b2c 0t0 TCP *:vnc-server (LISTEN) AppleVNCS 19770 jon

Re: Is there any Cocoa API (or other way) to determine if an application is running in a VNC or ARD session?

2010-02-26 Thread Jonathan Hendry
You might try checking for any telltale running processes, or checking the output of lsof -i for any open sockets that are indicative of a VNC or ARD connection. That might have to run sudo'd as root. http://www.akadia.com/services/lsof_quickstart.txt On Feb 26, 2010, at 18:53 PM, Joe Jones

Re: NSColor for darker hightlight color

2009-10-21 Thread Jonathan Hendry
There's a 'Developer' color list in the color list pane of the standard color picker. - Jon On Oct 21, 2009, at 19:51 PM, Eric Gorr wrote: On Oct 21, 2009, at 7:34 PM, Graham Cox wrote: On 22/10/2009, at 9:25 AM, Eric Gorr wrote: If so, then it may not be appropriate for me to use

IKImageView imageCorrection property

2009-09-30 Thread Jonathan Hendry
Hi all, Last night I was trying to use the imageCorrection property on an IKImageView, but it wasn't working for me. Setting the property to a CIFilter didn't have any effect. The property remained nil. Is there something I'm missing? Thanks, jon

Re: Mac Mini or iMac for Cocoa Development?

2009-09-14 Thread Jonathan Hendry
On Sep 13, 2009, at 19:28 PM, Paul Bruneau wrote: The iMac is so much prettier plus can drive a second display. Refurb store = $999 or even sometimes $849 ones show up. The Mini can drive additional displays if you connect them through USB video adapters. They work quite well, although

Re: [iPhone] Why can't a UITextField be its own delegate?

2009-07-27 Thread Jonathan Hendry
On Jul 25, 2009, at 16:14 PM, WT wrote: Convoluted? I don't see it that way. This particular text field needs to limit its number of characters to a given interval. Seems like a good job for an NSFormatter attached to the field. ___ Cocoa-dev

Re: Non-pageable app

2009-04-06 Thread Jonathan Hendry
On Apr 3, 2009, at 19:27 PM, Clark Cox wrote: On Fri, Apr 3, 2009 at 3:57 PM, Rich Collyer rcoll...@ironkey.com wrote: My primary interest is to ensure that the content of an NSSecureTextField and any times I extract the string from it, the memory is not paged out, or cached. Then turn

Re: Running Cocoa applications from file servers

2009-02-25 Thread Jonathan Hendry
On Feb 25, 2009, at 11:48 AM, I. Savant wrote: On Wed, Feb 25, 2009 at 10:43 AM, Erik Buck erik.b...@sbcglobal.net wrote: Where did the fetish for installing every single application on the local hard disk come from ? Isn't it insane to have 35 installed copies of OmniGraffle using up

Re: App Listener?

2009-01-08 Thread Jonathan Hendry
} event. A hacky idea might be to create an Objective-C Dashboard widget that reports when it is displayed or updated, if that's possible. -- Jonathan Hendry Howard Hughes Medical Institute Maunsell Lab Harvard Medical School ___ Cocoa-dev

Re: MacBook Wake On Lan

2008-08-20 Thread Jonathan Hendry
in the mini-DVI-VGA adaptor from Apple. Jonathan Hendry Howard Hughes Medical Institute Maunsell Lab Harvard Medical School ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: drawer attached to modal window is unresponsive

2008-05-30 Thread Jonathan Hendry
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/jonhendry%40mac.com This email sent to [EMAIL PROTECTED] Jonathan Hendry Howard Hughes

Re: File's Owner

2008-05-23 Thread Jonathan Hendry
An example of multiple nibs where a nib's File's Owner wouldn't necessarily be NSApp would be System Preferences and the preferencepane bundles that it loads. NSApp would be SystemPreferences.app, and owns the main nib of the application. Each preference pane is an instance of

Re: A documetation suggestion (was Re: Cocoa et al as HCI usability problem)

2008-05-22 Thread Jonathan Hendry
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/jonhendry%40mac.com This email sent to [EMAIL PROTECTED] Jonathan Hendry Howard

Re: Cocoa et al as HCI usability problem

2008-05-21 Thread Jonathan Hendry
On May 21, 2008, at 12:52 AM, Peter Duniho wrote: Cocoa restrains class extension _much_ less than any of these other languages, and in turn has a _much_ higher degree of hazard. I think you're overestimating the hazard. Or, at least, the risk that it can be encountered accidentally.

Re: Cocoa et al as HCI usability problem

2008-05-19 Thread Jonathan Hendry
On May 19, 2008, at 1:33 PM, Peter Duniho wrote:] Your point being? If you think your example is useful in presenting your claim, you'll need to be a lot more specific. undoManager.prepareWithInvocationTarget(this).setColor(mColor); I could be wrong, but in C#, wouldn't this UndoManager

Re: Cocoa et al as HCI usability problem

2008-05-18 Thread Jonathan Hendry
For what it's worth, something about the OS X Cocoa docs' arrangement has never quite clicked with me. In part it might be an excess of hyper text, too many pages to click through, breaking up the stream of thought. (I wish XCode's doc viewer had some kind of keyboard shortcut for clicking

Re: NSSound dropouts with Leopard on a G5

2008-05-09 Thread Jonathan Hendry
On May 9, 2008, at 3:27 PM, Jens Alfke wrote: On 9 May '08, at 12:10 PM, Jonathan Hendry wrote: We have an experiment-running program which uses NSSound to play auditory stimuli. After upgrading a G5 to Leopard, we're seeing significant audio problems that we didn't see on Tiger