Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions TableViewCellWithAutoLayout/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate
{
var window: UIWindow?

func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: NSDictionary?) -> Bool
{
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool {
// Override point for customization after application launch.
window = UIWindow(frame: UIScreen.mainScreen().bounds)
var viewController = TableViewController(style: .Plain)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ class TableViewController: UITableViewController

var model = Model()

override init(nibName nibNameOrNil: String!, bundle nibBundleOrNil: NSBundle!)
{
super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
}

override init(style: UITableViewStyle)
{
super.init(style: style)
Expand Down Expand Up @@ -94,7 +89,7 @@ class TableViewController: UITableViewController

model = Model()

tableView.deleteRowsAtIndexPaths(rowsToDelete, withRowAnimation: .Automatic)
tableView.deleteRowsAtIndexPaths(rowsToDelete as [AnyObject], withRowAnimation: .Automatic)
}

// Adds a single row to the table view
Expand Down