diff --git a/TableViewWithMultipleCellTypes.xcodeproj/project.pbxproj b/TableViewWithMultipleCellTypes.xcodeproj/project.pbxproj index 40584f2..d7b1ee6 100644 --- a/TableViewWithMultipleCellTypes.xcodeproj/project.pbxproj +++ b/TableViewWithMultipleCellTypes.xcodeproj/project.pbxproj @@ -153,6 +153,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, Base, ); @@ -326,7 +327,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.stan.ostrovskiy.TableViewWithMultipleCellTypes; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 5.0; }; name = Debug; }; @@ -339,7 +340,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.stan.ostrovskiy.TableViewWithMultipleCellTypes; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 5.0; }; name = Release; }; diff --git a/TableViewWithMultipleCellTypes.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/TableViewWithMultipleCellTypes.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/TableViewWithMultipleCellTypes.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/TableViewWithMultipleCellTypes.xcodeproj/project.xcworkspace/xcuserdata/santoshkc.xcuserdatad/UserInterfaceState.xcuserstate b/TableViewWithMultipleCellTypes.xcodeproj/project.xcworkspace/xcuserdata/santoshkc.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..4e9fa36 Binary files /dev/null and b/TableViewWithMultipleCellTypes.xcodeproj/project.xcworkspace/xcuserdata/santoshkc.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/TableViewWithMultipleCellTypes.xcodeproj/xcuserdata/santoshkc.xcuserdatad/xcschemes/xcschememanagement.plist b/TableViewWithMultipleCellTypes.xcodeproj/xcuserdata/santoshkc.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..78ac47f --- /dev/null +++ b/TableViewWithMultipleCellTypes.xcodeproj/xcuserdata/santoshkc.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + TableViewWithMultipleCellTypes.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/TableViewWithMultipleCellTypes/AppDelegate.swift b/TableViewWithMultipleCellTypes/AppDelegate.swift index 58ea17b..678cf9b 100644 --- a/TableViewWithMultipleCellTypes/AppDelegate.swift +++ b/TableViewWithMultipleCellTypes/AppDelegate.swift @@ -14,7 +14,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. return true } diff --git a/TableViewWithMultipleCellTypes/ViewController.swift b/TableViewWithMultipleCellTypes/ViewController.swift index fe7212b..b627def 100644 --- a/TableViewWithMultipleCellTypes/ViewController.swift +++ b/TableViewWithMultipleCellTypes/ViewController.swift @@ -20,7 +20,7 @@ class ViewController: UIViewController { tableView?.dataSource = viewModel tableView?.estimatedRowHeight = 100 - tableView?.rowHeight = UITableViewAutomaticDimension + tableView?.rowHeight = UITableView.automaticDimension tableView?.register(AboutCell.nib, forCellReuseIdentifier: AboutCell.identifier) tableView?.register(NamePictureCell.nib, forCellReuseIdentifier: NamePictureCell.identifier)