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.
...
Staging ncurses into destroot
Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/work/ncurses-5.7" && /usr/bin/make install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_re...
I'm using Eclipse with C++ plugins on my macbook, trying some practice projects to improve my skills. I'd also like to test out Mercurial and get a taste of DVCS. Unfortunately, Eclipse + Mercurial + OSX seems to be a rare enough combination that there isn't a lot of helpful documentation out there.
What I've done so far:
Installed ...
I feel this is an awfully obtuse question to ask, but strangely, this problem is poorly documented.
I would like to upgrade PHP, but there are several problems:
There is no built-in package manager. MacPorts doesn't recognize php as an installed package because it didn't install PHP itself.
Running locate php indicates there are pro...
I'm trying to access a relationship (one to many) programatically.
My Data model contains an NSManagedEntity called language (with a two string attributes)
with a relationship to an entity called WordCategory (one-to-many).
I use an NSFetchRequest to get all the Language entities. that works fine.
I get the valueForKey for the relationsh...
I am on OSX Snow Leopard (10.6.2) I can install anything I need to. I would preferably like a Python or Java solution. I have searched on Google and found lots of information on writing my own program to do this, but this is a just a quick and dirty experiment so I don't want to invest a lot of time on writing a bunch of code to do this,...
Hi,
I just reinstalled Mac Os X 10.6.2 and had to reinstall/update my MySQL server.
I run phpMyAdmin inside my localhost and I used to be able to login without a hitch.
Since the updated (latest version MySQL 5.1.45 & PMA 3.3.1) versions I only get the following error when trying to login with phpMyAdmin:
phpMyAdmin - Error
Cannot st...
Hello, I am new to Xcode (and Objective C in general) and I want to create a new Objective-C Library (Framework?) which will be used by some of our iPhone applications in the future.
Which type of project should I choose when Xcode shows the new project dialog? I tried selecting "Blank Project" but then I faced some issues in defining t...
I have a simple App that displays a list of items using NSTableView. There are usually about 15-25 items in the list, and the table has 10 columns, all but one of which are text (the other's an icon.) There are simple data transformers on a couple of the columns. So nothing taxing; you'd expect it to run just fine.
And as it stands, it ...
Disk Utility in OSX easily mounts an SD Card image as a device, but not so the other img files.
I want to get the database I just created in the Android Emulator off the drive and into my osx file system.
I updated my system with qemu using macports but no combination I try succeeds. Anyone figured out how to do this?
Obviously one wa...
I need to send data to a hardware device over serial port. I'm using a program called serial port tool for os x.
After I connect to the device there is a form box where I can type data to send. I have no idea how to format the data.
Here is an excerpt from the manual for the device.
"The Net Manager Command structure consists of one ...
I want to put a dynamically generated icon (not static image) + possibly a tiny bit of text in OSX menu bar.
If possible I'd prefer to do it from Ruby or some other convenient scripting language, but I'll deal with Objective C if that's the only way.
How do I do that?
...
Using Mac OS X 10.6.2, Eclipse SDK 3.5.2.
I installed the Android plugin, following the instructions at:
http://developer.android.com/sdk/eclipse-adt.html
In the next section (step #3) it says:
For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory.
I cannot find such a directory. When I try so...
I am trying to create a static library in xcode and link to that static library from another program.
So as a test i have created a BSD static C library project and just added the following code:
//Test.h
int testFunction();
//Test.cpp
#include "Test.h"
int testFunction() {
return 12;
}
This compiles fine and create a .a file (li...
Hi, I had downloaded and installed the 1.6.9 version of SVN from http://subversion.tigris.org/.
After the installation I noticed that if I launch the command "svn" from the terminal, my Mac still uses the old version, the 1.4.4.
If i want to use the new version, I need to specify its path, like this:
- /opt/subversion/bin/svn commit
inst...
I am trying to use a trivial geometry shader but when run in Shader Builder on a laptop with a GMA X3100 it falls back and uses the software render. According this document the GMA X3100 does support EXT_geometry_shader4.
The input is POINTS and the output is LINE_STRIP.
What would be required to get it to run on the GPU (if possible)
...
Hello, I am new to Objective C and I am trying to implement an async library which works with callbacks. I need to figure out a way to pass callback methods as args to my async methods so that the callback can be invoked when the task is finished.
What is the best way to achieve this in Objective C? In Python, for example I could easily...
I am trying to acquire the file path of an item within the NSMenuItem object. Using [objectname action] i am able to properly acquire the action (cmdOpen). But [objectname target] returns a null value. According to the documentation in the apple developer website, if the value is null, the action is sent to the first-responder. I want to...
How to set desktop wallpaper and screen-saver from cocoa app?
...