Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill UITableView?? #8

Closed
fgrosjean opened this issue Apr 18, 2018 · 6 comments
Closed

Fill UITableView?? #8

fgrosjean opened this issue Apr 18, 2018 · 6 comments

Comments

@fgrosjean
Copy link

Anyway to populate a table (pass values? completion?) after the popover has been presented?

@Kofktu
Copy link
Owner

Kofktu commented Apr 18, 2018

@fgrosjean
Yes,
if you use autolayout, set constant tableview width

@fgrosjean
Copy link
Author

Mmmm... let's see if I can explain myself better. Native popovers are called with:
present(popOverViewController, animated: true, completion: nil)

but KUIPopOver only has:
customViewController.showPopover(sourceView: sender, sourceRect: sender.bounds) customViewController.showPopover(barButtonItem: sender) customViewController.showPopover(withNavigationController: sender, sourceRect: sender.bounds)

No COMPLETION for passing data to the presented view controller.

@Kofktu
Copy link
Owner

Kofktu commented Apr 18, 2018

@fgrosjean
ah, you want show completion closure?
hmm.. I will update it this week!
or
welcome to PR!!! ^^

@fgrosjean
Copy link
Author

@Kofktu Really nice library you got here. Thank you!

@Kofktu Kofktu mentioned this issue Apr 18, 2018
@Kofktu
Copy link
Owner

Kofktu commented Apr 18, 2018

@fgrosjean
CocoaPods has been updated.

2018-04-18 11 23 48

@Kofktu Kofktu closed this as completed Apr 18, 2018
@wdcurry
Copy link

wdcurry commented Jan 17, 2019

The completion handler fires off immediately upon showing, which seems rather not expected. Looking into why but using basic signature as provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants