I have a view controller class in your application: I want to function in this view controller starts and fully Then how can I activate the application representative from within (such as those that are defined in the logging tableview) and such properties are available that Thank you!
class ViewController: UIViewController, UITableViewDataSource , UITableViewDelegate {@Iboutlet weak var usersTable: UITableView! Var pending request: FBCAF? Var pendingLoginForSlot: Int! Var User ID: String? Bridesmaid swipeGesture: viewDidLoad () function bool = false override {super.viewDidLoad () usersTable.delegate = self usersTable.dataSource = self self.pendingLoginForSlot = -1 self.usersTable.tableFooterView = UIView (frame: CGRectZero)}
didFinishLaunchingWithOptions
when I like apps representative after defining the sequence controller your application delegate:
var VC: ViewController = ViewController ()
VC.usersTable
no Is equal. But when I do my function after viewDidLoad
everything is working fine. viewDidLoad
expect the same results to define I load it via a tab barcontroller after loading a regular manner VC?
Monday, 15 September 2014
ios - Init viewcontroller in app delegate, including tableview delegates -
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment