mac

How to make the dock reload all dock tile plugins?

I am making an application which uses a dock tile plug-in. However, when I recompile my dock tile plugin, the dock still uses the old one, even when I killall the dock. The only way to fix this is by rebooting my Mac, but I don't want to reboot it for every little code change I make. Also, dock tile plugins are poorly documented. Can any...

Examine open TCP connections on Mac

What is the Mac equivalent of TCPView or CurrPorts? I've never used Mac before, so I'm clueless. ...

NSTextView hangs while typing

Hi, I'm experiencing hangs while typing on an NSTextView. The NSTextView is on a window that I run modally. [NSApp runModalForWindow:[self window]]; I'm not really sure how, but I think it has something to do with the scrollbars. When I click the "enter key" until it starts scrolling down, it always hangs. Can you please help me how ...

How long does it typically take for software to be approved to Apple's OS X downloads?

Please don't flame me if this is a duplicate question... I already searched both Google and stackoverflow to no avail. I submitted my first desktop shareware application to http://www.apple.com/downloads/macosx/. I'm familiar with the iPhone review time, but have no clue as to the timeframe that it takes for desktop apps to show up on ...

Git autocomplete in screen on mac os

I've using git on mac and I have configured autocompletion as written at http://www.codethatmatters.com/2010/01/git-autocomplete-in-mac-os-x/ It works fine when I do it in pure terminal. But I prefer to use gnu screen program when working in terminal. And in screen when I press tab noting happen. Maybe someone knows how to fix it. ...

How to store Java desktop application(multiplatform) global settings?

What do I need exactly is to store information like applications first execution date and few settings somewhere on the user machine. The program will be distributed on Windows and Mac OS. This information needs to be shared between the users on same machine... somewhat global settings. On windows I'd probably store this information in r...

make an osx preference panel with section

I need to make a preference panel with section like this. but what is the exactly compoment has effect like these (section I means "General,Accounts,RSS...") ...

OLAP cube designer for Mac?

Hi can you recommend me some OLAP cube designer for Mac? ...

Will the ribbon work in Mac without menu bar?

I'm developing a java application and I'm using ribbons instead of Menu bar, but as Mac depend completely on menu bar, should I modify my application to have a menu bar or this is not required? Thanks ...

Simulate key press events for ioquake3 in Mac OSX

Hi, I am currently writing an application which simulates key press events in Mac OSX to control ioquake3. My current approach is to create the key press events with the Quartz Event Services. This works fine with e.g. TextEdit but not with ioquake3. CGKeyCode keyCode = 126; // 126 is the "up" key CGEventRef event1 = CGEventCreateKeybo...

Java cryptography generated key portability

In Java, I'm generating and serializing a symmetric key for encryption purposes: KeyGenerator keyGen = KeyGenerator.getInstance(algorithm); SecretKey symmetricKey = keyGen.generateKey(); Base64.encode(symmetricKey.getEncoded(), new FileOutputStream(filename)); where Base64 is from the Bouncycastle cryptography package ...

firefox crashes on mac due to extensions

Hi, I have developed two extensions bars using C++ on firefox 3.6 on mac osx 10.5. The extensions used some code which is common across both such as string library, std library etc... Firefox crashes whenever I open with both the extensions on. I checked with individual extensions and observed no issues. After analysing the stack trac...

migrating an application from carbon to cocoa

Hi, I am working on an application in which I need to migrate the whole code of it from carbon to cocoa.I have experience in programming of C,C++,python and Java during my college time and internship but have never touched objective C or have done any programming for Mac(Carbon and Cocoa) before this. So Can you please suggest me some ...

SQLite FTS3 installation, unable to create virtual table after installation

I a bit new to sqllite lite and linux commands so any help would be greatly appreciated! Is there something I am missing? After the sqlite-3.7.3 installation, for some reason I am still still not seeing the new version (sqlite-3.7.3) when checking with macbook-pro:sqlite-3.7.3 scott$ which sqlite3 /usr/bin/sqlite3 macbook-pro:sqli...

How do I add items to the Finder context menu in Mac OS X using JAVA?

I'm trying to port Java application to Mac OS, My program needs to add items to Finder context menu, Is there a way to add items using Java? Thanks ...

How to detect in Safari if an Application is Installed

I'm attempting to write a simple plugin in safari that only needs to check if an application I have developed is installed via javascript. The application launches using a custom uri. My issue is very similiar to the one presented here, however I'm not developing against iphone\ipad and all I really want is a true\false outcome from my ...

How To remove an item from Login Items using shell script

Hi, In Mac, I want to remove an application from the login items using Shell script. I tried following code, but didn't work.. defaults write loginwindow AutoLaunchedApplicationDictionary -array-remove path "/Applications/myApp.app" But it is giving error "Unexpected argument -path; leaving defaults unchanged" Regards, Dhanara...

Can I develop mac/iphone/ipad applications without having to paying first?

I'm interested to know if I can have access to all the libraries, ide, etc for the iphone/ipad/macos without paying the 90 bucks(for learning purpose). Do I have to pay to have access to everything in order to start developing? I'm not talking about the istore by the way. I know that there is a fee for that. Thanks. ...

What is the best way to disable the snapTolerance on the right side and bottom side of a JQuery draggable object (UI 1.7.2)?

What I would like to do is disable the snapTolerance the right and bottom sides of a JQuery draggable object. The following code seems to control the snapTolerance of draggable objects when I set snapMode to 'inner'. My initial thought is to override this portion of the code somehow but, I don't know how to do the override. Or, perhaps,...

Deleting a Mac user account after logout

Hello, I am developing an image for a maclab, and I am running into an issue with Snow Leopard. We have set up the machines on active directory so network users can login, however after they logoff their user folders are still in there and I am not really sure how to go about auto deleting there information from the Mac machine. ...