nscollectionview
NSCollectionView's setContent: memory management
I have a NSCollectionView that I populate using [collectionView setContent:data]; where data is a NSArray filled with objects all of the same custom NSObject subclass. The item prototype of the collec[详细]
2023-04-07 14:08 分类:问答Custom outlets in NSCollectionViewItem subclass
I feel this being a simple task, but I don\'t seem to be able to make it work. I\'m trying to have a NSCollectionView with custom items. I added another NSImageView to the custom view of the item, and[详细]
2023-03-24 04:50 分类:问答Binding to NSCollectionViewItem crashes Xcode
Using XCode 4.1 I\'ve come across a crash whenever I try to use a CollectionView. These are the steps I\'m doing:[详细]
2023-03-23 12:29 分类:问答Twitter-client-like NSCollectionView implementation on OS X (>=10.6)?
I\'m trying to subclass a NSCollectionView which imitate the behaviors of UITableView as Twitter does.[详细]
2023-03-16 18:24 分类:问答How do you initialize a NSCollectionViewItem?
I am trying to setup an NSCollectionView that has custom drawing in the individual NSCollectionViewItem views.I have an image that I need to draw in each view, but I cannot link the view back to the N[详细]
2023-03-09 08:58 分类:问答Cocoa + CoreAnimation: Animated List of Custom Subviews
I\'ve been trying to get this right for weeks now, and though I\'ve learned a lot through my misfires, at this point, I just need a solution. The issue is with unpacking the seemingly overlapping grap[详细]
2023-03-04 06:20 分类:问答Cocoa Design: How to highlight the current department of an employee in a NSCollectionView?
I have this core data backed database with entries like in the many employees example: An employee can belong to a department. A department has many employees.[详细]
2023-02-26 12:58 分类:问答How do you access an outlet in a collectionitem?
I have an NSCollectionView which is populated by coll开发者_运维百科ection items. An array controller is used to add the items to the view. Each item has two outlets, an imageview and textview (not fi[详细]
2023-02-20 16:09 分类:问答NSCollectionView with sections - like in iPhoto
I\'d like to build a NSCollectionView similar to the one in iPhoto \'11. I want to group several pictures in section, and create a section header as well. The section header of a specific section is a[详细]
2023-02-18 04:11 分类:问答NSWindow not drawn until clicked, resized, etc
I have a window with an NSCollectionView created through Interface Builder. There is an NSArrayController that it bound to a CoreData backing store, which is populated at the time of launch by firing[详细]
2023-02-17 17:16 分类:问答