mac

Change NSTableView alternate row colors

I'm using the "Alternating Rows" option in Interface Builder to get alternating row colors on an NSTableView. Is there any way to change the colors of the alternating rows? ...

Running SWT based, cross-platform jar properly on a Mac

Hi, I have been working on a SWT-based project which is intended to be deployed as Java Web Start, and thus be used on multiple platforms. So far I have managed to tackle the exporting problem that arises due to the system-specific libraries SWT depends on (see relevant thread). The resultant jar seems to work start fine on 32/64-bit ...

install Ruby 1.8.6 with rvm in Mac OS X 10.6 Snow Leopard failed

I'm trying to learn Ruby on Rails and wanted to follow Apple's example: http://developer.apple.com/tools/developonrailsleopard.html It requires Ruby 1.8.6 and Rails 2.0.2 My machines is already updated to 1.9.1. I wanted to use rvm to install 1.8.6 but it failed during make with the following log: [2010-10-20 10:43:31] make eval.c: I...

Eclipse for Mac OS X

I am Java developer who is using Eclipse on a X86 computer to code. I am considering to buy for other reasons an Desktop Mac computer and I would like to use this computer to do my coding work. I know there is a Eclipse version for Macs, I am asking if there may be some problems/issues related to Macintosh computers. Thanks! ...

EMACS Question - hash key

I have a Mac Laptop and I am connecting to server running Linux. As Alt+3 is already bound in EMACS to a command, so I cannot insert the hash symbol in a file. I have tried the following solution I found online: (global-unset-key (kbd "C-3")) (global-set-key (kbd "C-3") '(lambda() (interactive) (insert-string "#"))) //I know that ...

How to update NSTableView without using -reloadData?

I am new to the Mac. I am trying to update a particular cell in NSTableView without using -reloadData, as -reloadData updates the whole table. I have tried everything but all was in vain. I am trying to do something similar to what we used to do in CListCtrl in MFC or in .NET. ...

Writing classes that work in both iOS and Mac OS.

What is a good way to write classes that can be used in both iOS and Mac OS applications? I'm not trying to get a full cross-platform UI solution here, just a way to use several model classes from my iPhone app in a support application running on the Mac. Some of those classes require a few minor changes to get them compiling under Mac O...

cannot compile mac os x c++ project for host architecture

Hello, I have to create a universal binary for a dylib but I'm having some problems on compile time. I am able to build my sources on mac os x 10.5 (i386 arch) but when I'm trying to compile the same sources from a mac os x 10.6 with target i386 (cause the default one on 10.6 is x86_64) I'm getting errors. I also tried to use the 10.5 ...

Simple Mac Bash Script (Find/Replace)

Hey Folks, First, any support and help on this is largely appreciated. I'm trying to write a simple Bash script (completely new to this) to replace a file in a given directory. Basically, I need to write a script to replace the safari preference file, here's what I have..and what's not working for that matter: #!/bin/bash find /Fi...

what is the program flow in Cocoa Applcation

Hi, I am new to mac os X development ,I downloaded an open source mac application ,but i couldn't able to understand the flow of execution of cocoa program.so any one can explain the program flow of a general cocoa program briefly. Thanks in advance ...

Tabbing between XCode projects?

Good Morning Ladies and Gentlemen! Let us say that I have two XCode projects open on a Mac and I am going back and forth between them. Is there any hot key that can do this (rather then constantly using the mouse). Something analogous to COMMAND + TAB to flip through applications. Thank you! ...

Problem with iplots library which prevents JGR to start on macos

I want to install (and run) JGR on my macos to develop R scripts. To do so, I have installed R-2.12.0. (dmg), neccessary libraries for JGR and JGR (ui for R) following these instructions: install.packages(c("rJava","JavaGD","iplots")) install.packages("JGR") Unfortunately I can not load JGR library, because I got an error within iplo...

How can I increase the font size in Interface Builder

Is it possible to increase the font size in Interface Builder? The ridiculously small side of those fonts, specially on the Inspector, are giving me headaches. ...

MacOSX: new mail with attachment

Hi, I want to create a new mail with the default mail client and attach a file automatically to it. To create a new mail to [email protected] with subject foo and body bar, I can do the following: open "mailto:[email protected]?subject=foo&body=bar" How can I attach a file now? If this is not possible this way (with open), what...

How to create .deb packages on Mac OS X

Hello, I am trying to upload my app on Cydia and it requires .deb package. I am unable to figure out how to make .deb packages on mac. I am using 10.6.3 when I write this command on terminal dpkg-deb -b MyProgram Termina output is -bash: dpkg-deb: command not found I've install fink, Mac ports insert Mac DVD to find out but no...

Windows keyboard for MAC

How do I map a Windows USB keyboard to MAC? Looking for ways to map the following: External -> Mac ----------------- Win Key -> Command Fn Key -> Scroll or Pause I have a http://us.kensington.com/html/17167.html ...

Will the Mac App Store allow apps to use a non-Apple Java runtime?

Apple's guidelines for their new Mac App Store say that you cannot use deprecated libraries such as Apple's Java framework. But will Apple allow apps which come with a third-party Java runtime, such as SoyLatte? ...

Mac and different Spaces: conserving the windows arragement when changing the external monitor

Hi, I use Mac OS X Leopard with 4 different Spaces and an external monitor at workplace, which is located above the laptop. On each Space I work on a different project, with different terminal windows and Xcode and Finder windos. The problem happens when I am at home, then I use an external monitor but now located at left position. When...

Adding variants in Mac Ports

Hi guys, I was wondering how you can append a variant to a port if you have already installed the port. For example I installed the 'vim' port and would like to go back and add the python25 variant. Do I need to delete vim and reinstall it? This is just an example, I would really like to know the process to do this for any port. Thanks ...

Installing Ruby on Mac 1.9.2, still getting 1.8.7 even though path changed

I'm on a Mac running 10.6.4 Snow Leopard, and apparently ruby comes ready to go. But I'm new to Ruby, trying to learn the Rails framework, and so i decided to install the latest version 1.9.2. I followed the instructions here, but after I compile and install, when I run ruby -v I'm still getting 1.8.7. Anyone can help a noob out? Whe...