Is it possible to compile an App for Snow Leopard that contains an NSTableCellView reference, even if the window containing the reference to NSTableCellView is never displayed? (IE a different view is displayed if snow leopard is detected)?
Is it possible to compile an App for Snow Leopard that contains an NSTableCellView
Share
Yes, it’s possible, but only if the nib containing the view-based
NSTableViewis never loaded on Snow Leopard. You’d need to use anNSViewControllerand two different nibs, one for Lion and one for Snow Leopard. Use a conditional in the view controller’sinitmethod to do that: