I read a lot of articles online and book (Apple) but I am not able to find out the difference between ? and ! operator in Swift language.
override func tableView(tableView: UITableView!, cellForRowAtIndexPath indexPath: NSIndexPath!) -> UITableViewCell!
{
}
override func numberOfSectionsInTableView(tableView: UITableView?) -> Int {
return 1;
}
In the code above the first func declares the tableView as ! and in the second function tableView is declared as ?.