mac

Localization in Mac application

Hi , I'm trying to add localization to my Mac application, with the localized files and xib for the Danish language. When I compile it accepts Danish key entries as expected but after packaging the software it won't accept any other language besides the default "English" language. Please guide me if any one has worked with this problem....

How to achieve Large Type like Address Book?

Within Address Book you can click on a contact's phone number label and select the option 'Large Type' which displays the phone number in large text in what appears to be an HUD window. I saw one other application use this but cannot figure out how to achieve this. What really interests me is how they have the titlebar-less window. th...

how to make app compatible for both java 1.5 and 1.6 ?

We have a java desktop application. App was working fine before updates had been taken and now it isn't working with java 1.6 on mac OS x leopard. We replaced our JavaApplicationStub of app and it's working again from location. /System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources/MacOS/JavaApplicationStub We ar...

Does anyone know a Safari style Tab Control for Mac OS X applications?

I am looking for a tab control that is different from the default NSTabControl. I am looking for a sample or existing control that replicates the newer style tab controls that are used within Safari, Firefox, Camino etc. From looking into the Safari app bundle resources it seems the tabs are created from images. I would prefer a contr...

Retrieve HIViewRef from dialog.

Hi y'all. Is there any way to retrieve a HIViewRef reference from a Dialog (similar to HIViewGetRoot) in order to use it as a browser using WebKit API? Thank's for all. ...

Can't display multi byte string on MonoDevelop Mac OS X

The problem is following one line code: Console.WriteLine ("あ"); This results in the following output in Application Output window: ? How can I display "あ" instead of "?" in Application Output window. I made sure following things: The source code encoding is UTF-8 I selected Japanese font set "Osaka Regular-Mono" (Preferences > ...

Suggestions for VS+Resharper keyboard shortcuts on a Mac

I just upgraded to a Macbook Pro as my development machine but still primarily develop .Net applications with Visual Studio and Resharper (via VMWare Fusion). By far, the biggest obstacle I'm running into is getting used to the keyboard layout change (ex. not being able to do ALT-Insert). Do any of you Windows-on-Mac veterans have any su...

NSKeyedArchiver on NSArray has large size overhead

I'm using NSKeyedArchiver in Mac OS X program which generates data for iPhone application. I found out that by default, resulting archives are much bigger than I expected. Example: NSMutableArray * ar = [NSMutableArray arrayWithCapacity:10]; for (int i = 0; i < 100000; i++) { NSString * s = [NSString stringWithFormat:@"item%06d", i...

Executable console java app to service on Mac

Hi, I have a jar file an console app, I need to make it a service on mac osx which should run perioducally, how can I do that? Thanks, Manoj ...

How can I conditionally color files and folders in the OS X Finder?

I want to color badge files and folders based on the some condition in finder, what is the approach to achieve this in Mac OS X 10.6 I have checked this question: This only talk about the context menu in finder http://stackoverflow.com/questions/1651075/finder-plugin-in-snow-leopard I have even checked: http://scplugin.tigris.org/ even...

which is the best free code editor for mac?

Hello All i would like to know which is the best free mac code editor thanks in advance ...

OpenGL Pixel Format Attributes (NSOpenGLPixelFormatAttibutes) explanation?

Hi, I am not new to OpenGL, but not an expert. Many tutorials teach how to draw, 3D, 2D, projections, orthogonal, etc, but How about setting a the view? (NSOpenGLView in Cocoa, Macs). For example I have this: - (id) initWithFrame: (NSRect) frame { GLuint attribs[] = { //PF: PixelAttibutes NSOpenGLPFANoRecovery, ...

disassembler in XCode?

I'm working on a project, and on a machine without xcode, I'm getting a crash. (of course it works on my machine B-/) I have a crash log, with a PC offset for the crash. I'd like to be able to see where that actually is in the code. I know that Code Warrior can disassemble the code (presumably, only debugable code) and show it interspers...

Problem trying to install PyCurl on Mac Snow Leopard

Hi, My app needs to use PyCurl, so i tried to install it on my Mac but i found a lot of problems and error :( Requirement: First of all i've to say that the version of Python working on my Mac is 32 bit based, because i need to use WxPython, that needs 32 bit Python. For doing this i used: defaults write com.apple.versioner.python Pre...

How to compile Intel Mac binaries on Linux?

I was reading an article about cross-compiling for OSX on linux, but it was quite hard to understand. What tools do I need? And what configurations are necessary? Are there any tools for creating packages too? ...

mouseover detection in NSTableView's NSCell?

I am wanting to change the text background color on a tableview's cell when it is hovered upon, similar to how AddressBook "highlights" the label of a contact's element when you mouseover the label names. However I cannot figure out how to accomplish... detecting a mouseover on a particular NSCell and... After detecting the cell his hov...

How to determine where the mouse was clicked (X&Y) in the view?

Hey, I'm trying to move a sprite to the mouse click location. How can i get it's coordinates? Thanks! ...

Speech Recognition Server Does Not Stay Open

I am trying to create a simple program that loops for user speech input using com.apple.speech.recognitionserver. My code thus far is as follows: set user_response to "start" repeat while user_response is not equal to "Exit" tell application id "com.apple.speech.recognitionserver" set user_response to listen for {"Time", "Weather",...

Activating Eclipse Django Editor on OS X

I installed a plugin for Eclipse called Django Editor. I can't figure out how to use it. The editor is not in my list of editors so I cannot do "Open with Django Editor" on a file nor associate a file extension with it. It appears nowhere in my preferences. How can I activate this editor? I am running Mac OS X 10.5.8 and Eclipse 3.5...

How to commit files from different folders in MacHg?

In MacHg, how do you select one and only one file from one folder and one and only one file from another folder to commit when you have other changed files in the same folder? In the command line it would be: hg commit folder1/file1 folder2/file2 -m "Message." ...