Hi,
I am developing an application in cocoa which needs to copy a set of files to the system folder. When copying files to system folder I am getting a "Permission denied " error message . How can I resolve this problem.
Please any one help me...
Thanks in advance
...
Hi...
I am just starting with OSX development, and I am trying to get delegate notifications from a NSTextField. I've got the following code so far:
This is where I set the delegate:
- (void) awakeFromNib {
NSLog(@"Setting delegate");
[amountField setDelegate: [[TextfieldController alloc] initWithLog]];
}
And this is my Text...
I'm looking at options to access DVB data on OS X. Initially I want to support the EyeTV DTT USB device, but in the long-run I'd like to support a number of popular devices. The problem I have is that there is no standard way of controlling such devices.
All the applications I know of that use them either hide the driver code within t...
Can access AppEngine SDK sites via local ip-address when localhost works just fine and a MacOSX using the GoogleAppEngineLauncher.
I'm trying to setup facebook development site (using a dyndns.org hostname pointing at my firewall which redirects the call to my mac book).
It seems like GoogleAppEngineLauncher defaults to localhost and b...
I'm trying to write a simple java applet program, but it seems that I'm missing the javax.servlet.* class definitions.
Using:
apple snow
eclipse Java EE ide
Do I need to add a specific JAR file to my project and if so, which one?
I have Macports installed in case something from the ports might be helpful.
...
I've sort of got Fsi.exe working as expected on a Mac OS X (Snow Leopard) with Mono. I just noticed a little bit of odd behavior with cut and paste and I was wondering if anyone had seen this.
I've defined the following alias for fsi:
alias fsi='ledit mono ~/FSharp-1.9.7.8_2/bin/fsi.exe --gui-'
ledit is an Ocaml utility that seems ...
What's the best one-stop-shop "safe" C library solution on the Mac? I use quotes on "safe"/"unsafe" because there is much debate as to the benefits of certain Standard Library functions or their putatively improved alternatives.
Many traditional Standard C Library functions (e.g., vfprintf) are considered to be unsafe due to the potent...
I'm trying to port some code from FreeBSD to OS X. The code is fairly low-level and it creates a number of special device files using make_dev() and controls functionality using functions like ioctl().
Ideally I'd like to keep my code as close to the original as possible so I can more easily merge upstream changes in the future: my q...
I have an app that was developed for Windows but runs fine on MacOS under mono without any modifications (yay!). However, since it's an exectutable, OSX doesn't recognize it as a native file type, meaning you have to drop to the command line to run 'mono appname.exe'. It also doesn't show the application icon. In case it matters, my t...
I have been modifying the code here: WhereIsMyMac to try and get a better understanding of CoreLocation for OS X. Unfortunately, I haven't been able to figure out how to modify the template HTML file to force a "Maps" view - my frame defaults to "Satellite View"
Here is the relevant line:
src="http://maps.google.com/maps?ie=UTF8&am...
I've been having nothing but trouble with python2.6 and Snow Leopard. One major problem is 32 vs 64-bit libraries.
The other manifests itself like this:
tppllc-mbp15$ sudo easy_install-2.6 appscript
Searching for appscript
Reading http://pypi.python.org/simple/appscript/
Reading http://appscript.sourceforge.net
Best match: appscript 0....
I need to change the output sample rate from 44.1 to 32.0, but it always throws an error, Out: AudioUnitSetProperty-SF=\217\325\377\377, -10865. I don't know why it will let me set it for input, but then not set it for output.
My code is:
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
OSStatus MyRenderer(void ...
How can I copy files in Java using JNI on OS X?
...
I'm about to attempt to write a USB driver for my application on OS X using IOKit. I've opted for the userspace route rather than developing a kext since it's so much easier to debug etc, but I'm having trouble working out how I could possibly test-drive my development.
If possible, I'd like to find a way to insert a fake USB device i...
I would like to add a sort of animation to my outlineView when a row is added,
I use it as a friends list and I want to create something like the iChat one,
Or a way to make them fade in
...
Hello i am using the latest version of artoolkit, and succesfully compiled simplevrml, but it doesn't show any textures not even the ones in the bud_B example.
Does anyone have a similar experience or problem or have solved this?
Thanks in advance.
...
Hi!
I recently switched form ubuntu to MacOSX.
I also recently started heavily using multi threading.
What good addons/alternatives are there to g++ for debugging multi-threaded apps on MacOSX? In particular, I'm interested in tools that let me "poke" around classes/structs; to follow pointers, expand members, show the value of member...
I want to write a little apple script that disables my screensaver password whenever my phone is in range with Bluetooth. I have spent quite a bit of time search and I have not been able to actually find anything that works. I have tried things like:
defaults -currentHost write com.apple.screensaver askForPassword -int 1
But, this do...
Found Mylyn as a very good task manager that supports Trac and Gmail Task.
I've seen Tasktop, but looking for something with smaller memory footprint that I could always run in background.
Is there any lighter client (not on Eclipse platform) to manager at least Trac tasks (via XML-RPC) and in best case scenario with GMail Tasks suppor...
I have been using Unimotion in my application to read motion sensor values for Apple laptops, but have been unable to port the code to 10.6 64-bit. (I have also tried SMSLib and had the no luck either.)
Is there any simple 10.6 compatible
SMS API?
If there is no alternative, I am also considering patching one of the libraries. Both U...