Posts Tagged Cocoa

Temporary Core Animation

Working on my project I used Core Animation for the first time. Unfortunately layer-backed views don’t work well with some Cocoa controls (such as NSTextField and NSButton with check style). Luckyly I only need Core Animation to set up some NSView replacing and NSWindow scaling transitions.

Read the rest of this entry »

Comments (2)

NSCollectionView scroll to origin fix

As you know Leopard has this new amazing facility to present complex data on screen. NSCollectionView allows you to lay out some NSViews each representing your data, whereas NSTableView supports only NSCells out of the box.

Anyway if you are thinking about using a NSCollectionView you will be disappointed to discover that the current implementation is very buggy. As pointed out in the linked posts whenever you resize a containing NSWindow the contained NSCollectionView will scroll to its origins (provided that you actually have springed the NSCollectionView to the window).

Read the rest of this entry »

Comments (2)