Welcome, Guest
Username Password: Remember me

iPad split view updates with KVO?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: iPad split view updates with KVO?

iPad split view updates with KVO? 1 year, 8 months ago #1

Hi,

I didn't see anything in the STV source code, but I was wondering if STV has any provisions for refreshing the master view's table view cells when something changes in the detail view in a split view controller setup?

Thanks,

Brendan
  • tapforms
  • OFFLINE
  • Expert Boarder
  • Posts: 120
  • Karma: 4
Thanks!
Brendan
www.tapforms.com

Re: iPad split view updates with KVO? 1 year, 8 months ago #2

Hi Brendan:

No it doesn't, but we would welcome any ideas you have here. What are your typical scenarios? Thanks!
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72

Re: iPad split view updates with KVO? 1 year, 8 months ago #3

Hi Tarek,

Well, I have a split view controller. When I select an item from the master list on the left, the detail view is updated. The master list displays 2 fields from the detail view for every record. If I update one of those fields in the detail view, I want the field to be updated in the list on the left. Also, if I delete the record from the detail view, I'd like the master list on the left to also show the row as being deleted. The items on the right in the detail view can be updated in a bunch of different ways, such as with a UITextField or even a popup modal window editing the value. In that scenario it's possible that the value on the detail screen on the right needs updating as well as the entry in the master list on the left. The detail view consists of a UITableView as well as the master list on the left.

That's pretty much it.

Thanks,

Brendan
  • tapforms
  • OFFLINE
  • Expert Boarder
  • Posts: 120
  • Karma: 4
Thanks!
Brendan
www.tapforms.com

Re: iPad split view updates with KVO? 1 year, 8 months ago #4

Hi again Brendan,

I think this requires building a framework that connects several SCTableViewModels together generically according to certain rules. Really good idea to munch on for a future version. Thanks Brendan!
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72
  • Page:
  • 1
Time to create page: 1.42 seconds