360MacDev Conference Room Split?

2011-12-27 Thread Mac QA
Hi, I'm going to the 360MacDev conference in Denver on Feb 3-4. I'm writing to see if anyone going to the 360MacDev conference might be interested in splitting a 2-bed room at the conference hotel to help reduce costs. I'll be flying in on the 2nd, and out on the 5th. Please send me a direct

Proper removal of a NSStatusItem?

2011-06-22 Thread Mac QA
Hi, When my app quits it leave a gap on the Finder's menu bar where the NSStatusItem was. This gap gets cleaned up the next time a user switches apps. But if you quit my app, see the gap in the Finder bar, then just leave the Finder as the frontmost app for awhile that gap just remains onscreen

Re: Proposal for metadata interoperability on OS X

2008-07-08 Thread Mac QA
On Tue, Jul 8, 2008 at 10:45 AM, Tom Andersen [EMAIL PROTECTED] wrote: User Entered tags: -- stored: under the keyword: kXATTR_UserTags value: NSArray of NSStrings. No hierarchy, maximum tag length 100 chars, maximum number of tags 100, Guidelines: tags should be

Cocoa GUI app invocation from CLI with arguments

2008-03-31 Thread Mac QA
Hi, In the past I have written a few little Cocoa programs that when double-clicked are opened in GUI mode, or can also be invoked from the CLI by passing in a few arguments. In those situations when invoking from the CLI I never actually displayed a GUI, but just performed the same core

Re: Cocoa GUI app invocation from CLI with arguments

2008-03-31 Thread Mac QA
On 3/31/08, Jean-Daniel Dupas [EMAIL PROTECTED] wrote: You can get cli arguments at anytime using NSProcessInfo. - [[NSProcessInfo processInfo] arguments]; Awesome! This looks to be a much better method than parsing argv inside main before calling NSApplicationMain, which is what I've

Re: Distributed Objects NSPortTimeoutException

2008-03-17 Thread Mac QA
On Mon, Mar 17, 2008 at 8:15 AM, John Pannell [EMAIL PROTECTED] wrote: I was on Leopard and using garbage collection. Unfortunately this problem is occurring on Tiger. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Distributed Objects NSPortTimeoutException

2008-03-16 Thread Mac QA
Hi, I've been working on a project using Distributed Objects, and been having an issue that I haven't been able to debug all week. I started with the example code from Chapter 18 19 of the Advanced Mac OS X Programming book -- its the chat server (chatterd) and chat client (ChatterClient)

Re: Cocoa way to get list of user accounts?

2008-03-11 Thread Mac QA
On 3/11/08, Jean-Daniel Dupas [EMAIL PROTECTED] wrote: As far as I know, the only reliable way to get users accounts is to use DirectoryServices ... you also have to be aware that the local user list storage has change between 10.4 and 10.5 Thanks for the info. Sounds none too convenient. I

Re: Creating an NSSocketPort on an available port?

2008-03-11 Thread Mac QA
On 3/11/08, Jean-Daniel Dupas [EMAIL PROTECTED] wrote: struct sockaddr_in* addr4; NSData *data = [receivePort address]; if (data) { addr4 = (struct sockaddr_in *)[data bytes]; port = ntohs(addr4-sin_port); } Any clue why something like this would produce an error:

Triggering GUI login session from daemon? And reboot.

2008-03-03 Thread Mac QA
Hi, I am writing a system daemon that runs (on a client) in the root session as invoked by launchd, and there is also a per-user user agent process in each login session. I communicate with this daemon from a remote process (on a server) via Cocoa Distributed Objects and I want to trigger certain