osx

Need advice on Windows to OS X Port Estimation and cost of dev. on OS X

Hello, I am a 10year+, C++ linux/windows developer and I have been asked to estimate the effort to port the windows application to OS X. I haven't developed on OS X before,so I don't know what to expect. It is a C++/Qt application, so I want to ask: what are the de facto tools like editor, IDE, compiler, make tool, etc ? Which tools a...

Temporary text attributes causing massive slowdown

I am using the code I posted as an answer to this question to display hidden characters in an NSTextView as bullets. I am coloring the bullets gray with the addTemporaryAttributes:forCharacterRange: method of NSLayoutManager. Each range is of length 1 and colors a single bullet. (Most of the same text I am using has relatively few adj...

Apple automator video tutorials

Hello guys ! Where can I find some Automator video tutorials ? Thanks ...

Are there any commercial add on programming controls for Mac Cocoa/Objective C?

If developing for the Windows .NET APIs I can augment my efforts with 100's of commerically available add-on controls, graphing APIs and other usefull stuff. Can anyone point me in the direction of similar commerical software for Mac Cocoa/Objective C development? Additionally: Are there enough developers to do this commercially? The ...

How do I find the correct case of a filename?

This is on the Mac: If I have two filenames /foo/foo and /foo/FOO they may refer to the same file or the may be different files depending on the file system. How do I figure out if they are both pointing to the same file? And if they are, how do I get the correct representation of the filename? My problem is caused by links. A link mig...

Eclipse keyboard shortcuts broken in OSX 10.5.6

So I have been using Leopard for a year now, and the lastest update broke the keyboard mapping for eclipse. I use the dvorak layout, and now in eclipse if I press the ⌘ and the b key it does a build, instead of a cut(b = x). Does anyone else have this issue, and are there any workarounds? EDIT: The best current workaround is to upgra...

Learn Obj-C Memory Management

I come from a web development background. I'm good at XHTML, CSS, JavaScript, PHP and MySQL, because I use all of those technologies at my day job. Recently I've been tinkering with Obj-C in Xcode in the evenings and on weekends. I've written code for both the iPhone and Mac OS X, but I can't wrap my head around the practicalities of me...

How much RAM is there in an iPhone?

Different iPhones have different published memory 4GB, 8GB and 16GB. The touch can have 32GB. My understanding is this is the off-line memory (disk alike). How much actual fast ram is there in the device available for my Cocoa Application? Is there a preconfigured virtual amount? ...

How do I use the current sound out as an audio input in Quartz Composer?

If I want to build a spectrum visualizer of what's currently playing on my speakers (not the line in) what do I do? ...

Finding the Current Active Window in Mac OS X using Python

Is there a way to find the application name of the current active window at a given time on Mac OS X using Python? ...

AppleScript: adding mounted folder to Finder Sidebar?

I have a simple Apple Script that mounts a folder: mount volume smb://machineip/folder This runs on start up since Mac OS X 10.5.5 doesn't have the concept of mapped drives like Windows. The script doesn't go as far as I'd like though. I get the machine IP added to Finder Sidebar and when I click it, all of the shared folders for th...

Developing Web Applications on the Mac

How does one build Web applications on the Mac that is not RoR or PHP? Can Web applications be created using Objective-C and Cocoa? I'm entirely new to this subject - Hahnemann ...

Connecting to the Internet in an Xcode Application

Hi, The last GUI programming I have done was with Visual Basic, which included objects like Winsock and Inet to easily connect to the internet and retrieve the source from webpages. I just got started into XCode, and was wondering if there is a similar component. I see that there is a Webkit option in the Library, but I have no idea ho...

Building Xcode Projects From the Command Line

I've been playing around with Qt for a few hours now. I found that qmake produces Xcode project files on Mac OS X instead of good ol' makefiles. I don't want to launch Xcode every time I want to build "Hello, world". How do I make qmake generate regular makefiles or, if that's something that cannot be done on the Mac, how do I compile ....

Adding a framework in Xcode

Im trying to add a third party framework in Xcode but I'm getting an error that it can't be found error: MKAbeFook/MKAbeFook.h: No Such File or Directory I've added it in the Linked Frameworks group and added it to the Target for this project. I've also added it to a new Copy Files build phase for that target. Basically I've follo...

Manual Core Data schema migration without "document changed" warning?

The data model for my Core Data document-based app (10.5 only) is in a framework, so automatic schema upgrades using a Core Data mapping model don't appear to work. It appears that the Core Data machinery doesn't find the appropriate data models or mapping model when they are not in the app's main bundle. So, instead of using the automat...

Looking for info on custom drawing of interface components (Cocoa)

It seems like more and more OS X apps these days are doing all kinds of fancy drawing stuff for custom controls. Apps like Twitterific, Things, EventBox, Versions just to name a few.... So basically I'm looking for any information on how to get started doing this kind of thing. Not sure if it is just done by subclassing controls and usi...

Do XCode projects need special settings to use pre-compiled boost libraries?

I have just installed boost for the first time on my Intel Mac, and it works fine in general, as long as I use only boost's header files. But when I try to use a lib, in my case the regex lib, my app links and launches fine, but then it soon crashes in a regex related destructor. This even happens with the simple test program that's gi...

Does GetMovieAudioVolumeLevels() support more than two channels of audio?

I have some code that uses GetMovieAudioVolumeLevels() to get levels of a QuickTime movie during playback. I have an 8 audio channel QuickTime movie, but using the GetMovieAudioVolumeLevels() call it only ever returns 2 channels. I am using kQTAudioMeter_DeviceMix, and right now I'm assuming because my MacPro can only actually playback ...

Latex using eps images builds slowly

Working with a latex document with eps images as in the example below... \documentclass[11pt]{paper} \usepackage[dvips]{graphicx} \usepackage{fullpage} \usepackage{hyperref} \usepackage{amsmath} \DeclareMathSizes{8}{8}{8}{8} \author{Matt Miller} \title{my paper} \begin{document} \begin{figure}[!ht] \begin{center} \includegra...