Why is NSCollectionViews drawRect called first instead of subview (isOpaque:YES) bug?

2014-02-16 Thread Benjamin Rindt
Hey guys, I have a serious problem with the CollectionView and I don’t understand its behavior. My Project has a Splitview into 2 Views, one is a Scrollview with a CollectionView the one is a normal NSView with background image. The other one with the CollectionView has multiple items with own

NSCollectionView item crashes when bound

2013-09-16 Thread Benjamin Rindt
Hey guys I'm really grinding with the NSCollectionView when its bound. I had a running collection view but wanted to use bindings, I looks like it should work, but it doesn't. This is written just in code not in IB. Hope you guys can help :) The problem is, the View is displayed

Arraycontroller and CoreData

2013-09-12 Thread Benjamin Rindt
Hey guys, I'm really confused with the array controller and core data. I don't know what I have to use to get what I want. My program has for now a CollectionView which is populated by a core data fetch request. If I use an arrayController, I don't have to make this fetch do I? I can tell the

scrollPoint in NSScrollView does not scroll

2013-06-17 Thread Benjamin Rindt
Hey, I'm trying this for I think over 3 hours just to get my View to scroll to a point when loaded. But not to start and cut off the rest of it, just be scrolled to there. Tried it in my real project, didn't work, made small test project, doesn't work either. NSScrollView* myscrollview =