Re: mavericks style tabs

2014-05-18 Thread Luther Baker
>> But you should tell us more so that we can get some additional information >> and give better advice. Sure. I'm writing a diagramming tool and I'd like multiple diagrams open simultaneously. Using the NSTabView and custom drawing as described seems like a viable option to me. _

Re: IKImageBrowser Non-Square Cells

2014-05-18 Thread Trygve Inda
The docs for IKImageBrowserCell say: > frame > Returns the receiver’s frame rectangle, which defines its position in its > IKImageBrowserView. > > - (NSRect)frame > Return Value > The coordinates of the frame, in the IKImageBrowserView coordinate space. > > Discussion > Subclasses should not ove

IKImageBrowser Non-Square Cells

2014-05-18 Thread Trygve Inda
Using apple sample ImageBrowserAppearance code as a basis, I am trying to make non-square cells in an IKImageBrowser. Specifically my cells need to be an aspect ration of 2:1 (wide) instead of square. I have overridden: -(NSRect)imageContainerFrame -(NSRect)selectionFrame -(NSRect)frame In -

Re: mavericks style tabs

2014-05-18 Thread SevenBits
On May 18, 2014, at 6:22 PM, Uli Kusterer wrote: > On 18 May 2014, at 23:06, Luther Baker wrote: >> Trying my hand at some Cocoa development ... is there an SDK around the >> tabs used in Finder or Safari? >> >> If not, is there a popular library that folks are using ( >> https://github.com/rsm

Re: mavericks style tabs

2014-05-18 Thread Uli Kusterer
On 18 May 2014, at 23:06, Luther Baker wrote: > Trying my hand at some Cocoa development ... is there an SDK around the > tabs used in Finder or Safari? > > If not, is there a popular library that folks are using ( > https://github.com/rsms/chromium-tabs ?) or is this something folks are > genera

Re: mavericks style tabs

2014-05-18 Thread SevenBits
On May 18, 2014, at 5:06 PM, Luther Baker wrote: > Trying my hand at some Cocoa development ... is there an SDK around the > tabs used in Finder or Safari? > > If not, is there a popular library that folks are using ( > https://github.com/rsms/chromium-tabs ?) or is this something folks are > ge

Re: Question on NSTableViewDataSource Protocol

2014-05-18 Thread Varun Chandramohan
Interesting, so lets say I avoid [_tableContents removeAllObjects] but I have to change the data source, may be add new entry or remove 1 entry. What will be the difference between removing 1 entry and all entry(objects) from the source? I mean, what can I do to remove an entry which may be a valid

mavericks style tabs

2014-05-18 Thread Luther Baker
Trying my hand at some Cocoa development ... is there an SDK around the tabs used in Finder or Safari? If not, is there a popular library that folks are using ( https://github.com/rsms/chromium-tabs ?) or is this something folks are generally building from ground up? Thanks, -Luther _