xcode - How can I populate a table view, not a table view controller? -
xcode - How can I populate a table view, not a table view controller? -
i have table view within normal view controller , wondering how should go out populating data?
after researching it, everywhere have seen done uses table view controller: using view controller table view within it.
how should populate data? have created iboutlet in viewcontroller.swift
, i'm not sure add together data.
the reason not using table view controller because couldn't navigation bar show , heard navigation bar scrolled.
is possible utilize table view within normal view controller? should using table view controller? if possible utilize table view within normal view controller, how populate table view?
the coding language using swift.
a uitableviewcontroller
normal uiviewcontroller
has main view replaced uitableview
, uses uitableviewdelegate
, uitableviewdatasource
protocols.
uitableviewcontroller
subclass of uiviewcontroller
.
so add together protocols , utilize way utilize in uitableviewcontroller
.
xcode swift view tableview viewcontroller
Comments
Post a Comment