[Solved] convert from obj-c to swift
[ad_1] You should check out objectivec2swift.net Converting it makes this: import “SherginNavigationTableViewController.h” import “SherginScrollableNavigationBar.h” class SherginNavigationTableViewController { func initWithStyle(style: UITableViewStyle) -> AnyObject { self = super(style: style) if self { // Custom initialization } return self } func viewWillAppear(animated: Bool) { super.viewWillAppear(animated) // SherginScrollableNavigationBar (self.navigationController.navigationBar as SherginScrollableNavigationBar).scrollView = self.tableView self.title = “ScrollableNavigationBar” } func viewDidDisappear(animated: … Read more