Yet more new information. Was: Re: Weird UITableView problem

2015-04-30 Thread William Squires
Okay, I've now tried this on Xcode 5 and 6, and on 10.8.5 and 10.10.3. Here's my synopsis: * Happens only with UITableView * Happens on simulator if set for any device (except iPad?) that has retina display * Does not happen if set for a non-retina device. * Unknown if this happens on real

Parent/child view controllers: when shall we use it?

2015-04-30 Thread Colas B
Dear cocoa-dev, When building a simple UIViewController, do I have to use  addChildViewController: if this VC owns other VCs?(By simple VC, I mean I am not creating MyCustomNavigationController or something like that; just a plain old VC) Imagine for example that I build a view controller

Re: Spinning the busy indicator

2015-04-30 Thread Steve Mills
On May 1, 2015, at 00:08:33, Graham Cox graham@bigpond.com wrote: Well, it’s always gratifying to find I’m not alone ;) How did you figure out a value that leaves one for the main thread? The actual value returned is -1 for NSOperationQueueDefaultMaxConcurrentOperationCount, not the

Re: Spinning the busy indicator

2015-04-30 Thread Quincey Morris
On Apr 30, 2015, at 21:46 , Graham Cox graham@bigpond.com wrote: If anyone’s interested in having a look at what’s happening, I’ve put the project sources up here: http://apptree.net/code/Gingerbread.zip http://apptree.net/code/Gingerbread.zip Here’s what I see: — I took out your

Re: Spinning the busy indicator

2015-04-30 Thread Steve Mills
On Apr 30, 2015, at 23:46:53, Graham Cox graham@bigpond.com wrote: Well, here’s a huge clue. I use NSOperationQueue with the default -maxConcurrentOperationCount which is NSOperationQueueDefaultMaxConcurrentOperationCount, i.e. let the system figure it out. That appears to create 4

Re: Spinning the busy indicator

2015-04-30 Thread Graham Cox
On 1 May 2015, at 3:28 pm, Quincey Morris quinceymor...@rivergatesoftware.com wrote: — I don’t see anything really wrong at any point, other than it looks unresponsive because it’s very busy for a while. Well, thanks for having a look and taking an interest - and apologies for the

Re: Spinning the busy indicator

2015-04-30 Thread Roland King
Doing a little bit of googling on some of the stuff in your stack trace, InstallEventHander and GlobalRegistryEventRegistered all seem to be part of HIToolBox. I just picked a random app of my own and stuck a few breakpoints in it to find every menu invocation in my app goes down pretty much

Re: Spinning the busy indicator

2015-04-30 Thread Graham Cox
On 1 May 2015, at 1:12 pm, Quincey Morris quinceymor...@rivergatesoftware.com wrote: Yes, they do say that. But as it happens I went to IB (6.3.1). The “indeterminate” checkbox is right there, and if you uncheck it you get a clock-style progress indicator. I guess the docs are out of

Re: Spinning the busy indicator

2015-04-30 Thread Graham Cox
On 1 May 2015, at 3:02 pm, Steve Mills sjmi...@mac.com wrote: I’ve run into this too, where letting the OS figure out how many operations to queue at once doesn’t always work like a human wants it to work. I ended up doing what you did - leave one for the main thread.

Re: Spinning the busy indicator

2015-04-30 Thread Graham Cox
On 1 May 2015, at 10:18 am, Quincey Morris quinceymor...@rivergatesoftware.com wrote: On Apr 30, 2015, at 16:39 , Graham Cox graham@bigpond.com wrote: As I mentioned it’s the spinning busy indicator, which is always indeterminate. The circular style isn’t always indeterminate,

Re: Parent/child view controllers: when shall we use it?

2015-04-30 Thread Roland King
On 1 May 2015, at 04:54, Colas B colasj...@yahoo.fr wrote: Dear cocoa-dev, When building a simple UIViewController, do I have to use addChildViewController: if this VC owns other VCs?(By simple VC, I mean I am not creating MyCustomNavigationController or something like that; just a

Re: Spinning the busy indicator

2015-04-30 Thread Quincey Morris
On Apr 30, 2015, at 19:15 , Graham Cox graham@bigpond.com wrote: Well, the docs say: This method only has an effect if style returns NSProgressIndicatorBarStyle. If style returns NSProgressIndicatorSpinningStyle, the indicator is always indeterminate, regardless of what you pass to

Re: Spinning the busy indicator

2015-04-30 Thread Roland King
Stumped. —Graham I don’t have a lot more ideas than you, having been reading this thread (no pun intended) for 2 days. Is this only happening when you click to bring up a menu when your app is running or at other times too? I can’t currently think of a good reason why opening a

Re: Spinning the busy indicator

2015-04-30 Thread Graham Cox
Did you set your progress indicator to indeterminate? If not, it’s not going to animate. As I mentioned it’s the spinning busy indicator, which is always indeterminate. Something odd is happening, which may or may not have an effect on the busy indicator (which is a minor annoyance, but

Re: Spinning the busy indicator

2015-04-30 Thread Quincey Morris
On Apr 30, 2015, at 16:39 , Graham Cox graham@bigpond.com wrote: As I mentioned it’s the spinning busy indicator, which is always indeterminate. The circular style isn’t always indeterminate, though (I forgot) it looks different when it’s not indeterminate. I just tried forcing an app

Re: Yet more new information. Was: Re: Weird UITableView problem

2015-04-30 Thread John Tsombakos
My two cents.. I just tried this on a MacPro, 10.10.3 and Xcode 6 (6.3.1) and no matter which device I run in the simulator and scale factor, i can see all the items in the list. If looking at the iPad Air, thye all fit on the screen without scrolling. Smaller devices I have to scroll the table