Update project and deprecated APIs
This commit is contained in:
parent
1e374a50ab
commit
2f42099bd0
|
@ -57,8 +57,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDele
|
||||||
// splitViewController.minimumPrimaryColumnWidth = 360.0
|
// splitViewController.minimumPrimaryColumnWidth = 360.0
|
||||||
splitViewController.maximumPrimaryColumnWidth = .infinity
|
splitViewController.maximumPrimaryColumnWidth = .infinity
|
||||||
splitViewController.delegate = self
|
splitViewController.delegate = self
|
||||||
if UI_USER_INTERFACE_IDIOM() == .pad {
|
if UIDevice.current.userInterfaceIdiom == .pad {
|
||||||
splitViewController.preferredDisplayMode = .allVisible
|
splitViewController.preferredDisplayMode = .oneBesideSecondary
|
||||||
// } else {
|
// } else {
|
||||||
// splitViewController.preferredDisplayMode = .primaryOverlay
|
// splitViewController.preferredDisplayMode = .primaryOverlay
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@ extension Cells {
|
||||||
}
|
}
|
||||||
|
|
||||||
class ActivityTableViewCell: UITableViewCell {
|
class ActivityTableViewCell: UITableViewCell {
|
||||||
private lazy var activityIndicator = UIActivityIndicatorView(style: .gray)
|
private lazy var activityIndicator = UIActivityIndicatorView(style: .medium)
|
||||||
}
|
}
|
||||||
|
|
||||||
extension ActivityTableViewCell {
|
extension ActivityTableViewCell {
|
||||||
|
|
|
@ -404,8 +404,7 @@ class ServiceViewController: UIViewController, StrongTableHost {
|
||||||
}
|
}
|
||||||
|
|
||||||
if #available(iOS 13, *) {
|
if #available(iOS 13, *) {
|
||||||
let auth = CLLocationManager.authorizationStatus()
|
switch locationManager.authorizationStatus {
|
||||||
switch auth {
|
|
||||||
case .authorizedAlways, .authorizedWhenInUse:
|
case .authorizedAlways, .authorizedWhenInUse:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
|
@ -744,7 +744,7 @@
|
||||||
isa = PBXProject;
|
isa = PBXProject;
|
||||||
attributes = {
|
attributes = {
|
||||||
LastSwiftUpdateCheck = 1010;
|
LastSwiftUpdateCheck = 1010;
|
||||||
LastUpgradeCheck = 1150;
|
LastUpgradeCheck = 1220;
|
||||||
ORGANIZATIONNAME = "Davide De Rosa";
|
ORGANIZATIONNAME = "Davide De Rosa";
|
||||||
TargetAttributes = {
|
TargetAttributes = {
|
||||||
0E31529A223F9EF400F61841 = {
|
0E31529A223F9EF400F61841 = {
|
||||||
|
@ -1255,7 +1255,6 @@
|
||||||
baseConfigurationReference = 0E23B4A12298559800304C30 /* Config.xcconfig */;
|
baseConfigurationReference = 0E23B4A12298559800304C30 /* Config.xcconfig */;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
|
||||||
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
||||||
CLANG_ANALYZER_NONNULL = YES;
|
CLANG_ANALYZER_NONNULL = YES;
|
||||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
||||||
|
@ -1279,6 +1278,7 @@
|
||||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||||
|
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||||
|
@ -1319,7 +1319,6 @@
|
||||||
baseConfigurationReference = 0E23B4A12298559800304C30 /* Config.xcconfig */;
|
baseConfigurationReference = 0E23B4A12298559800304C30 /* Config.xcconfig */;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
|
||||||
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
||||||
CLANG_ANALYZER_NONNULL = YES;
|
CLANG_ANALYZER_NONNULL = YES;
|
||||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
||||||
|
@ -1343,6 +1342,7 @@
|
||||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||||
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
||||||
|
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Scheme
|
<Scheme
|
||||||
LastUpgradeVersion = "1150"
|
LastUpgradeVersion = "1220"
|
||||||
version = "1.3">
|
version = "1.3">
|
||||||
<BuildAction
|
<BuildAction
|
||||||
parallelizeBuildables = "YES"
|
parallelizeBuildables = "YES"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Scheme
|
<Scheme
|
||||||
LastUpgradeVersion = "1150"
|
LastUpgradeVersion = "1220"
|
||||||
version = "1.3">
|
version = "1.3">
|
||||||
<BuildAction
|
<BuildAction
|
||||||
parallelizeBuildables = "YES"
|
parallelizeBuildables = "YES"
|
||||||
|
|
Loading…
Reference in New Issue