I’m appealing as a new adopter, so please let me know if I’ve missed something really obvious. I have code to post, but the description here may be enough for starters:
I’m trying to use a storyboard scene and an overlay scene to replicate iOS ‘popover’ windows, complete with the pointy triangle they require. The base scene contains a tableView widget and a separate edit button, which invokes the overlay (i.e. “popover”) to let the user edit fields associated with a selected row in the table. The idea is that the user scrolls to / taps a class in the list and then clicks the edit button that pulls up an overlay (popover in iOS-speak) to change its name (or later on other variables).
I’m running into a refresh issue with the base storyboard scene, which contains a list of classes shown in a tableView widget. I can get the overlay to appear (modal even works!) and editing the text field in the overlay/popover works.
BUT, when the overlay/popover is closed up and we return to the base scene the tableView doesn’t refresh. If I scroll the list in the table enough times eventually the new value will show in the row that was edited, but I want the table to be refreshed as soon as the overlay/popover editing is completed.
Is my overall approach sound? Is there an obvious way to refresh an existing tableview widget? Do I have to destroy it and recreate it after each overlay call (ugh). Other tricks/suggestions?
I’ve put my table creation/listener code in the ‘enter scene’ function, thinking that it might be invoked again after the overlay is done, recreating the table, but I think I’m missing something here.
I’m pretty new at this so thanks in advance for any ideas. I can post my code, too.
I’m using build 828.
[import]uid: 56041 topic_id: 27880 reply_id: 327880[/import]