nsbox

Setting Horizontal Line (NSBox) line width in Interface Builder

I have an application that I am building am making use of Horizontal Line (which is just a special case of NSBox). I've placed the component into the interface, but what to adjust the thickness of the line. NSBox has a setBorderWidth method, but doesn't seem to have this exposed when in Interface Builder. I would prefer not to do this ...

Reposition an NSBox in the top pane of a horizontal NSSplitView

I've worked for hours on this and I just can't get it - should be really basic stuff but it's not getting thru my thick skull. I think it has to do with the coordinate system in Cocoa but I really don't know. This is all happening in the top pane of a horizontal NSSplitView. Very simply, I'm trying to position one NSBox right below a ...

Simple drag and drop application not working

Hi all, I am trying a simple drag and drop application: I am creating a CameraIconView (subclass of NSView, containing some image views, text fields and a pop-up button), at run time. This view is enclosed within CameraIconEnclosingBox (subclass of NSBox) Requirement is: user should be able to drag CameraIconView at some other locatio...

How to set title of NSBox from an array controller via cocoa- bindings

Hi all, I have an array controller holding some values, say - subjects. I am displaying these values in a table view. I want to set the title of NSBox as subject in selected row. I tried to do it in following way: Binding pane: Title, Controller Key: selection, Model Key Path: subject. But it is always displaying nil as box title. Ca...