I have a launch daemon that runs in the login context of a Mac OSX 10.6 machine. I want to launch an agent for each user from that agent, and have the agent run in the user's login context. However, I need to control the precise arguments to the agent application very carefully, which is why I cannot use a launchd agent, like I have for ...
Hi,
I'm using Xcode for a while, and I'd like to start developing Android Applications. However, the SDK is for Eclipse. I personally don't like Eclipse, because of the UI and it starts to suck on my iMac. I was wondering if it is possible to create Android Applications with the Xcode Tools so I can stay with my old friend Xcode (and ma...
Hi, I am on a Mac, programming with Xcode. I have a command line application that will read/write to files in it's bundle and I was wondering how to access these files.
Thanks,
Mr. Man
EDIT: Would it work better if I just made a folder in the user's library folder?
...
When I use FuzzyFinder plugin to open a new file in MacVim, it opens the new file at the same tab in a new buffer.
How to tell FuzzyFinder to open thoses files in a new MacVim tab?
...
Is there any Carbon/Cocoa/C API available on Macs that I can use to enumerate processes? I'm looking for something like EnumProcesses on Windows.
My goal is to check from code whether a process is running (by name).
Thanks!
...
I want to list all of the applications and versions installed on my mac. Stuff like perl, php, etc., not the stuff you see in the Applications directory... Is there a unix command for that?
...
Hi,
For each course I am storing the day of the week the class the user has...and the start and end time and room no.
What would be the best approach in terms of data type, Like for storing time?? so that when I pull it out I can display it e.g 1:00 PM.
Thanks!
...
I would like to tile a CGImage across a CALayer, but it seems to only want to stretch it.
The example code:
self.background = [UIImage imageNamed: @"Background.png"];
[documentDisplay.layer setContents: self.background.CGImage];
I would like to avoid subclassing if I could.
...
Hi
I have a reasonably advanced (many patches and subpatches) quartz composition that was created in Snow Leopard but doesn't run well (many elements are not rendered) in Leopard. The composition tested OK via Quartz Composer's Test in Runtime option and works fine for both Leopard 32-bits and Leopard 64-bits (menu item "File | Test in...
Is it possible to disable Expose programmatically?
...
dyld: Library not loaded: /opt/local/lib/libncursesw.5.dylib
Referenced from: /opt/local/bin/clear
Reason: image not found
Trace/BPT trap
...
I want java to be installed in my leopard macbook. But cudnt find the jdk kit for mac in sun java site. Where shud i look for it?
...
I want to be able to change the appearance of the mouse cursor as it moves over various hot spots in my view's and it seems to me that I should be doing that in the kEventControlSetCursor handler (which I can get). The function "SetCursor" is deprecated, which leads to the question, what do I call to actually change the cursor?
And is t...
Hi I have created a java application. I found there is an application menu and about application in Mac. I donot know how to customize those about application dialog. i Want to write my own dialog instead of that dialog. How to do this.
I found that I have to use Application Adapter.
Thanks
Sunil Kumar Sahoo
...
I'm writing a C++ plugin in Mac OS X using the Carbon framework (yeah, yeah, I know, Apple is deprecating Carbon, but at the moment I can't migrate this code to Cocoa). My plugin gets loaded by a master application, and I need to get a CFBundleRef reference to my plugin so that I can access it's resources.
The problem is, when I call C...
Is there a way to determine the argument types of Objective-C methods traced by Instruments?
I created a custom DTrace Instrument that just lists all Objective-C calls in a class. I am trying to swizzle one of the methods, but only the method name is listed.
Is there a way to determine the argument types? Or as an alternative, a way to ...
Hello all,
Is anyone aware of an OS X tool to monitor SVN repositories for new commits? I am looking for an OS X equivalent to CommitMonitor of the Windows world.
Thanks in advance.
...
How can I override the input forms that viewing a site on mac adds? It displays like other inputs just fine in windows. Thanks :)
http://i40.tinypic.com/653kts.png
...
Is there a way to create custom collapsable code regions in Xcode similar to how Visual Studio can fold around #region/#endregion blocks?
It would be nice to throw all autogenerated content into a region that I can fold away until I need to look at it. #pragma mark doesn't seem to do the trick.
...
I have an iPhone application that send datas via wifi on my mac. I would like to send a logout message to my mac when I quit the iPhone app.
I tried to send it on the :
-applicationWillTerminate methode
but it seems that the application shut down my service before. How and where can I send my message just before the exit ?
Thanks a l...