Re: [swift-users] Issues with UITableView*

2016-09-13 Thread Adam Stoller via swift-users
I will respond to this directly to Ole - as I was informed this was not the correct list for such discussions, and I have since unsubscribed and subscribed to the cocoa-dev list instead. Many thanks… —fish (Adam Stoller) > On Sep 12, 2016, at 18:41, Ole Begemann wrote: > > > Hmm - interesti

Re: [swift-users] Issues with UITableView*

2016-09-12 Thread Jon Shier via swift-users
UITableView already has the notion of “selected rows” built in, so I’d suggest starting there. Jon > On Sep 12, 2016, at 6:41 PM, Ole Begemann via swift-users > wrote: > > > Hmm - interesting to know. Unfortunately, if I do that, then I get > > NO indication of selection when I click on ANY

Re: [swift-users] Issues with UITableView*

2016-09-12 Thread Ole Begemann via swift-users
> Hmm - interesting to know. Unfortunately, if I do that, then I get > NO indication of selection when I click on ANY row. Perhaps I need > to make some other changes to account for the change in how I get the > cell? You also need to store your cells' selection state someplace outside of the

Re: [swift-users] Issues with UITableView*

2016-09-12 Thread Adam Stoller via swift-users
Hmm - interesting to know. Unfortunately, if I do that, then I get NO indication of selection when I click on ANY row. Perhaps I need to make some other changes to account for the change in how I get the cell? —fish (Adam Stoller) > On Sep 12, 2016, at 18:08, Ole Begemann wrote: > > > The c

Re: [swift-users] Issues with UITableView*

2016-09-12 Thread Ole Begemann via swift-users
> The current version of my code seems to satisfy points #1-3, but crashes > when attempting to deal with #4 - and I’m not sure that what I’ve done > is “good” or “correct” in terms of satisfying the first three points. I haven't looked at all of your code, but one thing that could definitely ca

[swift-users] Issues with UITableView*

2016-09-12 Thread Adam Stoller via swift-users
I’m trying to do something that I thought would be rather simple: Display a list of information in rows of a table (in this case, each row would contain a ‘name’ and a ‘location’ label)If clicked on once, the row should become selected (highlighted and checked)If clicked on again (same row), the ro