-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to set up an NSCollectionView (I have done this successfully in the past, but for some reason it fails this time).
I have a model class called "TestModel", and it has an NSString property that just returns a string (just for testing purposes right now). I then have an NSMutableArray property…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I am trying to forward a keyboard event from the Collection View to all the views it contains. I've tried figuring out how to obtain an array of the views so that I could forward the event to each view, but I could not find a way to do this. I feel that I am going about this the wrong way. Any…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
On some occasions my head just hurts from banging it against the Cocoa wall. Today is one of those days.
I have a working NSCollectionView with one minor, but critical, exception. Getting and highlighting the selected item within the collection.
I've had all this working prior to Snow Leopard, but…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Greetings,
I am puzzled as to how and when drawRect is supposed to be called in a NSCollectionView subclass.
I implement drag and drop operation in order to move NSCollectionViewItems within the collection, and would like to draw a visual indication of where the drop would end.
The subclass does…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I have an NSCollectionView that contains a collection of CustomViews. Initially it tiled the subviews into columns and rows like a grid. I then set the Columns property in IB to 1, so now it just displays them one after another in rows. However, even though my CustomView is 400px wide, it's…
>>> More