Hey guys,
I have the 3.2.0 full installer.exe together with it's downloaded archives for windows of World of Warcraft, and I have the 3.x.x to 4.0.0 update installer for both windows and osx.
The problem is as follows: the new World of Warcraft installer wants to download a whole new 12GB to install the game under osx.
I need the old ...
What is the sscanf placeholder for uint8_t types? I tried %u, but gcc under OS X doesn't like it.
...
Hello,
I'm trying to hook up a custom protocol handler to my application on OSX so that I can do test://argument
In my plist I have the following:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>CFBundleURLIconFile</key>
<string></string>
<...
I have a sidebar NSOutlineView in my main window. I want the user to be able to switch the
focus with the tab key through all views in the main window, but he should not be able to give the NSOutlineView the focus with a tab key.
I know that with
- (BOOL)canBecomeKeyView { return NO; }
- (BOOL)acceptsFirstResponder { return NO; }
i ...
I use a cross platform toolkit which wraps Objective-C so i do not/can not use XCode.
Just the pure command line and plain old makefiles.
I compile my source code with "gcc -Wall -g -O0 " but when running it under gdb control i do not get the stack frames or valid source code lines.
First: What can i do to get this work.
Second: How ca...
I have a pretty simple window that contains an NSTextView. I'm calling readRTFDFromFile: to load and display an rtf file on disk. I'm calling this from within the awakeFromNib handler. When the view appears on screen it only partially displays the contents of the rtf, the button portion of the view is blank/white.
However, when the mous...
I'm looking for a way to listen in to all Apple Events send by any program to any other program. There was an app, AEMonitor, that used to do this but it is abandonware as of now.
Is there a known way to do this via cocoa, carbon, etc?
Any help MUCH appreciated.
--
Target OS is 10.6
--
Carification: I'm looking to monitor ALL appl...
I try to use jboss-seam with a db2 database, the following error occurs
com.ibm.db2.jcc.a.SqlException: [jcc][10389][12245][3.52.95] while loading the native
library db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path
an error occurred ERRORCODE=-4472, SQLSTATE=null
I tried setting -Djava.library.path=/opt...
When another application asks my application to open files, I need to find out which app is the source, because different courses of actions are taken. In
- (void)application:(NSApplication *)sender openFiles:(NSArray *)filenames
the code is currently:
NSAppleEventDescriptor *currentEvent = [[NSAppleEventManager sharedAppleEventManag...
Because the apple store couldn't help me, and indeed had never seen VIM before, despite the fact it comes installed as standard on OSX ;-).
...
Hello,
I am trying to configure Apache2 so I can use MySQL for authenticating users to access certain pages. Also authorization needs to work so different groups can reach differen pages.
Now, I have googled a lot but can't find out how to do this. At least not for the configuration I am having. There doesn't seem to be any version of...
I know this sounds a little ridiculous, but I'm just honestly wondering how I can create a MySQL database on my Mac OS X machine. I have MySQL installed (as far as I know) as well as PHP, and I'm wondering how I can create one.
I have downloaded a sample PHP ecommerce site to kind of delve into what I'm trying to familiarze myself with...
Can "Full Keyboard Access" (System Prefs -> Keyboard -> (Radio) All Controls) be controlled with some API? It causes major issues when this thing is on in my app (like buttons not working as expected etc ... it has some custom UI)
Regards,
Erik
...
Is there a function that allows you to manipulate the desktop like Dashboard->Manage Widgets?
The desktop appears to reposition itself and slide up. What I want to do is not just slide the desktop when my toolbar is temporarily active but have the entire desktop resize. I assume if you can grab a handle to manipulate the desktop like Da...
I'm trying to write a simple application that gathers the RSSIValue and displays it via NSLog, my code is as follows:
#import <Foundation/Foundation.h>
#import <Cocoa/Cocoa.h>
#import <IOBluetooth/objc/IOBluetoothDeviceInquiry.h>
#import <IOBluetooth/objc/IOBluetoothDevice.h>
#import <IOBluetooth/objc/IOBluetoothHostController.h>
#imp...
I'm using Rails 3.0.1. I installed the native pg gem for postgresql with this command:
$ export ARCHFLAGS='-arch i386'
$ sudo gem install pg -- --with-pg-config=/Library/PostgreSQL/8.4/bin/pg_config
When I run the gem list, I can see that pg 0.9 is installed.
However when I set the postgres database adaptor and re-run the server...
Hey guys!
I'm just starting out writing C# in MS Visual Studio on a Win 7 partition on my MacBook Pro. Thing is, as a Java programmer I'm used to pressing Alt + Shift + 8/9 (in OSX) to make curly braces. In Win 7 I need to press Alt + 7/0. (Swedish keyboard layout) Needless to say, if I'm gonna write in both OS's it's gonna get really a...
Hi,
I've got an application that needs to become the front most application after a timer expires and resign the front most status when the timer is started by pressing a button, e.g.
click "start timer" -> app resigns front most application
timer expires -> app becomes front most application
I deliberately paraphrased things a litt...
I'm a new ZSH convert on OSX (git status in the prompt was my main driver to make the leap). Everything seems to be working swimmingly but I'm missing something from BASH..
In BASH I would start to run a CLI PHP script that's built around Symfony's CLI tools.
Typically I would run the command like this:
$> php doctrine --configuration...
I use Objective-C bindings for YAJL in my Mac OS X application.
I could not find out how to insert a boolean value (to appear as key:true in the JSON string) in my NSDictionary:
NSMutableDictionary* jsonDict = [NSMutableDictionary dictionary];
[jsonDict setValue: YES forKey: @"key"];
The code above does not run (obviously because YE...