Looking for sample code to support NSRect resize in a view

2011-08-19 Thread Jeff Schriebman
Hello, In a new project I am developing in Lion I display a number of items in a standard view. Each of these items is bounded by a NSRect. I would like to be able to click on an item, display the rectangle around it and then click on the right, left, top or bottom of the rectangle and drag it

Re: Looking for sample code to support NSRect resize in a view

2011-08-19 Thread Mike Abdullah
There's nothing built into cocoa for this. I wrote KSSelectionBorder to implement a decent chunk of the functionality: https://github.com/karelia/KSSelectionBorder Sent from my iPad On 19 Aug 2011, at 07:00 PM, Jeff Schriebman j...@leapfrogproductions.com wrote: Hello, In a new project I

Re: Looking for sample code to support NSRect resize in a view

2011-08-19 Thread Jeff Schriebman
Thanks for the pointer Mike. On Aug 19, 2011, at 1:00 PM, Mike Abdullah wrote: There's nothing built into cocoa for this. I wrote KSSelectionBorder to implement a decent chunk of the functionality: https://github.com/karelia/KSSelectionBorder On 19 Aug 2011, at 07:00 PM, Jeff Schriebman