Re: WKWebView and tooltips

2016-10-20 Thread Rick Mann
This seems to be new behavior in iOS 10. The exact same code on iOS 9 does not exhibit this behavior. Mobile Safari does not exhibit this behavior in either iOS. In all cases, clicking turns the control blue (our hover state), although in iOS 9 when the action completes, the control turns back

WKWebView and tooltips

2016-10-20 Thread Rick Mann
We have a complex WebGL app that has some controls defined via HTML elements. We use this code both on the web, and in an iOS app inside a WKWebView. We recently added tooltips (as a title attribute on an element), and now the first tap brings up the tooltip. Subsequent taps actuate the

Re: iOS: Preventing a singleton from being deallocated when the app is in the background.

2016-10-20 Thread Alex Zavatone
On Oct 20, 2016, at 6:37 PM, Greg Parker wrote: > >> On Oct 19, 2016, at 8:41 PM, Alex Zavatone wrote: >> >> In that case we would find out really quickly, because this is one of the >> classes that starts up as soon as the app makes several server calls. When >> our error

Re: Resize NSCollectionView items after resize

2016-10-20 Thread Steve Mills
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

Re: iOS: Preventing a singleton from being deallocated when the app is in the background.

2016-10-20 Thread Greg Parker
> On Oct 19, 2016, at 8:41 PM, Alex Zavatone wrote: > > In that case we would find out really quickly, because this is one of the > classes that starts up as soon as the app makes several server calls. When > our error happens that appears like a dealloc, the app has been

Re: Resize NSCollectionView items after resize

2016-10-20 Thread Laurent Daudelin
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

Layout and Popovers

2016-10-20 Thread Rick Aurbach
I’m sure I’m missing something really basic here, but I’ve been trying to figure this out for several days without success: I have a sequence of panels that I am displaying in a UIPopoverPresentationController. I am implementing this using a UINavigationController with a stack of panels. The

Resize NSCollectionView items after resize

2016-10-20 Thread Steve Mills
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 window resize,

Re: inconsistencies in view renderings

2016-10-20 Thread Quincey Morris
On Oct 20, 2016, at 09:53 , Alan Snyder wrote: > > If you exclude textured controls in the window content area, then my examples > are all moot. Here’s what the HIG has to say about this

Re: inconsistencies in view renderings

2016-10-20 Thread Alan Snyder
If you exclude textured controls in the window content area, then my examples are all moot. Can you tell me how to create a window with a bottom status bar in IB? It seems to depend on some sort of analysis by AppKit. > On Oct 19, 2016, at 8:16 PM, Quincey Morris >

Re: iOS: Preventing a singleton from being deallocated when the app is in the background.

2016-10-20 Thread Alex Zavatone
On Oct 19, 2016, at 4:04 PM, Doug Hill wrote: > >> On Oct 19, 2016, at 2:00 PM, Jens Alfke wrote: >> >> >>> On Oct 19, 2016, at 1:23 PM, Steve Mills wrote: >>> >>> Pardon my obvious question, but this isn't a matter of your app napping >>> while in the