Hi List,
A follow up. I’m reasonably sure this was a binding issue. I had connected the
‘dataSource’ outlet and implemented the data source methods and also bound the
NSCollectionView to the ‘arrangedObjects’ binding of the same
NSArrayController. The binding always failed, but using the data
collectionView:itemForRepresentedObjectAt:.
Yes, there’s a lot of scope for further improvement. For the time being, the
easiest solution is to reload / refresh all views when the user switches tabs.
Cheers,
Arved
> On 09 Jan 2023, at 08:31, Rob Petrovec wrote:
>
> NSCollectionView, like NS
NSCollectionView, like NSTableView/NSOutlineView, will reuse existing views
instead of recreating them when it can to speed up the UI. This is most
commonly used during scrolling where views that scroll out of view will be
reused with new data and scrolled into view. It will call
kept in memory, they are reloaded upon
switching back to the foreground - ie. this is not tabs, but separate loads of
Xib file Views). If I put a break point in an override of ‘viewWillDisappear()`
in my NSCollectionViewItem subclass, I can see the backtrace indicates that
NSCollectionView has
I'm currently playing with NSCollectionView (10.11+ behavior) and have
not been able to figure out a mystery when it comes to drag and drop.
I have a NSCollectionView with a custom layout.
The layout is based on the standard grid layout with the following
modifications in mind:
- there can
Hi,
I have a 10.11+ NSCollectionView and a custom layout, and I’d like to animate
the items in the collection when the bounds change. This does not involve
inserting or deleting items or changing the layout, just repositioning them
when the view changes size. It’s exactly this question:
https
Pro-tip: when updating a legacy NSCollectionView to a modern implementation and
you leave the old one in another view “just in case", update your
“collectionView” outlet to point to the new one. Sigh.
“Never mind.” — Roseanne Roseanna
Hi Mike,
On Apr 7, 2019, at 4:20 PM, Mike Abdullah wrote:
> The obvious first question to me is: is your notification actually firing?
Yes, it fires upon every frame change so I know exactly when the view’s width
becomes is less than my threshold. I am observing changes in
self.view.superview
The obvious first question to me is: is your notification actually firing?
Mike.
> On 6 Apr 2019, at 22:46, Demitri Muna wrote:
>
> Hello,
>
> I have a 10.11+ NSCollectionView. I have two representations (subclasses of
> NSCollectionViewItem) of the data - one large and o
View Controllers.
--Richard Charles
> On Apr 6, 2019, at 3:46 PM, Demitri Muna wrote:
>
> Hello,
>
> I have a 10.11+ NSCollectionView. I have two representations (subclasses of
> NSCollectionViewItem) of the data - one large and one small. When the view is
> resized to
Hello,
I have a 10.11+ NSCollectionView. I have two representations (subclasses of
NSCollectionViewItem) of the data - one large and one small. When the view is
resized to be narrower than the large representation, I’d like to swap the
views to the smaller versions. Similarly, when the window
Has anybody written something better than NSCollectionView to display a
scrolling matrix of cells that has good performance with thousands of items and
works with an array controller? NSCollectionView is a complete mess. Everything
I do is met with crummy behavior.
--
Steve Mills
Drummer, Mac
On Apr 26, 2017, at 18:13, Greg Weston wrote:
>> Instead of doing the right thing when shift-clicking (selecting a range from
>> the anchor), it simply adds/removes the clicked item to/from the selection.
>> That's unlike pretty much any Apple matrix-of-items selection behavior ever.
>
> You m
> Instead of doing the right thing when shift-clicking (selecting a range from
> the anchor), it simply adds/removes the clicked item to/from the selection.
> That's unlike pretty much any Apple matrix-of-items selection behavior ever.
You mean it selects like Finder icon views have since 1984?
Since IKImageBrowserView is deprecated and buggy in recent versions of macOS,
I've been switching to NSCollectionView. Holy crap, does its selection behavior
suck. Instead of doing the right thing when shift-clicking (selecting a range
from the anchor), it simply adds/removes the clicked
I'm trying to create a temporary NSCollectionView for printing (this code is
replacing old IKImageBrowserView printing code). I'm connecting it to the same
dataSource as my normal document's collection view, and binding the
NSContentBinding to the same array controller's ar
On Nov 6, 2016, at 20:39:50, じょいすじょん wrote:
>
> If this is on 10.10 as was noted earlier, NSCollectionViewFlowLayout is not
> available is it?
No, it's not. That's the problem. The "legacy" version of NSCollectionView is
barely customizable. I'll probably mo
ributesForElementsInRect: & -layoutAttributesForItemAtIndexPath:
> Good luck...
>
> —Rob
>
>
>> On Nov 4, 2016, at 10:01 PM, Steve Mills > <mailto:sjmi...@mac.com>> wrote:
>>
>> On Nov 4, 2016, at 02:56:27, Jean-Daniel wrote:
>>>
>>> I don’t get it.
gt;>
>> I don’t get it. NSCollectionView is a very flexible class. If you are not
>> happy with the default flow layout, just write your own.
>>
>> From the reference:
>> "• The layout object specifies the position and appearance of items
>> onscree
The NSIndexSet variants are (soft) deprecated. They will likely be hard
deprecated (e.g. produce compiler warnings/errors) in a future release. You
should only use the NSIndexPath versions going forward. Using a mix of the two
variants of API is not supported. To bind NSCollectionView
On Nov 4, 2016, at 02:56:27, Jean-Daniel wrote:
>
> I don’t get it. NSCollectionView is a very flexible class. If you are not
> happy with the default flow layout, just write your own.
>
> From the reference:
> " • The layout object specifies the position
No matter what I've tried when building and running under 10.10, I can't get an
NSCollectionView that's in an NSScrollView to be wider than the scroll view. I want it to
be laid out with a specific number of columns, and all those columns a specific width
(all the same). But it
So NSCollectionView can bind its selectionIndexes, so I've bound that to an
array controller that's shared with an NSTableView. Only one of the two are
ever shown at the same time, but many things depend on the array controller's
selectionIndexes. The trouble is, changes to
7;t enough. I was just hoping
there might be something more "built in" for the whole NSCollectionView
hierarchy that would tell its item views to resize when it resizes. Seems like a pretty
common thing to need.
Sent from iCloud's ridiculous UI, so, s
udelin
http://www.nemesys-soft.com/ <http://www.nemesys-soft.com/>
Logiciels Nemesys Software
> On Oct 20, 2016, at 19:48, Steve Mills wrote:
>
> On Oct 20, 2016, at 17:26:47, Laurent Daudelin
> wrote:
>>
>> I used a UICollectionView in an iPad app. But the NSCol
On Oct 20, 2016, at 17:26:47, Laurent Daudelin wrote:
>
> I used a UICollectionView in an iPad app. But the NSCollectionView is very
> similar. The only difference I can tell is that, when you drag a collection
> view onto your view controller view, you get contentArray layout type
I used a UICollectionView in an iPad app. But the NSCollectionView is very
similar. The only difference I can tell is that, when you drag a collection
view onto your view controller view, you get contentArray layout type. But, if
you switch to “Flow”, you will automatically get a collection
I have an NSCollectionView whose items' size are dependent on a zoom slider,
with the largest zoom fitting 1 item within the width or height of the
enclosingScrollView. What's the best way to cause the items to resize as a
result of the NSCollectionView being resized (caused by win
> On 1 May 2016, at 17:06, thatsanicehatyouh...@me.com wrote:
>
> My guess is that since the basic unit here is NSTableRowView, all of the
> columns are loaded into each row view whether they are on the screen or not.
>
View based table views recycle their views and I have found them to be ver
share it.
…Robert
>
> Message: 1
> Date: Tue, 03 May 2016 11:53:16 -0700
> From: Jens Alfke mailto:j...@mooseyard.com>>
> To: thatsanicehatyouh...@me.com <mailto:thatsanicehatyouh...@me.com>
> Cc: cocoa-dev@lists.apple.com <mailto:cocoa-dev@lists.apple.com>
>
> On May 3, 2016, at 12:33 PM, Alex Kac wrote:
>
> There is the old NSCollectionView and the new. You have to use the new
> delegate methods and so on. Its the same class, but behind the scenes the new
> collection view is literally the UICollectionView from iOS ported over
There is the old NSCollectionView and the new. You have to use the new delegate
methods and so on. Its the same class, but behind the scenes the new collection
view is literally the UICollectionView from iOS ported over (syslog even says
UICollectionView…). Its not *at all obvious*.
I know I
> On May 3, 2016, at 12:08 PM, thatsanicehatyouh...@me.com wrote:
>
> I should have been more specific - my understanding was that NSCollectionView
> from 10.11 onward did not do this... which Alex Kac just beat me to
> mentioning! I was curious if anyone was aware of limitation
nding was that NSCollectionView
from 10.11 onward did not do this... which Alex Kac just beat me to mentioning!
I was curious if anyone was aware of limitations of this scope with that caveat.
I will note that I found this by Matt Ball which looks interesting:
https://github.com/mattball/mbtablegri
oblem it occurred to me that the new(ish)
>> NSCollectionView might be a viable replacement in this case. Before I go
>> down the rabbit hole, is it reasonable to use to create a spreadsheet-like
>> view?
>
> No, because it eagerly creates a view for every item in the
> On May 1, 2016, at 9:06 AM, thatsanicehatyouh...@me.com wrote:
>
> As I've been thinking about this problem it occurred to me that the new(ish)
> NSCollectionView might be a viable replacement in this case. Before I go down
> the rabbit hole, is it reasonable to use to
ether they are on the screen or not.
As I've been thinking about this problem it occurred to me that the new(ish)
NSCollectionView might be a viable replacement in this case. Before I go down
the rabbit hole, is it reasonable to use to create a spreadsheet-like view?
What I'd like fr
Is it possible to get NSCollectionView to render with a transparent background ?
I've tried setting the backgroundColors array to clearColor, subclassing and
filling in drawRect with clearColor, making sure the enclosing scroll view is
not drawing its background and combinations of these a
Can¹t seem to get this to work. I have a collection view in a popover
(dismissed with a ³close² button) launched from a sheet. Delegate is set to
controller which declares NSCollectionViewDelegate, implements the validate
and accept drop protocols. Collection view (not the enclosing scroll view)
is
t;
Sent: Sunday, January 26, 2014 4:47:40 AM
Subject: NSCollectionView horizontal scrolling problem
Hi all,
I have a NSCollectionView that displays some NSView objects in one column only.
Now I want to programmatically increase the width of one (or all) object to
show more deta
On Jan 26, 2014, at 4:47 AM, Livio Isaia wrote:
> but the NSCollectionView doesn’t enable horizontal scrolling (of course I
> have NSScrollView->NSClipView->NSCollectionView).
It's the scrollview that does the scrolling, not the collection view. I'll
admit that getti
Hi all,
I have a NSCollectionView that displays some NSView objects in one column only.
Now I want to programmatically increase the width of one (or all) object to
show more details in it, so:
[myObject setFrameSize:newSize];
[collectionView setFrameSize:newSize];
but the NSCollectionView
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
On May 23, 2013, at 4:16 PM, Eric Gorr wrote:
> Is it possible to get control over the highlight color of the selected item?
>
> I would like a different highlight color used when the control does not have
> focus.
When did NSCollectionView get selection highlighting? Last I used
Is it possible to get control over the highlight color of the selected item?
I would like a different highlight color used when the control does not have
focus.
Thank you.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admi
On Mar 10, 2013, at 16:47 , Rick Mann wrote:
> Hi. I have a library window with items in an NSCollectionView that I'd like
> to be able to drag from without first making the window active. Is this
> possible?
>
> I see I can set -[NSView acceptsFirstMouse:], but that
Hi. I have a library window with items in an NSCollectionView that I'd like to
be able to drag from without first making the window active. Is this possible?
I see I can set -[NSView acceptsFirstMouse:], but that will make it accept all
mouse clicks and then make the window active. I
Dear list,
I've been struggling with this for hours and I think it really shouldn't be
this hard, so I thought I'd post the problem.
I have an app that contains an NSCollectionView. Each item in the collection
view has three text fields. I have finally managed to get the first t
We have a collection view, with its own nib and viewController, in a
popover. Individual cells are modified clones of the prototype. The
collection displays a list of controllers that depend on the main screen
content. Opening the popover correctly shows all the relevant elements and
controls wo
Some things turn out to be simple, if you know where to look. I¹m posting
this in case anyone else runs into this issue. Unfortunately, the
Collection View Guide does not mention it. The solution is to subclass
NSCollectionView and override newItemForRepresentedObject. It gives you the
want one document that explicitly describes
> *precisely* what AppKit does and does not control in each case. :-/
>
> I did just remember something, though: NSCollectionView copies its collection
> items around in some sort of crazy way that was subtly changed with the
> introduction
explicitly describes
*precisely* what AppKit does and does not control in each case. :-/
I did just remember something, though: NSCollectionView copies its collection
items around in some sort of crazy way that was subtly changed with the
introduction of NSViewController. Is it possible that the
wrote:
>> > I have a simple subview in my NSCollectionView prototype. (Collection
>> > view
>> > is in a popover. Popover launched from a floating control panel.) It
>> > contains the following:
>> >
>> > - (void) awakeFromNib {
>&
On Sun, Dec 2, 2012, at 03:07 PM, Gordon Apple wrote:
> I have a simple subview in my NSCollectionView prototype. (Collection
> view
> is in a popover. Popover launched from a floating control panel.) It
> contains the following:
>
> - (void) awakeFromNib {
> C
I have a simple subview in my NSCollectionView prototype. (Collection view
is in a popover. Popover launched from a floating control panel.) It
contains the following:
- (void) awakeFromNib {
CALayer *originalLayer = self.layer;
CALayer *newLayer = [CALayer layer
n for the current event, grab the selection index and fill in the
> gaps. Then call -setSelectionIndexes:
Except that you're thinking about NSTableView--NSCollectionView doesn't have
any delegate methods for selection semantics, that I know of. It sounds fragile
to me but
On 10/07/2012, at 4:37 PM, Robert Monaghan wrote:
> Ok,
>
> So in the meantime, I have a bunch of customers filing bugs/feature requests
> to implement this ability..
> (Its a popular request, shall we say..)
>
> Is this something that can be overridden, turned on/off? Has anyone done this?
con views, i.e. they
> toggle the clicked item.
>
> --Graham
>
>
>
>
>
> On 09/07/2012, at 5:34 PM, Robert Monaghan wrote:
>
>> Hi Everyone,
>>
>> In a previous posting, I had a problem with NSCollectionView not selecting a
>> range of
oggle the clicked item.
--Graham
On 09/07/2012, at 5:34 PM, Robert Monaghan wrote:
> Hi Everyone,
>
> In a previous posting, I had a problem with NSCollectionView not selecting a
> range of objects, when shift-selecting items.
> For example, if I were to click on object "3
Hi Everyone,
In a previous posting, I had a problem with NSCollectionView not selecting a
range of objects, when shift-selecting items.
For example, if I were to click on object "3" and then shift-click on object
"5", I would expect a range of 3,4,5 to be highlighted.
Inst
Robert Monaghan wrote:
>
>> Hi Everyone,
>>
>> I have just read all of the posts that I can find about the NSCollectionView
>> and selecting an item (or items) for a drag operation. As others have
>> pointed out, the selection takes about 1 second for a drag operat
On Feb 7, 2012, at 7:47 AM, Robert Monaghan wrote:
> Hi Everyone,
>
> I have just read all of the posts that I can find about the NSCollectionView
> and selecting an item (or items) for a drag operation. As others have pointed
> out, the selection takes about 1 second for a dr
Hi Everyone,
I have just read all of the posts that I can find about the NSCollectionView
and selecting an item (or items) for a drag operation. As others have pointed
out, the selection takes about 1 second for a drag operation to be processed.
This is a real sore spot when using the
On Jan 20, 2012, at 4:39 AM, Robert Monaghan wrote:
> Hi Everyone,
>
> This has been asked before by another Cocoa-dev follower, but there wasn't an
> answer...
> I have an NSCollectionView where I want to be able to "Shift-click" a range
> of Icons.
>
Hi Everyone,
This has been asked before by another Cocoa-dev follower, but there wasn't an
answer...
I have an NSCollectionView where I want to be able to "Shift-click" a range of
Icons.
Strangely, I can Command-click a range of individual icons, but a shift-click
of a rang
Hi,
I have a NSCollectionView in which selection changes are observed by a
viewcontroller object, that will in turn change its view according to the
nature of the selection change.
(Think of it as a image browser or something similar)
In some circumstances however, I want to alert the user
Yeah, you're right that will work.. thanks.
Michael
On Fri, Nov 11, 2011 at 10:46 AM, Kyle Sluder wrote:
> On Nov 11, 2011, at 6:43 AM, Michael Hanna wrote:
>
> > Hi Kyle et. al.
> >
> > On network refreshes, rebuild an entire temp array from an xml blob all
> over again to include changes to
On Nov 11, 2011, at 6:43 AM, Michael Hanna wrote:
> Hi Kyle et. al.
>
> On network refreshes, rebuild an entire temp array from an xml blob all over
> again to include changes to individual items in the array. They are an array
> of NSMutableDictionary. This is not ideal, I know but not sure o
ing seems to
persist. Am I initializing the binding correctly?
just for the heck of it, I subclassed NSCollectionView and overrode
-setContent: like this:
- (void)setContent:(NSArray *)content
{
[NSAnimationContext beginGrouping];
[[NSAnimationContext currentContext] setDuration:0.0];
[supe
On Thu, Nov 10, 2011 at 3:09 PM, Michael Hanna wrote:
> in an nscollectionview, I call setContent: every time I get a new item for
> the collection view. The annoying side-effect of this is that the whole
> view dims and brightens each time setContent: is called.. not visually
> app
in an nscollectionview, I call setContent: every time I get a new item for
the collection view. The annoying side-effect of this is that the whole
view dims and brightens each time setContent: is called.. not visually
appealing.
I've tried disabling CATransactions while calling setContent
On 18/10/2011, at 4:25 PM, Sandeep Mohan Bhandarkar wrote:
> Hi All,
>
> I have created a NSCollectionView currently i am able to add prototypeItems
> to this view. For removing items i have a "-" button which i have placed
> in the prototypeItemView itself. I have als
Hi All,
I have created a NSCollectionView currently i am able to add prototypeItems to
this view. For removing items i have a "-" button which i have placed
in the prototypeItemView itself. I have also written an IBAction for its
removal. It is as provided below
-(IBAction)remove
Mine works fine on 10.6 and 10.7, but I'm implementing menuForEvent: in my
NSCollectionView subclass instead of using bindings
On Oct 13, 2011, at 4:13 PM, Graham Cox wrote:
> I'm using NSCollectionView to display a bunch of items. I have the 'menu'
> outlet of thi
I'm using NSCollectionView to display a bunch of items. I have the 'menu'
outlet of this view connected to a menu which in turn sends an action to File's
Owner.
On 10.7 this works as expected (menu is displayed when right-clicking in the
view), but on 10.6.x, the menu is
ll, they are showing up if you like garbage all over the NSView.)
In IB, I enabled the Core Animation Layer for my NSView. Then I enabled a Core
Animation layer for my NSCollectionView.
Things are almost working! However:
- Not all of the imagery is properly re-drawn.
- Why is my first NSCollect
, but the call to superview fails, because it is
set to nil.
Just for laughs, I created another NSCollectionView, with NSArrayController,
etc, and manually add objects. This works, with the NSViews displaying properly.
Is there a way to force NSCollectionView to reload/re-display the NSViews with
a
Hi Everyone,
I can't seem to get an NSCollectionView to render an of the
NSCollectionViewItems' NSViews.
I have an NSCollectionView that is bound to an NSArrayController's
arrangedObjects.
The NSCollectionViewItem is set up as a template, and also has its Outlet
attached to an
nt_2190
So, in your implementation of setSelected: in your
NSCollectionViewItem-subclass, also call [super setSelected:..]
Something to easily overlook.
g
arri
On Tue, Mar 2, 2010 at 8:25 PM, Markus Spoettl
wrote:
> On Mar 2, 2010, at 10:52 AM, Thomas Davie wrote:
>> The NSCollecti
Animation, so I was checking
NSCollectionView, but it looks "odd", I couldn't find a way to change just one
view in the collection, so I was wondering, should I start this UI from scratch
using CALayers and a NSScrollView / CAScrollView, stick with NSCollectionView
or animate the NSCe
Hello all,
I'm having kind of troubles with embedded collection views.
I'm displaying a list of items vertically, each of these items may have
subitems i list in another collection view, this time horizontally.
Everything fine so far, the NSCollectionViewItems get loaded w
Hi everyone,
I have an NSCollectionView in a sheet. The NSCV does not allow selection and
is used for displaying a list (so maxNumberOfColumns = 1) of views. These
views have things like NSComboBoxes and NSTextFields in them. I'm trying to
figure out how to be able to tab from textfie
d raster
> drawing path to generate drag images. Even if you don't call
> -drawRect: (which NSCollectionView presumably does to insulate you
> from its implementation details), the drag image is a static bitmap. I
> suppose you could use a CARenderer to produce a static bitmap from
>
drawRect: (which NSCollectionView presumably does to insulate you
from its implementation details), the drag image is a static bitmap. I
suppose you could use a CARenderer to produce a static bitmap from
within -drawRect:.
I believe we've determined that the window update machinery does not
c
I have an NSCollectionView with NSCollectionViewItems that have, amongst other
things, a layer-hosting NSView with CALayers. The collectionView has
wantsLayers set, and everything there is working nicely - draw, scroll, reorder
animation.
The trouble comes when I try to drag them. The
On Jan 5, 2011, at 9:33 AM, Martin Hewitson wrote:
> Dear List,
>
> I have an app which contains a collection view with items which are supposed
> to be re-ordered by the user. All is working well apart from one niggle: the
> user has to click and hold down the mouse button for about 1 second b
Dear List,
I have an app which contains a collection view with items which are supposed to
be re-ordered by the user. All is working well apart from one niggle: the user
has to click and hold down the mouse button for about 1 second before a drag
begins. This is most unintuitive and it took me
What I've done is have a custom NSView subclass that all my CollectionViewItems
use, which subclasses hitTest: and mouseDown:
- (NSView *)hitTest: (NSPoint)aPoint // IN
{
NSView *hitView = [super hitTest:aPoint];
if (hitView && ![hitView isKindOfClass:[NSTextField class]]) {
hitView =
Hi there great and wise Cocoa-Dev!
I am wondering if anyone knows if there has been any movement regarding how
selection is handled in NSCollectionViews. I see there was some conversation
on this subject a couple of years back
(http://www.cocoabuilder.com/archive/cocoa/217489-selection-in-nsco
On Oct 1, 2010, at 1:19 AM, Markus Spoettl wrote:
> Are you sure that is the case? My collection views work the same on Leopard
> and Snow Leopard.
Yes, I'm sure. I just ran the SourceView sample application on two different
computers, one running Leopard and the other running Snow Leopard. O
On Sep 30, 2010, at 4:25 PM, Nick Zitzmann wrote:
> I searched for answers for these two questions and did not find anything
> pertinent:
>
> 1. I noticed that, on Snow Leopard, when the user clicks on a collection view
> item, the item is selected, but it doesn't do this on Leopard. Instead, on
eopard. So has anyone figured out how to get
NSCollectionView's selection behavior on Snow Leopard to work on Leopard as
well?
2. I'm also wondering if anyone has been successful in doing file promise drags
with NSCollectionView in Snow Leopard, and if so, then what did you have to do
to
Hello,
In a core data document based app I have a NSTextView inside an
NSCollectionView. The text view's value is bound to a core data attribute. When
a document is opened the text does not draw in the text view. When the user
clicks the view it will draw the text correctly.
The text a
Hello,
I have replaced a bunch of NSImageViews with IKImageViews in my app. These
image views are presented inside an NSCollectionView. Both the NSImageViews and
the IKImageViews had shadows turned on in IB. The NSImageViews' shadows showed
up fine, but the IKImageViews' shadows are
Hi,
I asked this in my last post, but this was under the wrong topic.
My question:
In a NSCollectionView: How do I allow the range selection with the shift key
(like in a tableView)?
Best Regards
Georg
___
Cocoa-dev mailing list (Cocoa-dev
On Jun 17, 2010, at 8:29 PM, Jerry Krinock wrote:
> The conclusion is that I decided to not use NSCollectionView in this
> application.
Even though "everybody knows" this is what usually happens when people try to
use NSCollectionView, it's not gonna get any better
The conclusion is that I decided to not use NSCollectionView in this
application.
Besides this mysterious non-encoding of representedObjects in my popup button
menu, I've also realized that NSCollectionView does not allow me to enable
different menu items in the popup button menus in diff
Hello all.
I have subclasses NSCollectionView to be able to draw a custom background
gradient.
When that collectoin view doesn't accepts layers or its parent view neither,
the gradient its drawn, the drawRect method its called, but if the collection
view accepts layer or its parent does,
On 2010 Jun 16, at 17:03, Graham Cox wrote:
> On 17/06/2010, at 9:20 AM, Jerry Krinock wrote:
>
>> Why might the collection view feel it needs to encode the items in this
>> popup menu?
>
> Isn't the view template copied by archiving/dearchiving, since NSView doesn't
> support NSCopying?
Hmm
On 17/06/2010, at 9:20 AM, Jerry Krinock wrote:
> Why might the collection view feel it needs to encode the items in this popup
> menu?
Isn't the view template copied by archiving/dearchiving, since NSView doesn't
support NSCopying?
A similar problem I've run into is that when you set -repre
1 - 100 of 286 matches
Mail list logo