I have an NSCell subclass that I do all kinds of custom drawing in. The only time things seem to be entirely out of my control is when right clicking a cell to show the associated context menu. While showing it's context menu, the table (or cell - not sure which exactly is doing this) draws a focus rect. I would like to get rid of this, ...
i want to add a new View Which Contain Anything in a window based application programmatically could someone tell me a step by step process to do this and also how to add controls on that new view programmatically.
i have created a new view and added a label in that now how do i add a button and i want to change the text of label when i...
I would like to inspect the contents of an OSDictionary from my kext.
is there a convenient way to print the contents to system.log or similar?
(ala CFShow()) ?
thx->adv,
|K<
...
I'm new to Ruby on Rails, and I'm in the process of setting it up on my OS X system. Most guides seem to recommend using MacPorts to install Ruby and RubyGems, then using RubyGems from there on to install gems. I've noticed that MacPorts also offers many gems (though they're missing some and others seem a few releases behind), and I'm wo...
I'm wondering i always see my load average on my computer
1.76,1.31,1.08 at the moment.
but what the hell does it mean ?
...
As a newcomer to iPhone development and Objective-C in general over the last few weeks I have come across numerous mentions of 'Toll free bridges' between CF and NS frameworks.
One particular example would be CFStream and NSStream.
Does a resource exists documenting all of these bridges and how to use them ? Is it just as simple as cas...
Hi all,
I am on Mac Os X 10.5 (but I reproduced the issue on 10.4)
I am trying to use iconv to convert an UTF-8 file to ASCII
the utf-8 file contains characters like 'éàç'
I want the accented characters to be turned into their closest ascii equivalent
so
my command is this :
iconv -f UTF-8 -t ASCII//TRANSLIT//IGNORE myutf8file.t...
I put unsuccessfully Zsh installed by MacPorts as my login shell by setting the following path to Settings
/opt/local/bin/zsh
I put it to the Advanced options at the User accounts too. I get the following error
I put the following path unsuccessfully to Settings
/opt/local/var/macports/software/zsh/4.2.7_0+mp_completion
I get the...
What's the right way to go about saving data like Pages, Numbers and other OSX applications do? That is, it looks like a file to the user, but is in fact a directory (a bundle?) containing a variety of stuff. I have some fairly complex data that I'd like to store in the same way; in particular, some sensor data that needs to be associate...
The post summarizes problems in using Screen in Mac's terminal when you have the following in your .zshrc
if [[ $STY = '' ]] then screen -xR; fi
Solution #1 is not working but Solution #2 works: Clipboard programs: pbcopy, pbpaste and xsel do not work at all
Bug in Vim when used in Mac: Unable to have no scattered windows in Screen ...
I need to turn automatic margins off according the following statement from Screen's manual in my Mac
If your terminal is a "true"
auto-margin terminal (it doesn't allow
the last position on the screen
to be updated without scrolling the screen) consider using a version
of your terminal's termcap that
has ...
Just need it for a hand full of diagrams. Any recommendations?
...
Hi.
I know that I can pin applications to the dock and launch them from there. However, is there a way to pin a program to the dock that is not an "application" in the MacOS sense, like a bash script for example?
...
Do the following on the default Python install on Mac OS X 10.5 (Leopard) w/ Developer Tools:
noel ~ : python
Python 2.5.1 (r251:54863, Jan 13 2009, 10:26:13)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import bsddb
Traceback (most recent call last):
File "<s...
I am pretty interested in Graphviz after I could not find any other quiet useful diagramming tool for the mac.
...
I wonder that there seems to be no text editor on the mac installed that is capable of saving just text without any formatting. Which text-only editors do you know that allow for editing text without any formatting like font sizes etc.?
...
I have an array of objects that have QTTime structs as attributes. The objects are in an NSArrayController which is bound to an NSTableView. I have a QTMovieView set up as an IBOutlet. I want to have it such that when an item in the NSTableView is selected the QTMovieView's cursor is moved to the time indicated in the selected objects...
I have a path to file contained in an NSString. Is there a method to get its file size?
...
I have an NSTableView that contains a few columns that are populated with data. How do I set up a search bar that can filter the rows based on the content of a specific column? I am looking for the type of thing that is done with Spotlight in the Finder or the search bar in iTunes that can filter songs by metadata.
...
I have a window that contains one QTMovieView. How do I make it so that resizing of the window will keep the window's aspect ratio the same?
...