Hi,
let's say that I am working using several spaces. In one of them I ahve 20 applications opened with its respective files. Computer crashes and I have to open everything again, or just, I want to save this configuration, so later, I open this config, and inmediately, all these 20 apps open with those files, and even better, in the sa...
When I load gitk (git version 1.6.5.1) on OS X (SL) I recieve an error/warning about GreaseKit:
Error loading /Library/Application Support/SIMBL/Plugins/GreaseKit.bundle/Contents/MacOS/GreaseKit: dlopen(/Library/Application Support/SIMBL/Plugins/GreaseKit.bundle/Contents/MacOS/GreaseKit, 265): no suitable image found. Did find:
/...
I'm a fairly recent convert to Xcode and OS X. Even though I have two large monitors it feels likes I spend far to much time hunting for windows.
I typically have at least the following windows open:
The file I'm editing.
A matching header file.
Another source file.
API Documentation.
A browser window.
It seems like whatever I want ...
I usually don't use interface builder but from what I have gather it seems that interface builder if mostly for building self contained window. Is it possible to create a view with IB and then import this NIB file and use it as a subview?
...
Would it be safe to delete ruby from my mac (the version that came preinstalled), and replace it with a link to ruby1.9, and do the same with irb and gem?
Is there anything specifically that might be an issue?
...
I am trying to make an editable text object in cocoa that contains no input box (just the text). I have tried doing this using NSTextField but setDrawsBackground: NO and setBordered: no have not helped. Is there another method for NSTextField that will do this or do I need to use another class? I looked at NSText but this class seems ...
I'd like to find out where a network share is mounted when the mount command fails like this:
$ mkdir ~/share
$ mount_afp afp://server/share ~/share
mount_afp: the volume is already mounted
This looked promising...
$ mount
... snip ...
afp_000000004oMw0q76003DF78u-1.2d000006 on /Volumes/share-1 (afpfs, nodev, nosuid, mounted by usern...
Is there a straightforward way to validate a metapackage's structure (recursively) against its info.plist? I have some code that patches a metapackage and I'd like to verify that it's left it in a correct state.
Thanks!
...
I'm trying to create a translucent window with Java on OSX and add a JLabel to it.
This JLabel changes its text every second....
However the component is not repainting well.
How can I solve this problem?
I've found the these articles, but I can't figure out how to solve it.
If possible, please paste the fixing source code, he...
I have written a couple Core Data iPhone apps and I've run into a consistent problem that I would expect to be a common pattern for iPhone development. Namely, I have one or more command line data loaders to create the Core Data database and then I have my iPhone app. Since the model files are shared and the loaders are a integral part...
I just upgraded my mac to Firefox 3.6, and now neither of my TIFF Viewing plugins work.
in 3.5, If I had Quicktime on, then I'd get the tiff, viewed through quicktime. If I had Quicktime disabled, but my own plugin, AcellViewTIFF enabled, then I would get ViewTIFF viewing the TIFF. Since I'm the author of ViewTIFF, That's how I had it ...
Specifically,
In OSX 10.6 from a system call, I want to open a file for editing with VIM in a preexisting terminal (i.e. Terminal.app) by opening a new tab.
Of course I can open a new instance of terminal
/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal -e vim MyFile
And, of course I can figure out the PID of the runnin...
I need to create an image badge in Cocoa. Basically I need to take two images one smaller then the other and overlay the smaller image over the larger image with a certain offset. Does Cocoa provide any utility to make this sort of thing easier?
...
I once tried to open a GLUT window from a sub-thread and got lots of nasty problems. I remember this post on lists.apple.com:
GLUT functions may only be called from the application's main thread
Has anything changed in this regard with GLUT on Mac OS X ? Is there a thread-safe GLUT that let's you open windows from any thread ?
If GLU...
I'm running a giant simulation / with a graphics engine.
There are lots of events that are flying by.
I would like to timestamp them (measured in milliseconds since the start of program execution).
What should I be using for this? [What library?]
...
I have a series of nested views and I need to catch the mouseDown event ant do the same thing when any of these views are selected. Is there a way to tell a superview to handle events for its subviews? Is the best way to handle this to put a transparent view on top of all my other views and have this view handle the events?
...
I'd like to make a rich text type editor using Core Text (ideally for iPad but I'm pretty sure I can't get iPad specific examples due to the NDA)
I have no idea really where to start. I'd like to keep the interaction models without having to rewrite them, so would I be layering stuff on top of a text view? Then how do I keep the overlay...
While reading various C and C++ sources, I have encountered two macros __APPLE__ and __OSX__. I found plenty of use of __OSX__ in various codes, especially those originating from *BSD systems.
However, sometimes I find that testing __OSX__ only is not sufficient and I have to complete tests with __APPLE__ macro.
The Porting Command Li...
Shark started crashing on me when I use the "Processor Bandwidth (Core 2)" mode of analysis. It collects the samples, spends the time to analyze them, and crashes with a bus error about when the window should come up.
First I thought it might be because I've been running on low memory. I installed the latest system updates, rebooted, tr...
I'm trying to get MySQL installed to the latest version due to some installation going wrong somewhere along the line. I run the command gem install mysql and I receive the following:
Building native extensions. This
could take a while... ERROR: Error
installing mysql: ERROR: Failed to
build gem native extension.
/S...