December 2003

How to change the image used for a drag in a NSTableView

I want to let users change ordering of items in a table view on a colum-by-column basis, but the image generated by the default drag operation represents the whole line. How to make it represents only the column's item being dragged ?
More...

How to capture stdout/stderr ?

We're trying to make a console in my application and would like to capture any data written to STD streams... how to ?
More...

How to handle dragging of subviews ?

I want the use to be able to drag subviews of my main drawing views, but I have problem to find out the right pattern of routines to overwrite, when the user drag the subview, the whole window is moving. What is the correct solution to this ?
More...

How to detect string encoding ?

Is it possible to auto-detect string encoding in a Cocoa program ?
More...

How to convert NSTextView into HTML ?

Is there a way ?
More...

I am using a socket library found on the net, but it sometimes crashes due to signal 13...

Why ? What is signal 13 ?

More...