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

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 devic

Re: New information. Was: Re: Weird UITableView problem

2015-04-29 Thread Uli Kusterer
On ٢٨‏/٠٤‏/٢٠١٥, at ١٩:٥٧, William Squires wrote: > If I select "iPhone Retina (4-inch)" (again in the Xcode 5 project), I no > longer get all 20 cells, and - in fact - the last cell visible, "Dwalin", is > cut off so you can't see all of the cell, even with the (table) view scrolled > down al

Re: New information. Was: Re: Weird UITableView problem

2015-04-28 Thread Quincey Morris
On Apr 28, 2015, at 10:57 , William Squires wrote: > > the whole simulator screen is taller than my iMac's screen can display, even > for "iPhone 5s" as the simulator target, … So change the display scale to 50% from the simulator’s Window menu. > … thus I have to scroll the table view to see

Re: New information. Was: Re: Weird UITableView problem

2015-04-28 Thread William Squires
On Apr 28, 2015, at 12:15 PM, Quincey Morris wrote: > On Apr 28, 2015, at 09:45 , William Squires wrote: >> >> shows 15 rows > > You keep saying “shows”, but you don’t say what this means. A table view can > only “show” as many rows as can fit between its top and bottom bounds. The > rest

Re: New information. Was: Re: Weird UITableView problem

2015-04-28 Thread Quincey Morris
On Apr 28, 2015, at 09:45 , William Squires wrote: > > shows 15 rows You keep saying “shows”, but you don’t say what this means. A table view can only “show” as many rows as can fit between its top and bottom bounds. The rest are “shown” by scrolling the view. So, how many rows can fit on the

Re: New information. Was: Re: Weird UITableView problem

2015-04-28 Thread Aaron Montgomery
Works for me. Not saying it doesn't work for you, but the problem isn't the code. Created a fresh Single View Application iOS project. Replaced ViewController.m source with the code below. Added a UITableView to the View Controller's View and hooked up the DataSource to the View Controller. Ran

New information. Was: Re: Weird UITableView problem

2015-04-28 Thread William Squires
Thinking this was a Swift problem, I recreated the project, but with ObjC as the language. I set up the UI the same as with the Swift project. It too, only shows a subset of the array, only this one shows 15 rows, not 13. Here's the ViewController.m // // ViewController.m // SimpleObjCTable /

Re: Weird UITableView problem

2015-04-26 Thread Mike Abdullah
> On 26 Apr 2015, at 18:29, William Squires wrote: > > I made a fairly simple iOS app (Single View template, iPhone, Swift) that has > a UITableView. I've got it all hooked up, and running the project (in the > simulator) shows the table view, but only 13 (out of 20) rows are ever shown. > >

Weird UITableView problem

2015-04-26 Thread William Squires
I made a fairly simple iOS app (Single View template, iPhone, Swift) that has a UITableView. I've got it all hooked up, and running the project (in the simulator) shows the table view, but only 13 (out of 20) rows are ever shown. here's the deal: ViewController.swift class