mac

Anyone know or want to write a blog similar to the Old New Thing, but for the Mac OS instead of Windows?

Anyone know or want to write a blog similar to the Old New Thing, but for the Mac OS instead of Windows? ...

Hosting web services on Mac OSX Snow Leopard

Does anyone what options exist for developing and hosting web services on a Mac OSX Snow Leopard server? Is webobjects still supported, are there other solutions? Does Python or PHP have a solution on Mac that also has libraries for working with MySQL? Any help appreciated, Thanks // :) ...

Are there any good tutorials for Mac GUI Applications with Cocoa?

I has read some sample codes from Mac dev, and wrote currencyApplication by self. But I still cannot understand clearly how to implement Mac GUI Applications. From NSWindowController class reference, I found a Document-Based Applications Overview pdf for Documents Applications. But I want something like Dialog Programming in MFC. Are ...

GCC Mac OS X framework search path: /System/Library before /Library?

Hello, I'm trying to compile a project on Mac OS X that links to Python. I have Python 2.7 framework in /Library/Frameworks. I compile for Mac OS X 4, so I also have Python 2.3 in /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks. If I invoke gcc with -F/Library/Frameworks and peek at what it does with -v, I see the following: ...

Getting rid of the blue focus rectangle on input boxes in HTML/CSS?

I'm running Mac OS so I can't really tell if this effect is presented on windows machines or not, so I apologize if this effect is not seen for you. Input and TextFields seem to have a blue rectangle when focused, atleast on Firefox and Chrome on a Mac. I have a custom focus effect on a site, and I'm wondering if I can avoid having thi...

Diff Tool for some binary (non-executable) formats

I'm looking for a visual diff tool for Mac OS X that will allow me to see differences in Pages (from Apple's iWork suite) and Adobe Illustrator documents. I realize a visual diff may be a little much to ask, so I'd settle for some sort of XML or plain-text comparison. I'm using Pages to maintain my Spec and Illustrator for my mockups, wh...

Why would you drain an autorelease pool instead of releasing it?

Why would you drain an autorelease pool instead of releasing it? ...

How can I tie togeather extra space on Macintosh desktops with a distributed filesystem?

I have access to a bunch of Mac desktops, the hard drives of which are under-utilized. I want to set up a distributed filesystem to gang them together into one large virtual volume. The server has to be able to run as a normal user. I've tried PVFS2, but it's designed for Linux and isn't running well on OSX (hangs the clients on write)....

Cocoa asyncsocket class problem

Hey I am making server client system with asyncsocket class for cocoa, I really don't get it, do I have to send a message to the server in order to receive something, it seems so. Server should send me a message when I connect, but I won't get anything unless I send the server a message which goes pretty strange, same applies, I have to ...

MacOSX open file with an application: where does it go to?

I posted this basic question before, but didn't get an answer I could work with. I've been writing applications on my Mac, and have been physically making them into .app bundles (i.e., making the directories and plist files by hand). But when I open a file in the application by right clicking on the file in finder and specifying my app,...

How can I make a status-bar only Mac application?

I'm very new to developing for the Mac, and I'm trying to write a Cocoa application whose only presence is in the system menu bar, and does not appear in the Dock. Dropbox, Alfred, and Quicksilver do this (or can be configured to do this). Thank you. ...

How to program in C on Mac Leopard without XCode IDE ?

Hi, I have just come to Mac world from Linux world and I love my way around in Mac environment. I want to write and practice simple C programs in mac and I was searching for the tools I require. Most (All) of the resources in the web ask me to use XCode as IDE to do programming in C on Mac. XCode, for my purpose seems to be an overkill....

Use Mono.NET Library in Linux

First of all, I'd like to point out that I have no experience using Mono.NET, so bear with me if the questions are silly. I'm working on an application that is written in native C++ code and works in Windows (VS2008) and Linux/Mac (gcc). There is a library that I am looking to integrate with, which is currently compiled in MS.NET (versi...

How do I install older version of JDK on Mac?

I need to install JDK 5 for testing Amazon mechanical turk APIs (which is not fully compatible with JDK 6). On Apple's website, I can only find the latest JDK. Is there a way to get older versions of JDKs for Mac? ...

Mac-Automator, How to pipe the output of a shell script to a GUI text box

Hi, the problem i face is this: I would like to have in a context menu (when i right-click on a folder) an action to be executed and display the output to the user, inside, let's say, a text area window with a vertical scrolling bar. Suppose, that the action is just a shell script that executes a "find" command inside the given directo...

How can I use this NSPasteboard code for v10.5 or earlier?

Hi, I'm trying to to paste something to the generalPasteboard but I keep getting some warnings because I'm using 10.6 coding in my 10.5 app. Can someone please fix this code to make it compile for 10.5 or earlier versions of OS X. Thanks NSString *areacode = @"774"; NSPasteboard *pasteboard = [NSPasteboard generalPasteboard]; [...

NSScrollView clipping overlaid UI elements

I have a button that sits on top of an NSScrollView, not within. When the scrollview scrolls, the button get's clipped with part of the button going along with the scrolling and the other part staying positioned. To better describe the issue here's a video of the issue: http://dl.dropbox.com/u/170068/ScrollTest.mov The planned goal wa...

How can I step into Qt's source code when debugging under Mac OS with Qt-creator

I download the qt framework and debugging helper, I can debug my source with Qt creator, but I can't step in to the Qt source code, I have download the source of Qt, how to config the source to let me can trace into the source? or, Must I compile the library from source to do this? I can trace into Qt source Under Windows using Visual c...

access heroku DB via odbc on mac osx?

we need to build a heroku app which stores data in a DB table. we have proprietary software that needs to connect via ODBC to the DB. what driver do we need? ...

Sending a POST form from Cocoa

Hey all! I read an article from http://deusty.blogspot.com/2006/11/sending-http-get-and-post-from-cocoa.html , but I quite didn't get some things. I tried to establish NSURLConnection with it and some how it won't receive data at all? If you are interested here is the site I am trying to login www.lockerz.com . http://pastebin.com/8fP9T...