I am trying to get used to swift language so as usual after learning some basics about it I have started with storyboard and table view.I have dragged table view controller to storyboard and created class for it and attached to view controller also. As soon as I uncomment cellForRowAtIndexPath method I get following swift compiler error
Overriding method with selector 'tableView:cellForRowAtIndexPath:' has incompatible type '(UITableView!, NSIndexPath!) -> UITableViewCell!'
I also have included numberOfSectionInTableView
and numberOfRowInSection
delegate methods.
I don't know what I am doing wrong here.
so can anybody please help me resolve this issue.
Thanks in advance.