Questions tagged [nscollectionview]

NSCollectionView is a NSView subclass which provides basic functionality for displaying, arranging, grouping and manipulating graphical representations of collections of objects.

NSCollectionView is a NSView () subclass which provides basic functionality for displaying, arranging, grouping and manipulating graphical representations of collections of objects.

Xcode 7 introduced a new API for NSCollectionView so that it can be implemented similarly to the iOS counterpart (UICollectionView). In OS X 10.11+ you can access NSCollectionView using its datasource and delegate protocols.

428 questions
0
votes
1 answer

Cocoa Interface Design Question

The best thing for the window I'm designing would be a table with two rows for each element of an array. I'd have one checkbox and two popups in the first row and the second row would be used for text entry. Based on what I understand of a…
Mark
  • 11
  • 1
  • 3
0
votes
0 answers

NSCollectionView drawing issue when scrolling

I have a strange problem that exists only on one computer during testing. In my developer laptop its ok. When scrolling, dragging it makes no updated. There is no custom drawing code, only NSCollectionView & NSCollectionView items subclasses with…
SeregASM
  • 75
  • 12
0
votes
1 answer

NSArrayController bound to NSCollectionview

I'm kinda new into bindings, somehow prevented it. But I want to use them now. Talking about OSX and this is programmed in code not in IB. So, I have data coming from CoreData into my ArrayController. A NSCollectionView is bound to this…
0
votes
1 answer

OSX - After using controlTextDidEndEditing:notification , how do I get focus

I want to be able to edit some NSTextFields that are bound in an NSCollectionView. I'm getting notified through controlTextDidEndEditing:(NSNotification *)notification and I can edit fields within one record. However, when I want to edit another…
ICL1901
  • 7,632
  • 14
  • 90
  • 138
0
votes
1 answer

How to make the NSCollectionView reload data?

I create an NSCollectionView using cocoa binding.I find that when the NSMutableArray ,which is set as the NSCollectionView's content , finish to sort,the NSCollectionView has no change. Here is my sort code: -(void)updateOrder { [self…
gohamgx
  • 273
  • 2
  • 16
0
votes
0 answers

NSCollectionView outlet

I have created an outlet from a NSCollectionView . However during runtime, it is logged as type NSScrollView. Because of this, I am not able to set the content. I made sure that I ctrl+dragged from the collection view and not the top level scroll…
Roshan
  • 1,937
  • 1
  • 13
  • 25
0
votes
1 answer

Collection View not displaying properly

i'm having a collection view , segment control and a arraycontroller. i used setFilterPredicate: method to filter the data based on the segment pressed and displayed in collectionView. what my problem was the filtered data displayed in…
user23790
  • 563
  • 3
  • 21
0
votes
1 answer

[_NSViewDrawOperation release]: message sent to deallocated?

I have a NSCollectionView which consist of some images.when mouse scroll over the NSCollectionView,in some case the app crash.So I enable Zombie Object and Malloc Stack.When app crash,-[_NSViewDrawOperation release]: message sent to deallocated…
gohamgx
  • 273
  • 2
  • 16
0
votes
1 answer

NSCollectionView: Go to the next view on selection with Selected Item

I am new to OS X and have started dealing with NSCollectionView. What I am trying to do is to take show NSCollectionView with array of imageView an labels. And on the selection of the image I want to open a new viewController class. I am able to…
0
votes
2 answers

NSCollectionView implementation

I have looked at the documentation yet I still haven't successfully implemented a CollectionView. Here is what I have. My KVO/KVC compliant NSMutableArray. #import #import "ProjectModel.h" @interface KVOMutableArray :…
0
votes
1 answer

drag and drop in PXListView is not working in the Demo App. how to fix it?

i am working with PXListView and i am testing with Demo App which came inside the PXListView...while doing the drag and drop it is not working properly... the drop is not working... i have added the following delegate methods... but still dropping…
0
votes
1 answer

How do I implement the container view which represent the thumbnail of video having variable cell sizes?

i am developing cocoa application on mac os x, which will allows the user to import the video clips and make the movie from those video clips.here i need to deal with highly customized view....(please refer the attachment)... my requirement…
mammaiap
  • 11
  • 2
0
votes
1 answer

Understanding NSWindow,NSView,NSBox,NSCollection: compare features for a group of controls

I've been trying to understand the docs for NSWindow,NSView,NSBox,NSCollection in order to make the best choice for my project, but I think I'm missing some things. I need to display 6 items, in a group; each item consists of a (fixed name)label,…
j yrez
  • 243
  • 1
  • 3
  • 11
0
votes
0 answers

Loading wrong xib file

Maybe I'm stupid but I spent the whole afternoon trying to figure out this one. I'm an Objective C novice, but have plenty experience in other languages. I have two NSCollectionView - *eventsView and *projectsView inside a menu. Each with its own…
Miha Rekar
  • 1,237
  • 12
  • 15
0
votes
1 answer

Updating NSTableView in an instance of NSCollectionViewItem

In my setup I have an NSCollectionView of volumes connected to the mac. For the NSCollectionViewItem's View I have an NSBox with an NSTableView inside listing the contents of that volume. My problem comes when trying to add/remove items to the…
Septih
  • 1,436
  • 17
  • 40
1 2 3
28
29