Re: Dynamically change NSCollectionView items based on view width

2019-04-07 Thread Demitri Muna
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

Re: Dynamically change NSCollectionView items based on view width

2019-04-07 Thread Mike Abdullah
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 one small. When the vi

Re: NSTextField "Discard Change"

2019-04-07 Thread Quincey Morris
On Apr 5, 2019, at 20:55 , Richard Charles wrote: > > Sending the text field an abortEditing message does not work. How can changes > to the text field be discarded? Caveat: I don’t know the answer to what you’re asking, but I suspect you may be asking the wrong question. First of all, what d