I was wondering if there was any decent way, other than NSLog-ing just about everything - to properly debug a Screensaver app bundle in OS X?
The "Screensaver" is a project type in XCode, but there's obviously no Build and Go debugging. Further, I've found that in fact my bundle is getting loaded in to the
/System/Library/Framework...
Hi,
I am developing an application in cocoa.I need to check whether iTunes is installed or not in the machine.Is there any way to find the installed applications????
...
This question is based on the thread.
I downloaded the manuals as the file "v5.1 (Maria) TGZ".
I moved the file to /usr/share/man/. I could not access the manuals by
man mysqlbug
The .tar.gz -file has these files which do not include README
comp_err.1
innochecksum.1
make_win_bin_dist.1
msql2mysql.1
my_print_defaults.1
myisam_ftdump....
How do I get the name of the active user via the command line in OS X?
...
I am using OS X 10.5 and I am looking for a way to detect if an application attempts to access the Internet. At this point I would like to block the application if it matches a set of rules that I will define.
There is the ipfw Unix command that I realise can be used to block access to certain ports, but that affects ALL applications. I...
The bottom of the page is truncated when printed. (Approx 1/2 to 1").
This printing problem does not seem to be specific to Flash (printing certain PDFs also yields this problem), but that is where we found it.
The problem does not occur in older versions of OS X, but does occur in the most recent versions (10.5.5 and up). Not sure whe...
I need to be able to start/stop a per-session GUI agent from a root level daemon.
Similar issues are discussed here, here and here.
What I want to be able to do is basically
for num in `ps ax | grep [s]bin/launchd | cut -c 1-5`;
do
if [ $num -ne 1 ];
then
sudo launchctl bsexec $num launchctl (un)load -S Aqua /Libra...
So the past two clients I've been at, all the talk has been about creating an iPhone app, and I won't lie, I want to make one. Or at least learn how to make them.
I've never owned a Mac, so I have no idea how their OS functions/works/performs, whatever. I'm a .NET Developer and build my own gaming rigs at home, but as far as Mac hardw...
I'm a Windows developer looking to do some Cocoa dev on a Mac. I'm familiar with Subversion, TFS, Sourcegear Vault, CVS and VSS in a Windows environment. What version control should I look at using in my new, unfamiliar Mac environment?
I will be doing 95% of the development, with the other 5% coming from one or two other people. How...
so, title will be it.
...
Good afternoon,
I am attempting to run a stored procedure that updates records in MySQL 5.1 on Mac OSX 10.4.11. Here is a sample procedure:
DELIMITER $$
CREATE DEFINER=`root`@`localhost` PROCEDURE `TestUpd`()
BEGIN
UPDATE Addr
SET eMail2 = 'test';
END
$$
When I execute this procedure, I get the error, 'Error executing SQL ...
I'm trying to programatically get a list of installed fonts in C or Python. I need to be able to do this on OS X, does anyone know how?
...
Under MacOSX, I can create a file under root ("/") without having admin rights.
Anyone has a clue why they implemented it that way?
...
Hey guys, I just had a quick question about copying files on Mac os x with ant.
I've written myself a great little build script for my iPhone development. The script copies
the compiled .app files that are created from xcodebuild. Anyway, the ant command does not seem to work. It does not copy the .app file correctly. it copies the cont...
Hi,
I am copying code from website matplotlib and pasting into the vim editor in a terminal on OSX:
[(http://matplotlib.sourceforge.net/examples/pylab_examples/ellipse_demo.html)][1]
While this works fine in bbedit:
`from pylab import figure, show, rand
from matplotlib.patches import Ellipse
NUM = 250
ells = [Ellipse(xy=rand(2)*10...
This question is based on the thread.
I am interested in the function under the button c because of my current interest in the similar function in the column detection of OS X S.Leopard's Preview.
Where is the code for the function under c in Screen's copy-mode?
...
I have been trying different clients from Vista and I am not having a great experience with them. If I leave them sit for a while they stall and I have to close and reconnect. I have been using both TinyVNC and RealVNC and they both have this problem. I switched from TinyVNC to RealVNC and I get better refresh rates but it still stalls. ...
I am working on porting a Java codebase to Cocoa/Objective-C for use on desktop Mac OS X. The Java code has lots and lots of methods with checked exceptions like:
double asNumber() throws FooException {
...
}
What's the best way to represent these in Objective-C? Exceptions or error out-parameters?
- (CGFloat)asNumber {
... ...
Hi. Getting a linker error on osx (no errors on linux or fbsd for the same code):
ld: duplicate symbol _dbg_char in .libs/liboekernel_la-OEK_get.o and .libs/liboekernel_la-OEK.o
the 2 libs listed in the error are mine but the symbol isn't. c++flint confirms '_dbg_char' is in both libs but i'm not sure how to find where it comes from....