diff options
author | Ilya Grechuhin <i.grechuhin@gmail.com> | 2016-12-15 16:19:01 +0300 |
---|---|---|
committer | Ilya Grechuhin <i.grechuhin@gmail.com> | 2016-12-15 18:08:43 +0300 |
commit | 3b7a716dc7cfa82b2419b677554f01c796ca99de (patch) | |
tree | 31af23375524c465bb74bbc6f576b63ba72e1889 /iphone | |
parent | 98123085dc3677f1d036acf2df0b105ca12751c2 (diff) |
[swift] [ios] Migrated Settings cells to Swift.
Diffstat (limited to 'iphone')
20 files changed, 442 insertions, 589 deletions
diff --git a/iphone/Maps/Maps.xcodeproj/project.pbxproj b/iphone/Maps/Maps.xcodeproj/project.pbxproj index 1e8b6908fe..afa1139e4a 100644 --- a/iphone/Maps/Maps.xcodeproj/project.pbxproj +++ b/iphone/Maps/Maps.xcodeproj/project.pbxproj @@ -129,18 +129,12 @@ 34479C7D1C60C6130065D261 /* MWMFrameworkListener.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34479C781C60C6130065D261 /* MWMFrameworkListener.mm */; }; 344D77B41D1BD7C800DBED70 /* MWMLocationManager.mm in Sources */ = {isa = PBXBuildFile; fileRef = 344D77B31D1BD7C800DBED70 /* MWMLocationManager.mm */; }; 344D77B51D1BD7C800DBED70 /* MWMLocationManager.mm in Sources */ = {isa = PBXBuildFile; fileRef = 344D77B31D1BD7C800DBED70 /* MWMLocationManager.mm */; }; - 345050021E0287C400A8DC59 /* LinkCell.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34504FFD1E0287C400A8DC59 /* LinkCell.mm */; }; - 345050031E0287C400A8DC59 /* LinkCell.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34504FFD1E0287C400A8DC59 /* LinkCell.mm */; }; - 345050041E0287C400A8DC59 /* LinkCell.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34504FFD1E0287C400A8DC59 /* LinkCell.mm */; }; - 345050051E0287C400A8DC59 /* SelectableCell.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34504FFF1E0287C400A8DC59 /* SelectableCell.mm */; }; - 345050061E0287C400A8DC59 /* SelectableCell.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34504FFF1E0287C400A8DC59 /* SelectableCell.mm */; }; - 345050071E0287C400A8DC59 /* SelectableCell.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34504FFF1E0287C400A8DC59 /* SelectableCell.mm */; }; - 345050081E0287C400A8DC59 /* SwitchCell.mm in Sources */ = {isa = PBXBuildFile; fileRef = 345050011E0287C400A8DC59 /* SwitchCell.mm */; }; - 345050091E0287C400A8DC59 /* SwitchCell.mm in Sources */ = {isa = PBXBuildFile; fileRef = 345050011E0287C400A8DC59 /* SwitchCell.mm */; }; - 3450500A1E0287C400A8DC59 /* SwitchCell.mm in Sources */ = {isa = PBXBuildFile; fileRef = 345050011E0287C400A8DC59 /* SwitchCell.mm */; }; 345050121E02887000A8DC59 /* MWMSettingsViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 345050111E02887000A8DC59 /* MWMSettingsViewController.mm */; }; 345050131E02887000A8DC59 /* MWMSettingsViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 345050111E02887000A8DC59 /* MWMSettingsViewController.mm */; }; 345050141E02887000A8DC59 /* MWMSettingsViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 345050111E02887000A8DC59 /* MWMSettingsViewController.mm */; }; + 345050231E028CB500A8DC59 /* SettingsTableViewLinkCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 345050221E028CB400A8DC59 /* SettingsTableViewLinkCell.swift */; }; + 345050241E028CB500A8DC59 /* SettingsTableViewLinkCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 345050221E028CB400A8DC59 /* SettingsTableViewLinkCell.swift */; }; + 345050251E028CB500A8DC59 /* SettingsTableViewLinkCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 345050221E028CB400A8DC59 /* SettingsTableViewLinkCell.swift */; }; 3454E05F1DF00DAE00F40F46 /* banners.txt in Resources */ = {isa = PBXBuildFile; fileRef = 3454E05E1DF00DAE00F40F46 /* banners.txt */; }; 3454E0601DF00DC000F40F46 /* banners.txt in Resources */ = {isa = PBXBuildFile; fileRef = 3454E05E1DF00DAE00F40F46 /* banners.txt */; }; 3454E0611DF00DC100F40F46 /* banners.txt in Resources */ = {isa = PBXBuildFile; fileRef = 3454E05E1DF00DAE00F40F46 /* banners.txt */; }; @@ -433,6 +427,12 @@ 34FED54D1D1D45B900183B1B /* MWMLocationPredictor.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34FED54C1D1D45B900183B1B /* MWMLocationPredictor.mm */; }; 34FED5501D21121000183B1B /* CLLocation+Mercator.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34FED54F1D21121000183B1B /* CLLocation+Mercator.mm */; }; 34FED5511D21121000183B1B /* CLLocation+Mercator.mm in Sources */ = {isa = PBXBuildFile; fileRef = 34FED54F1D21121000183B1B /* CLLocation+Mercator.mm */; }; + 34FFADC81E02991A0061AC4D /* SettingsTableViewSelectableCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34FFADC71E02991A0061AC4D /* SettingsTableViewSelectableCell.swift */; }; + 34FFADC91E02991A0061AC4D /* SettingsTableViewSelectableCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34FFADC71E02991A0061AC4D /* SettingsTableViewSelectableCell.swift */; }; + 34FFADCA1E02991A0061AC4D /* SettingsTableViewSelectableCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34FFADC71E02991A0061AC4D /* SettingsTableViewSelectableCell.swift */; }; + 34FFADCC1E029C550061AC4D /* SettingsTableViewSwitchCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34FFADCB1E029C550061AC4D /* SettingsTableViewSwitchCell.swift */; }; + 34FFADCD1E029C550061AC4D /* SettingsTableViewSwitchCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34FFADCB1E029C550061AC4D /* SettingsTableViewSwitchCell.swift */; }; + 34FFADCE1E029C550061AC4D /* SettingsTableViewSwitchCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34FFADCB1E029C550061AC4D /* SettingsTableViewSwitchCell.swift */; }; 4519503A1B7A3E070085DA05 /* patterns.txt in Resources */ = {isa = PBXBuildFile; fileRef = 451950391B7A3E070085DA05 /* patterns.txt */; }; 452FCA3B1B6A3DF7007019AB /* colors.txt in Resources */ = {isa = PBXBuildFile; fileRef = 452FCA3A1B6A3DF7007019AB /* colors.txt */; }; 46F26C7310F61FD600ECCA39 /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 46F26C7210F61FD600ECCA39 /* OpenGLES.framework */; }; @@ -1550,14 +1550,10 @@ 344BDB021B9069810076DB31 /* MWMSearchTabbedViewProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MWMSearchTabbedViewProtocol.h; sourceTree = "<group>"; }; 344D77B21D1BD7C800DBED70 /* MWMLocationManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMLocationManager.h; sourceTree = "<group>"; }; 344D77B31D1BD7C800DBED70 /* MWMLocationManager.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMLocationManager.mm; sourceTree = "<group>"; }; - 34504FFC1E0287C400A8DC59 /* LinkCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LinkCell.h; sourceTree = "<group>"; }; - 34504FFD1E0287C400A8DC59 /* LinkCell.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = LinkCell.mm; sourceTree = "<group>"; }; - 34504FFE1E0287C400A8DC59 /* SelectableCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SelectableCell.h; sourceTree = "<group>"; }; - 34504FFF1E0287C400A8DC59 /* SelectableCell.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = SelectableCell.mm; sourceTree = "<group>"; }; - 345050001E0287C400A8DC59 /* SwitchCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SwitchCell.h; sourceTree = "<group>"; }; - 345050011E0287C400A8DC59 /* SwitchCell.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = SwitchCell.mm; sourceTree = "<group>"; }; 345050101E02887000A8DC59 /* MWMSettingsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMSettingsViewController.h; sourceTree = "<group>"; }; 345050111E02887000A8DC59 /* MWMSettingsViewController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMSettingsViewController.mm; sourceTree = "<group>"; }; + 345050211E028B8000A8DC59 /* Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Bridging-Header.h"; sourceTree = "<group>"; }; + 345050221E028CB400A8DC59 /* SettingsTableViewLinkCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SettingsTableViewLinkCell.swift; sourceTree = "<group>"; }; 3454E05E1DF00DAE00F40F46 /* banners.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = banners.txt; path = ../../data/banners.txt; sourceTree = "<group>"; }; 3456E0201DC0C4030055DF50 /* HockeySDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = HockeySDK.framework; path = Frameworks/HockeySDK.embeddedframework/HockeySDK.framework; sourceTree = "<group>"; }; 3456E0251DC0C4500055DF50 /* HockeySDKResources.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = HockeySDKResources.bundle; path = Frameworks/HockeySDK.embeddedframework/Resources/HockeySDKResources.bundle; sourceTree = "<group>"; }; @@ -1727,7 +1723,7 @@ 34ABA62E1C2D58F300FE1BEC /* MWMInputEmailValidator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMInputEmailValidator.h; sourceTree = "<group>"; }; 34ABA62F1C2D58F300FE1BEC /* MWMInputEmailValidator.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMInputEmailValidator.mm; sourceTree = "<group>"; }; 34B104201D6EE45700C8B577 /* MWMUnitsController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMUnitsController.h; sourceTree = "<group>"; }; - 34B104211D6EE45700C8B577 /* MWMUnitsController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMUnitsController.mm; sourceTree = "<group>"; }; + 34B104211D6EE45700C8B577 /* MWMUnitsController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = MWMUnitsController.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; 34B104241D6F040E00C8B577 /* MWMAboutController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMAboutController.h; sourceTree = "<group>"; }; 34B104251D6F040E00C8B577 /* MWMAboutController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMAboutController.mm; sourceTree = "<group>"; }; 34B646BB1CEB6FC000E0C7A5 /* MWMEditorAdditionalNameTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMEditorAdditionalNameTableViewCell.h; sourceTree = "<group>"; }; @@ -1852,6 +1848,8 @@ 34FED54E1D21121000183B1B /* CLLocation+Mercator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "CLLocation+Mercator.h"; sourceTree = "<group>"; }; 34FED54F1D21121000183B1B /* CLLocation+Mercator.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "CLLocation+Mercator.mm"; sourceTree = "<group>"; }; 34FED5521D2123CE00183B1B /* MWMLocationHelpers.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MWMLocationHelpers.h; sourceTree = "<group>"; }; + 34FFADC71E02991A0061AC4D /* SettingsTableViewSelectableCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SettingsTableViewSelectableCell.swift; sourceTree = "<group>"; }; + 34FFADCB1E029C550061AC4D /* SettingsTableViewSwitchCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SettingsTableViewSwitchCell.swift; sourceTree = "<group>"; }; 3D443C9C19E421EE0025C2FC /* sv */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/Localizable.strings; sourceTree = "<group>"; }; 3DDB4BC31DAB98F000F4D021 /* libpartners_api.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libpartners_api.a; path = "../../../omim-xcode-build/Debug-iphonesimulator/libpartners_api.a"; sourceTree = "<group>"; }; 451950391B7A3E070085DA05 /* patterns.txt */ = {isa = PBXFileReference; lastKnownFileType = text; name = patterns.txt; path = ../../data/patterns.txt; sourceTree = "<group>"; }; @@ -2073,7 +2071,7 @@ F65B31F41DD2106700105FDE /* MWMiPadPlacePageLayoutImpl.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMiPadPlacePageLayoutImpl.mm; sourceTree = "<group>"; }; F6671C6A1BA2EFD500548008 /* libFlurry_7.1.0.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libFlurry_7.1.0.a; path = Frameworks/libFlurry_7.1.0.a; sourceTree = "<group>"; }; F668F6541BCD4507002D6FFC /* MWMTTSSettingsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMTTSSettingsViewController.h; sourceTree = "<group>"; }; - F668F6551BCD4507002D6FFC /* MWMTTSSettingsViewController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMTTSSettingsViewController.mm; sourceTree = "<group>"; }; + F668F6551BCD4507002D6FFC /* MWMTTSSettingsViewController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = MWMTTSSettingsViewController.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; F67223751D74800600A3BDA2 /* MWMPlacePagePreviewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MWMPlacePagePreviewCell.xib; sourceTree = "<group>"; }; F67517A01D76FC46008FE34F /* MWMPlacePageLayout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMPlacePageLayout.h; sourceTree = "<group>"; }; F67517A11D76FC46008FE34F /* MWMPlacePageLayout.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMPlacePageLayout.mm; sourceTree = "<group>"; }; @@ -2102,7 +2100,7 @@ F6AD57B91C87039F00CED368 /* MWMEditorCategoryCell.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMEditorCategoryCell.mm; sourceTree = "<group>"; }; F6AD57BC1C870A3C00CED368 /* MWMEditorCategoryCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MWMEditorCategoryCell.xib; sourceTree = "<group>"; }; F6B2E61D1C3D5F31005562DF /* MWMNightModeController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMNightModeController.h; sourceTree = "<group>"; }; - F6B2E61E1C3D5F31005562DF /* MWMNightModeController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMNightModeController.mm; sourceTree = "<group>"; }; + F6B2E61E1C3D5F31005562DF /* MWMNightModeController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = MWMNightModeController.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; F6B870141DDCA03600BE8D94 /* MWMPlacePageEntity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMPlacePageEntity.h; sourceTree = "<group>"; }; F6B870151DDCA03600BE8D94 /* MWMPlacePageEntity.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMPlacePageEntity.mm; sourceTree = "<group>"; }; F6B8701A1DDCB2F400BE8D94 /* MWMPPPreviewBannerCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMPPPreviewBannerCell.h; sourceTree = "<group>"; }; @@ -2136,7 +2134,7 @@ F6BD33861B62412E00F2CE18 /* MWMNavigationDashboardEntity.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMNavigationDashboardEntity.mm; sourceTree = "<group>"; }; F6BED3761CE3726A008D31E7 /* MWMBookmarkTitleCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = MWMBookmarkTitleCell.xib; sourceTree = "<group>"; }; F6C641AE1C15BBE6008FCAF3 /* MWMRecentTrackSettingsController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMRecentTrackSettingsController.h; sourceTree = "<group>"; }; - F6C641AF1C15BBE6008FCAF3 /* MWMRecentTrackSettingsController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMRecentTrackSettingsController.mm; sourceTree = "<group>"; }; + F6C641AF1C15BBE6008FCAF3 /* MWMRecentTrackSettingsController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = MWMRecentTrackSettingsController.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; F6CB215B1AEE704D00FB8963 /* PlacePageInfoCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PlacePageInfoCell.xib; sourceTree = "<group>"; }; F6CB215E1AEE7A5B00FB8963 /* MWMPlacePageInfoCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMPlacePageInfoCell.h; sourceTree = "<group>"; }; F6CB215F1AEE7A5B00FB8963 /* MWMPlacePageInfoCell.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; lineEnding = 0; path = MWMPlacePageInfoCell.mm; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.objcpp; }; @@ -2472,11 +2470,11 @@ 29B97315FDCFA39411CA2CEA /* Other Sources */ = { isa = PBXGroup; children = ( - 28A0AB4B0D9B1048005BE974 /* Maps_Prefix.pch */, - 29B97316FDCFA39411CA2CEA /* main.mm */, - 34EC27091CB2A7120084FA36 /* fabric_logging.hpp */, 345050211E028B8000A8DC59 /* Bridging-Header.h */, 34EC27081CB2A7120084FA36 /* fabric_logging_ios.mm */, + 34EC27091CB2A7120084FA36 /* fabric_logging.hpp */, + 29B97316FDCFA39411CA2CEA /* main.mm */, + 28A0AB4B0D9B1048005BE974 /* Maps_Prefix.pch */, ); name = "Other Sources"; sourceTree = "<group>"; @@ -2735,12 +2733,9 @@ 34504FFB1E0287C400A8DC59 /* Cells */ = { isa = PBXGroup; children = ( - 34504FFC1E0287C400A8DC59 /* LinkCell.h */, - 34504FFD1E0287C400A8DC59 /* LinkCell.mm */, - 34504FFE1E0287C400A8DC59 /* SelectableCell.h */, - 34504FFF1E0287C400A8DC59 /* SelectableCell.mm */, - 345050001E0287C400A8DC59 /* SwitchCell.h */, - 345050011E0287C400A8DC59 /* SwitchCell.mm */, + 345050221E028CB400A8DC59 /* SettingsTableViewLinkCell.swift */, + 34FFADC71E02991A0061AC4D /* SettingsTableViewSelectableCell.swift */, + 34FFADCB1E029C550061AC4D /* SettingsTableViewSwitchCell.swift */, ); path = Cells; sourceTree = "<group>"; @@ -4789,7 +4784,7 @@ 349A13821DEC138C00C7DB60 /* MWMMobileInternetAlert.mm in Sources */, 347FD8851C60B2CE002FB65E /* MWMOpeningHoursTimeSelectorTableViewCell.mm in Sources */, 34EB84581C073DF70004689F /* MWMOpeningHoursEditorViewController.mm in Sources */, - 345050021E0287C400A8DC59 /* LinkCell.mm in Sources */, + 34FFADCC1E029C550061AC4D /* SettingsTableViewSwitchCell.swift in Sources */, F617B4E31D8FDDD5007A1A4E /* MWMBookmarkCell.mm in Sources */, 349A357A1B53D4C9009677EE /* MWMCircularProgress.mm in Sources */, 34B82ADA1B847FFC00180497 /* MWMSearchCell.mm in Sources */, @@ -4819,6 +4814,7 @@ F68FCB851DA7BBA6007CC7D7 /* MWMTaxiPreviewDataSource.mm in Sources */, 34257D151DC9FB0D00DC5BB9 /* MWMSearchFilterViewController.mm in Sources */, 34BC1E561C2ADBD3009BBF51 /* MWMOpeningHoursCommon.mm in Sources */, + 345050231E028CB500A8DC59 /* SettingsTableViewLinkCell.swift in Sources */, F653CE161C71F60200A453F1 /* MWMAddPlaceNavigationBar.mm in Sources */, A32B6D4D1A14980500E54A65 /* iosOGLContextFactory.mm in Sources */, 349C3AEC1D33A933002AC7A9 /* MWMNavigationInfoView.mm in Sources */, @@ -4886,7 +4882,6 @@ 348868EB1D8721650069BBA3 /* MWMSearchNoResults.mm in Sources */, 346B42AB1DD5E3D20094EBEE /* MWMLocationNotFoundAlert.mm in Sources */, 34BBB7231DD0853B0002E025 /* MWMSearchManager+Layout.mm in Sources */, - 345050051E0287C400A8DC59 /* SelectableCell.mm in Sources */, 341F99D91C6B1165001C67B8 /* MWMMapDownloaderPlaceTableViewCell.mm in Sources */, 34A759D01DC795140078C3AE /* MWMWhatsNewProfileBookingController.mm in Sources */, 345FD7E71CEC7D8400F58045 /* MWMEditorAdditionalNamesHeader.mm in Sources */, @@ -4914,9 +4909,9 @@ ED48BBBA17C2B1E2003E7E92 /* CircleView.mm in Sources */, 340E10631B949D1900D975D5 /* MWMSearchBookmarksManager.mm in Sources */, F68FCB8A1DA7BD20007CC7D7 /* MWMTaxiPreviewCell.mm in Sources */, - 345050081E0287C400A8DC59 /* SwitchCell.mm in Sources */, F6E9BF291CE364150050E534 /* MWMEditBookmarkController.mm in Sources */, F65B31F11DD20E9600105FDE /* MWMiPhonePlacePageLayoutImpl.mm in Sources */, + 34FFADC81E02991A0061AC4D /* SettingsTableViewSelectableCell.swift in Sources */, 34A759CA1DC795140078C3AE /* MWMWelcomeController.mm in Sources */, 34D15BA81BD8F93C00C8BCBE /* AddSetTableViewCell.mm in Sources */, F6A218491CA3F26800BE2CC6 /* MWMEditorViralActivityItem.mm in Sources */, @@ -5042,7 +5037,7 @@ 349A13831DEC138C00C7DB60 /* MWMMobileInternetAlert.mm in Sources */, 347FD8861C60B2CE002FB65E /* MWMOpeningHoursTimeSelectorTableViewCell.mm in Sources */, 6741A9EB1BF340DE002C974C /* ContextViews.mm in Sources */, - 345050031E0287C400A8DC59 /* LinkCell.mm in Sources */, + 34FFADCD1E029C550061AC4D /* SettingsTableViewSwitchCell.swift in Sources */, 6741A9EC1BF340DE002C974C /* MWMCircularProgress.mm in Sources */, 342CC5F21C2D7730005F3FE5 /* MWMAuthorizationLoginViewController.mm in Sources */, 6741A9EE1BF340DE002C974C /* MWMSearchCell.mm in Sources */, @@ -5072,6 +5067,7 @@ F6381BF61CD12045004CA943 /* LocaleTranslator.mm in Sources */, 34257D161DC9FB0D00DC5BB9 /* MWMSearchFilterViewController.mm in Sources */, F6D4A73B1CC1267E00BD4E5B /* MWMNoteCell.mm in Sources */, + 345050241E028CB500A8DC59 /* SettingsTableViewLinkCell.swift in Sources */, F68FCB861DA7BBA6007CC7D7 /* MWMTaxiPreviewDataSource.mm in Sources */, 347FD8681C60B2CE002FB65E /* MWMOpeningHoursAddClosedTableViewCell.mm in Sources */, 6741A9FF1BF340DE002C974C /* AddSetVC.mm in Sources */, @@ -5139,7 +5135,6 @@ 341F99D61C6B1165001C67B8 /* MWMMapDownloaderLargeCountryTableViewCell.mm in Sources */, 346B42AC1DD5E3D20094EBEE /* MWMLocationNotFoundAlert.mm in Sources */, 34BBB7241DD0853B0002E025 /* MWMSearchManager+Layout.mm in Sources */, - 345050061E0287C400A8DC59 /* SelectableCell.mm in Sources */, 348C26061D701B9F00813924 /* MWMHelpController.mm in Sources */, 348868EC1D8721650069BBA3 /* MWMSearchNoResults.mm in Sources */, 345FD7E81CEC7D8400F58045 /* MWMEditorAdditionalNamesHeader.mm in Sources */, @@ -5167,9 +5162,9 @@ 6741AA291BF340DE002C974C /* ColorPickerView.mm in Sources */, 6741AA2B1BF340DE002C974C /* CircleView.mm in Sources */, 56D545631C74A41900E3719C /* Framework.cpp in Sources */, - 345050091E0287C400A8DC59 /* SwitchCell.mm in Sources */, F68FCB8B1DA7BD20007CC7D7 /* MWMTaxiPreviewCell.mm in Sources */, F65B31F21DD20E9600105FDE /* MWMiPhonePlacePageLayoutImpl.mm in Sources */, + 34FFADC91E02991A0061AC4D /* SettingsTableViewSelectableCell.swift in Sources */, F6E9BF2A1CE364150050E534 /* MWMEditBookmarkController.mm in Sources */, 6741AA2C1BF340DE002C974C /* MWMSearchBookmarksManager.mm in Sources */, F6A2184A1CA3F26800BE2CC6 /* MWMEditorViralActivityItem.mm in Sources */, @@ -5238,6 +5233,7 @@ 849CF6B41DE842290024A8A5 /* MWMPlacePageActionBar.mm in Sources */, 849CF6B51DE842290024A8A5 /* MWMMigrationView.mm in Sources */, 849CF6B61DE842290024A8A5 /* MWMOpeningHoursDeleteScheduleTableViewCell.mm in Sources */, + 34FFADCA1E02991A0061AC4D /* SettingsTableViewSelectableCell.swift in Sources */, 849CF6B71DE842290024A8A5 /* MWMCuisineEditorViewController.mm in Sources */, 849CF6B81DE842290024A8A5 /* UIButton+Orientation.mm in Sources */, 849CF6B91DE842290024A8A5 /* MWMSearchCommonCell.mm in Sources */, @@ -5268,6 +5264,7 @@ 849CF6D41DE842290024A8A5 /* MWMRouterSavedState.mm in Sources */, 849CF6D51DE842290024A8A5 /* MWMTableViewController.mm in Sources */, 849CF6D61DE842290024A8A5 /* MWMTTSLanguageViewController.mm in Sources */, + 345050251E028CB500A8DC59 /* SettingsTableViewLinkCell.swift in Sources */, 849CF6D71DE842290024A8A5 /* UISwitch+RuntimeAttributes.m in Sources */, 849CF6D81DE842290024A8A5 /* MWMSegue.mm in Sources */, 849CF6D91DE842290024A8A5 /* Framework.cpp in Sources */, @@ -5277,7 +5274,6 @@ 849CF6DD1DE842290024A8A5 /* MWMWhatsNewNavigationController.mm in Sources */, 849CF6DE1DE842290024A8A5 /* MWMRoutePointLayout.mm in Sources */, 849CF6DF1DE842290024A8A5 /* MWMAuthorizationCommon.mm in Sources */, - 3450500A1E0287C400A8DC59 /* SwitchCell.mm in Sources */, 849CF6E01DE842290024A8A5 /* MWMSearchHistoryClearCell.mm in Sources */, 849CF6E11DE842290024A8A5 /* MWMDownloaderDialogHeader.mm in Sources */, 849CF6E21DE842290024A8A5 /* MWMSearchTableView.mm in Sources */, @@ -5300,6 +5296,7 @@ 849CF6F31DE842290024A8A5 /* MWMButton.mm in Sources */, 849CF6F51DE842290024A8A5 /* MWMPlacePageLayout.mm in Sources */, 849CF6F61DE842290024A8A5 /* MWMNavigationDashboardEntity.mm in Sources */, + 34FFADCE1E029C550061AC4D /* SettingsTableViewSwitchCell.swift in Sources */, 849CF6F71DE842290024A8A5 /* MWMPlacePageInfoCell.mm in Sources */, 849CF6F81DE842290024A8A5 /* MWMSearchHistoryManager.mm in Sources */, 849CF6F91DE842290024A8A5 /* CALayer+RuntimeAttributes.mm in Sources */, @@ -5359,7 +5356,6 @@ 849CF72E1DE842290024A8A5 /* MWMSearchHistoryMyPositionCell.mm in Sources */, 341966881E000CDD00F96327 /* MWMWhatsNewTrafficController.mm in Sources */, 849CF72F1DE842290024A8A5 /* MWMInputValidator.mm in Sources */, - 345050041E0287C400A8DC59 /* LinkCell.mm in Sources */, 849CF7301DE842290024A8A5 /* MWMActionBarButton.mm in Sources */, 849CF7311DE842290024A8A5 /* MWMKeyboard.mm in Sources */, 849CF7331DE842290024A8A5 /* MWMInputValidatorFactory.mm in Sources */, @@ -5402,7 +5398,6 @@ 849CF7561DE842290024A8A5 /* MWMRoutingDisclaimerAlert.mm in Sources */, 849CF7571DE842290024A8A5 /* MWMMigrationViewController.mm in Sources */, 849CF7581DE842290024A8A5 /* MWMDownloadTransitMapAlert.mm in Sources */, - 345050071E0287C400A8DC59 /* SelectableCell.mm in Sources */, 849CF7591DE842290024A8A5 /* MWMMapDownloaderDefaultDataSource.mm in Sources */, 849CF75B1DE842290024A8A5 /* MWMSearchBookmarksCell.mm in Sources */, 849CF75C1DE842290024A8A5 /* MWMNavigationView.mm in Sources */, diff --git a/iphone/Maps/Settings.storyboard b/iphone/Maps/Settings.storyboard index 674d23df9a..ddf5124ab1 100644 --- a/iphone/Maps/Settings.storyboard +++ b/iphone/Maps/Settings.storyboard @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11542" systemVersion="16B2555" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES"> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="16C67" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES"> <device id="retina4_7" orientation="portrait"> <adaptation id="fullscreen"/> </device> <dependencies> <deployment identifier="iOS"/> - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11524"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/> <capability name="Constraints to layout margins" minToolsVersion="6.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> </dependencies> @@ -21,11 +21,11 @@ <sections> <tableViewSection id="eZf-AO-B39"> <cells> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="LinkCell" id="yh8-cr-14c" customClass="LinkCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewLinkCell" id="yh8-cr-14c" customClass="SettingsTableViewLinkCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="35" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="yh8-cr-14c" id="MYm-HI-oOR"> - <rect key="frame" x="0.0" y="0.0" width="342" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="342" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Профиль" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8jb-wX-P4h"> @@ -33,21 +33,12 @@ <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="profile"/> - </userDefinedRuntimeAttributes> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="300" verticalHuggingPriority="251" horizontalCompressionResistancePriority="700" text="igortomko" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gix-nv-IcA"> <rect key="frame" x="264" y="12" width="78" height="20"/> <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackSecondaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - </userDefinedRuntimeAttributes> </label> </subviews> <constraints> @@ -60,19 +51,16 @@ <constraint firstAttribute="bottom" secondItem="8jb-wX-P4h" secondAttribute="bottom" constant="12" id="ox3-NV-T2v"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="infoLabel" destination="gix-nv-IcA" id="euY-EZ-gJc"/> - <outlet property="titleLabel" destination="8jb-wX-P4h" id="swZ-rt-c36"/> + <outlet property="info" destination="gix-nv-IcA" id="euY-EZ-gJc"/> + <outlet property="title" destination="8jb-wX-P4h" id="swZ-rt-c36"/> </connections> </tableViewCell> </cells> </tableViewSection> <tableViewSection headerTitle="ОБЩИЕ НАСТРОЙКИ" footerTitle="Сбор статистики помогает нам совершенствовать приложение." id="Swo-3Q-lWx"> <cells> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="LinkCell" id="Igk-BI-aHN" customClass="LinkCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewLinkCell" id="Igk-BI-aHN" customClass="SettingsTableViewLinkCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="135" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Igk-BI-aHN" id="Qae-gb-v0B"> @@ -84,21 +72,12 @@ <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="measurement_units"/> - </userDefinedRuntimeAttributes> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="300" verticalHuggingPriority="251" horizontalCompressionResistancePriority="700" text="Километры " textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZzK-qL-wC4"> <rect key="frame" x="246" y="12" width="96" height="19"/> <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackSecondaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - </userDefinedRuntimeAttributes> </label> </subviews> <constraints> @@ -111,15 +90,12 @@ <constraint firstItem="RB1-Nr-K3T" firstAttribute="top" secondItem="Qae-gb-v0B" secondAttribute="top" constant="12" id="wFF-IM-coX"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="infoLabel" destination="ZzK-qL-wC4" id="rKh-6z-ePx"/> - <outlet property="titleLabel" destination="RB1-Nr-K3T" id="qLp-eT-hWj"/> + <outlet property="info" destination="ZzK-qL-wC4" id="rKh-6z-ePx"/> + <outlet property="title" destination="RB1-Nr-K3T" id="qLp-eT-hWj"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SwitchCell" id="LYi-oF-eGj" customClass="SwitchCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSwitchCell" id="LYi-oF-eGj" customClass="SettingsTableViewSwitchCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="179" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="LYi-oF-eGj" id="6SA-kx-JeG"> @@ -132,19 +108,11 @@ <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="pref_zoom_title"/> - </userDefinedRuntimeAttributes> </label> <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="taQ-3Z-nh3"> <rect key="frame" x="310" y="6" width="51" height="31"/> <inset key="insetFor6xAndEarlier" minX="3" minY="-2" maxX="-3" maxY="2"/> <color key="onTintColor" red="0.1176470588" green="0.58823529409999997" blue="0.94117647059999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="onTintColorName" value="linkBlue"/> - </userDefinedRuntimeAttributes> </switch> </subviews> <constraints> @@ -156,15 +124,12 @@ <constraint firstItem="OM9-RZ-sca" firstAttribute="leading" secondItem="6SA-kx-JeG" secondAttribute="leadingMargin" constant="8" id="zFD-3E-gZ3"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> <outlet property="switchButton" destination="taQ-3Z-nh3" id="5XW-3N-pah"/> - <outlet property="titleLabel" destination="OM9-RZ-sca" id="Zoz-kD-Jq9"/> + <outlet property="title" destination="OM9-RZ-sca" id="Zoz-kD-Jq9"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SwitchCell" id="0Lf-xU-P2U" customClass="SwitchCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSwitchCell" id="0Lf-xU-P2U" customClass="SettingsTableViewSwitchCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="223" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="0Lf-xU-P2U" id="3Q1-iE-5pP"> @@ -177,19 +142,11 @@ <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="pref_map_3d_buildings_title"/> - </userDefinedRuntimeAttributes> </label> <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="aMo-Df-9LS"> <rect key="frame" x="310" y="6" width="51" height="31"/> <inset key="insetFor6xAndEarlier" minX="3" minY="-2" maxX="-3" maxY="2"/> <color key="onTintColor" red="0.1176470588" green="0.58823529409999997" blue="0.94117647059999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="onTintColorName" value="linkBlue"/> - </userDefinedRuntimeAttributes> </switch> </subviews> <constraints> @@ -201,15 +158,12 @@ <constraint firstItem="aMo-Df-9LS" firstAttribute="centerY" secondItem="3Q1-iE-5pP" secondAttribute="centerY" id="yzl-H4-Wgy"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> <outlet property="switchButton" destination="aMo-Df-9LS" id="ArK-mj-6W2"/> - <outlet property="titleLabel" destination="tU0-tQ-usy" id="DLR-0f-D2j"/> + <outlet property="title" destination="tU0-tQ-usy" id="DLR-0f-D2j"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SwitchCell" id="eE4-OC-9uX" customClass="SwitchCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSwitchCell" id="eE4-OC-9uX" customClass="SettingsTableViewSwitchCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="267" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="eE4-OC-9uX" id="xJx-2K-AIP"> @@ -222,19 +176,11 @@ <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="autodownload"/> - </userDefinedRuntimeAttributes> </label> <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="f8R-Di-osU"> <rect key="frame" x="310" y="6" width="51" height="31"/> <inset key="insetFor6xAndEarlier" minX="3" minY="-2" maxX="-3" maxY="2"/> <color key="onTintColor" red="0.1176470588" green="0.58823529409999997" blue="0.94117647059999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="onTintColorName" value="linkBlue"/> - </userDefinedRuntimeAttributes> </switch> </subviews> <constraints> @@ -246,15 +192,12 @@ <constraint firstItem="f8R-Di-osU" firstAttribute="centerY" secondItem="xJx-2K-AIP" secondAttribute="centerY" id="nux-0a-Yed"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> <outlet property="switchButton" destination="f8R-Di-osU" id="Ulm-3T-fZ2"/> - <outlet property="titleLabel" destination="6ZU-5V-v0J" id="o2Z-fX-Ivz"/> + <outlet property="title" destination="6ZU-5V-v0J" id="o2Z-fX-Ivz"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="LinkCell" id="6NC-QX-WiF" customClass="LinkCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewLinkCell" id="6NC-QX-WiF" customClass="SettingsTableViewLinkCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="311" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="6NC-QX-WiF" id="gGY-3t-Lik"> @@ -266,21 +209,12 @@ <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="mobile_data"/> - </userDefinedRuntimeAttributes> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="300" verticalHuggingPriority="251" horizontalCompressionResistancePriority="700" text="Никогда" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="d32-tz-eSW"> <rect key="frame" x="275" y="12" width="67" height="19"/> <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackSecondaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - </userDefinedRuntimeAttributes> </label> </subviews> <constraints> @@ -293,15 +227,12 @@ <constraint firstItem="wjW-GA-wVI" firstAttribute="leading" secondItem="gGY-3t-Lik" secondAttribute="leading" constant="16" id="f8g-ep-puI"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="infoLabel" destination="d32-tz-eSW" id="LJ4-Lc-Sd7"/> - <outlet property="titleLabel" destination="wjW-GA-wVI" id="9DP-zL-FLr"/> + <outlet property="info" destination="d32-tz-eSW" id="LJ4-Lc-Sd7"/> + <outlet property="title" destination="wjW-GA-wVI" id="9DP-zL-FLr"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="LinkCell" id="VyW-Wh-2QX" customClass="LinkCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewLinkCell" id="VyW-Wh-2QX" customClass="SettingsTableViewLinkCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="355" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="VyW-Wh-2QX" id="ihq-PO-ic8"> @@ -313,21 +244,12 @@ <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="pref_track_record_title"/> - </userDefinedRuntimeAttributes> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="300" verticalHuggingPriority="251" horizontalCompressionResistancePriority="700" text="12 часов " textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="E18-yq-nve"> <rect key="frame" x="269" y="12" width="73" height="19"/> <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackSecondaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - </userDefinedRuntimeAttributes> </label> </subviews> <constraints> @@ -340,15 +262,12 @@ <constraint firstAttribute="trailing" secondItem="E18-yq-nve" secondAttribute="trailing" id="zZk-q5-KZ1"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="infoLabel" destination="E18-yq-nve" id="0h2-2n-46q"/> - <outlet property="titleLabel" destination="3ew-eh-kVT" id="69S-4H-yeg"/> + <outlet property="info" destination="E18-yq-nve" id="0h2-2n-46q"/> + <outlet property="title" destination="3ew-eh-kVT" id="69S-4H-yeg"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SwitchCell" id="P5e-67-f4k" customClass="SwitchCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSwitchCell" id="P5e-67-f4k" customClass="SettingsTableViewSwitchCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="399" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="P5e-67-f4k" id="RlB-hW-A2l"> @@ -361,19 +280,11 @@ <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="pref_calibration_title"/> - </userDefinedRuntimeAttributes> </label> <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="hRC-jd-ViV"> <rect key="frame" x="310" y="6" width="51" height="31"/> <inset key="insetFor6xAndEarlier" minX="3" minY="-2" maxX="-3" maxY="2"/> <color key="onTintColor" red="0.1176470588" green="0.58823529409999997" blue="0.94117647059999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="onTintColorName" value="linkBlue"/> - </userDefinedRuntimeAttributes> </switch> </subviews> <constraints> @@ -385,15 +296,12 @@ <constraint firstAttribute="bottomMargin" secondItem="Xqo-QZ-3fd" secondAttribute="bottom" constant="3.5" id="exZ-ZW-bNy"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> <outlet property="switchButton" destination="hRC-jd-ViV" id="sx8-t9-edf"/> - <outlet property="titleLabel" destination="Xqo-QZ-3fd" id="W1h-0a-CQ2"/> + <outlet property="title" destination="Xqo-QZ-3fd" id="W1h-0a-CQ2"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SwitchCell" id="F1Y-qu-HAo" customClass="SwitchCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSwitchCell" id="F1Y-qu-HAo" customClass="SettingsTableViewSwitchCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="443" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="F1Y-qu-HAo" id="59j-Py-CGY"> @@ -406,19 +314,11 @@ <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="showcase_settings_title"/> - </userDefinedRuntimeAttributes> </label> <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="fDF-O1-urS"> <rect key="frame" x="310" y="6" width="51" height="31"/> <inset key="insetFor6xAndEarlier" minX="3" minY="-2" maxX="-3" maxY="2"/> <color key="onTintColor" red="0.1176470588" green="0.58823529409999997" blue="0.94117647059999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="onTintColorName" value="linkBlue"/> - </userDefinedRuntimeAttributes> </switch> </subviews> <constraints> @@ -430,15 +330,12 @@ <constraint firstItem="fDF-O1-urS" firstAttribute="centerY" secondItem="59j-Py-CGY" secondAttribute="centerY" id="zFW-en-N73"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> <outlet property="switchButton" destination="fDF-O1-urS" id="u77-6w-0Fv"/> - <outlet property="titleLabel" destination="g5e-wH-Cqs" id="p9Q-lw-L34"/> + <outlet property="title" destination="g5e-wH-Cqs" id="p9Q-lw-L34"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SwitchCell" id="NOt-bc-7ls" customClass="SwitchCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSwitchCell" id="NOt-bc-7ls" customClass="SettingsTableViewSwitchCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="487" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="NOt-bc-7ls" id="xdj-y5-zpk"> @@ -451,19 +348,11 @@ <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="allow_statistics"/> - </userDefinedRuntimeAttributes> </label> <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Y8g-7o-Lbp"> <rect key="frame" x="310" y="6" width="51" height="31"/> <inset key="insetFor6xAndEarlier" minX="3" minY="-2" maxX="-3" maxY="2"/> <color key="onTintColor" red="0.1176470588" green="0.58823529409999997" blue="0.94117647059999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="onTintColorName" value="linkBlue"/> - </userDefinedRuntimeAttributes> </switch> </subviews> <constraints> @@ -475,20 +364,17 @@ <constraint firstAttribute="bottomMargin" secondItem="K9e-I1-pZu" secondAttribute="bottom" constant="3.5" id="zwv-h0-yDO"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> <outlet property="switchButton" destination="Y8g-7o-Lbp" id="lHw-br-NTe"/> - <outlet property="titleLabel" destination="K9e-I1-pZu" id="76h-uJ-wp0"/> + <outlet property="title" destination="K9e-I1-pZu" id="76h-uJ-wp0"/> </connections> </tableViewCell> </cells> </tableViewSection> <tableViewSection headerTitle="НАВИГАЦИЯ" id="E4E-hs-9xW"> <cells> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="LinkCell" id="QNt-XC-xma" customClass="LinkCell"> - <rect key="frame" x="0.0" y="616" width="375" height="44"/> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewLinkCell" id="QNt-XC-xma" customClass="SettingsTableViewLinkCell" customModule="cmMAPS_ME" customModuleProvider="target"> + <rect key="frame" x="0.0" y="615" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="QNt-XC-xma" id="fBV-aJ-Mo8"> <rect key="frame" x="0.0" y="0.0" width="342" height="43"/> @@ -499,21 +385,12 @@ <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="pref_map_style_title"/> - </userDefinedRuntimeAttributes> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="300" verticalHuggingPriority="251" horizontalCompressionResistancePriority="700" text="Автоматически" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g5c-Yk-svX"> <rect key="frame" x="218" y="12" width="124" height="19"/> <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackSecondaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - </userDefinedRuntimeAttributes> </label> </subviews> <constraints> @@ -526,16 +403,13 @@ <constraint firstAttribute="bottom" secondItem="g5c-Yk-svX" secondAttribute="bottom" constant="12" id="o3r-EN-Yys"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="infoLabel" destination="g5c-Yk-svX" id="mDn-DI-WVe"/> - <outlet property="titleLabel" destination="q7P-cj-3tZ" id="3sG-Xy-G0r"/> + <outlet property="info" destination="g5c-Yk-svX" id="mDn-DI-WVe"/> + <outlet property="title" destination="q7P-cj-3tZ" id="3sG-Xy-G0r"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SwitchCell" id="X5R-fv-yd7" customClass="SwitchCell"> - <rect key="frame" x="0.0" y="660" width="375" height="44"/> + <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSwitchCell" id="X5R-fv-yd7" customClass="SettingsTableViewSwitchCell" customModule="cmMAPS_ME" customModuleProvider="target"> + <rect key="frame" x="0.0" y="659" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="X5R-fv-yd7" id="s7y-Nu-Y01"> <rect key="frame" x="0.0" y="0.0" width="375" height="43"/> @@ -547,19 +421,11 @@ <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="pref_map_3d_title"/> - </userDefinedRuntimeAttributes> </label> <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="m0S-BP-FrU"> <rect key="frame" x="310" y="6" width="51" height="31"/> <inset key="insetFor6xAndEarlier" minX="3" minY="-2" maxX="-3" maxY="2"/> <color key="onTintColor" red="0.1176470588" green="0.58823529409999997" blue="0.94117647059999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="onTintColorName" value="linkBlue"/> - </userDefinedRuntimeAttributes> </switch> </subviews> <constraints> @@ -571,16 +437,13 @@ <constraint firstAttribute="bottomMargin" secondItem="tmn-CU-6EB" secondAttribute="bottom" constant="3.5" id="rka-6b-tiF"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> <outlet property="switchButton" destination="m0S-BP-FrU" id="XHn-HC-wmQ"/> - <outlet property="titleLabel" destination="tmn-CU-6EB" id="OMB-Ug-n6a"/> + <outlet property="title" destination="tmn-CU-6EB" id="OMB-Ug-n6a"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SwitchCell" id="veW-Fm-2Hl" customClass="SwitchCell"> - <rect key="frame" x="0.0" y="704" width="375" height="44"/> + <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSwitchCell" id="veW-Fm-2Hl" customClass="SettingsTableViewSwitchCell" customModule="cmMAPS_ME" customModuleProvider="target"> + <rect key="frame" x="0.0" y="703" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="veW-Fm-2Hl" id="AP7-jd-F4b"> <rect key="frame" x="0.0" y="0.0" width="375" height="43"/> @@ -592,19 +455,11 @@ <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="pref_map_auto_zoom"/> - </userDefinedRuntimeAttributes> </label> <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ipg-f4-K5Q"> <rect key="frame" x="310" y="6" width="51" height="31"/> <inset key="insetFor6xAndEarlier" minX="3" minY="-2" maxX="-3" maxY="2"/> <color key="onTintColor" red="0.1176470588" green="0.58823529409999997" blue="0.94117647059999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="onTintColorName" value="linkBlue"/> - </userDefinedRuntimeAttributes> </switch> </subviews> <constraints> @@ -616,16 +471,13 @@ <constraint firstItem="ipg-f4-K5Q" firstAttribute="leading" secondItem="qL3-bA-5tn" secondAttribute="trailing" constant="8" id="shR-d1-nGm"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> <outlet property="switchButton" destination="ipg-f4-K5Q" id="B3l-Gn-D3R"/> - <outlet property="titleLabel" destination="qL3-bA-5tn" id="erU-oe-Lg5"/> + <outlet property="title" destination="qL3-bA-5tn" id="erU-oe-Lg5"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="LinkCell" id="nED-2n-gN6" customClass="LinkCell"> - <rect key="frame" x="0.0" y="748" width="375" height="44"/> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewLinkCell" id="nED-2n-gN6" customClass="SettingsTableViewLinkCell" customModule="cmMAPS_ME" customModuleProvider="target"> + <rect key="frame" x="0.0" y="747" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="nED-2n-gN6" id="2oQ-0g-poj"> <rect key="frame" x="0.0" y="0.0" width="342" height="43"/> @@ -636,21 +488,12 @@ <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="pref_tts_language_title"/> - </userDefinedRuntimeAttributes> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="300" verticalHuggingPriority="251" horizontalCompressionResistancePriority="700" text="Nederlands" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DQG-mX-mR7"> <rect key="frame" x="254" y="12" width="88" height="19"/> <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackSecondaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - </userDefinedRuntimeAttributes> </label> </subviews> <constraints> @@ -663,60 +506,59 @@ <constraint firstAttribute="bottom" secondItem="2v2-mU-aWi" secondAttribute="bottom" constant="12" id="yX7-xN-djG"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="infoLabel" destination="DQG-mX-mR7" id="f74-qg-BH5"/> - <outlet property="titleLabel" destination="2v2-mU-aWi" id="Zp1-zJ-xDM"/> + <outlet property="info" destination="DQG-mX-mR7" id="f74-qg-BH5"/> + <outlet property="title" destination="2v2-mU-aWi" id="Zp1-zJ-xDM"/> </connections> </tableViewCell> </cells> </tableViewSection> <tableViewSection headerTitle="ИНФОРМАЦИЯ" id="i4H-WV-BaS"> <cells> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="LinkCell" id="JTZ-K9-RVv" customClass="LinkCell"> - <rect key="frame" x="0.0" y="841" width="375" height="44"/> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewLinkCell" id="JTZ-K9-RVv" customClass="SettingsTableViewLinkCell" customModule="cmMAPS_ME" customModuleProvider="target"> + <rect key="frame" x="0.0" y="839" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="JTZ-K9-RVv" id="mHA-wn-hse"> <rect key="frame" x="0.0" y="0.0" width="342" height="43"/> <autoresizingMask key="autoresizingMask"/> <subviews> - <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Спавочный центр" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7ty-Jh-0Rp"> - <rect key="frame" x="16" y="12" width="310" height="19"/> + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Справочный центр" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7ty-Jh-0Rp"> + <rect key="frame" x="16" y="12" width="322" height="19"/> <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="help"/> - </userDefinedRuntimeAttributes> + </label> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="300" verticalHuggingPriority="251" horizontalCompressionResistancePriority="700" text="" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vlu-iM-vCC"> + <rect key="frame" x="342" y="12" width="0.0" height="19"/> + <fontDescription key="fontDescription" type="system" pointSize="17"/> + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="custom" customColorSpace="sRGB"/> + <nil key="highlightedColor"/> </label> </subviews> <constraints> + <constraint firstAttribute="bottom" secondItem="vlu-iM-vCC" secondAttribute="bottom" constant="12" id="9Ud-vK-qsL"/> <constraint firstItem="7ty-Jh-0Rp" firstAttribute="top" secondItem="mHA-wn-hse" secondAttribute="top" constant="12" id="AMe-NV-Ved"/> <constraint firstAttribute="bottom" secondItem="7ty-Jh-0Rp" secondAttribute="bottom" constant="12" id="J65-Bz-2GH"/> + <constraint firstAttribute="trailing" secondItem="vlu-iM-vCC" secondAttribute="trailing" id="S5J-OF-5pJ"/> <constraint firstItem="7ty-Jh-0Rp" firstAttribute="leading" secondItem="mHA-wn-hse" secondAttribute="leading" constant="16" id="XTm-r1-9pS"/> - <constraint firstAttribute="trailing" secondItem="7ty-Jh-0Rp" secondAttribute="trailing" constant="16" id="mPn-eQ-3sq"/> + <constraint firstItem="vlu-iM-vCC" firstAttribute="top" secondItem="mHA-wn-hse" secondAttribute="top" constant="12" id="boE-vl-fNZ"/> + <constraint firstItem="vlu-iM-vCC" firstAttribute="leading" secondItem="7ty-Jh-0Rp" secondAttribute="trailing" constant="4" id="dFN-xS-NgI"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="7ty-Jh-0Rp" id="5ls-qT-ZNd"/> + <outlet property="info" destination="vlu-iM-vCC" id="4OC-0x-RyY"/> + <outlet property="title" destination="7ty-Jh-0Rp" id="5ls-qT-ZNd"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="LinkCell" id="Kv3-pO-jV5" customClass="LinkCell"> - <rect key="frame" x="0.0" y="885" width="375" height="44"/> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewLinkCell" id="Kv3-pO-jV5" customClass="SettingsTableViewLinkCell" customModule="cmMAPS_ME" customModuleProvider="target"> + <rect key="frame" x="0.0" y="883" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Kv3-pO-jV5" id="8mJ-wm-9uJ"> <rect key="frame" x="0.0" y="0.0" width="342" height="43"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="О приложении" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cS1-Lw-pFx"> - <rect key="frame" x="16" y="12" width="310" height="19"/> + <rect key="frame" x="16" y="12" width="322" height="19"/> <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> @@ -726,19 +568,26 @@ <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="about_menu_title"/> </userDefinedRuntimeAttributes> </label> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="300" verticalHuggingPriority="251" horizontalCompressionResistancePriority="700" text="" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FxV-a4-ylD"> + <rect key="frame" x="342" y="12" width="0.0" height="19"/> + <fontDescription key="fontDescription" type="system" pointSize="17"/> + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="custom" customColorSpace="sRGB"/> + <nil key="highlightedColor"/> + </label> </subviews> <constraints> + <constraint firstAttribute="bottom" secondItem="FxV-a4-ylD" secondAttribute="bottom" constant="12" id="47K-7V-rBb"/> <constraint firstItem="cS1-Lw-pFx" firstAttribute="leading" secondItem="8mJ-wm-9uJ" secondAttribute="leading" constant="16" id="5Uc-bQ-8tB"/> <constraint firstItem="cS1-Lw-pFx" firstAttribute="top" secondItem="8mJ-wm-9uJ" secondAttribute="top" constant="12" id="Ahq-cJ-F3G"/> - <constraint firstAttribute="trailing" secondItem="cS1-Lw-pFx" secondAttribute="trailing" constant="16" id="LjD-d7-1Oz"/> + <constraint firstItem="FxV-a4-ylD" firstAttribute="top" secondItem="8mJ-wm-9uJ" secondAttribute="top" constant="12" id="C0n-Xf-cRI"/> + <constraint firstAttribute="trailing" secondItem="FxV-a4-ylD" secondAttribute="trailing" id="b4S-iB-ff5"/> + <constraint firstItem="FxV-a4-ylD" firstAttribute="leading" secondItem="cS1-Lw-pFx" secondAttribute="trailing" constant="4" id="gFM-hr-GJG"/> <constraint firstAttribute="bottom" secondItem="cS1-Lw-pFx" secondAttribute="bottom" constant="12" id="u83-F1-nPx"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="cS1-Lw-pFx" id="Ca5-KM-OSc"/> + <outlet property="info" destination="FxV-a4-ylD" id="gBN-aE-bD7"/> + <outlet property="title" destination="cS1-Lw-pFx" id="Ca5-KM-OSc"/> </connections> </tableViewCell> </cells> @@ -793,11 +642,11 @@ <sections> <tableViewSection id="XFW-hZ-fJo"> <cells> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="Hgm-jL-Gnn" customClass="SelectableCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSelectableCell" id="Hgm-jL-Gnn" customClass="SettingsTableViewSelectableCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="35" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Hgm-jL-Gnn" id="LeE-yP-Eoi"> - <rect key="frame" x="0.0" y="0.0" width="375" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Auto" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sHx-XL-o9h"> @@ -819,18 +668,15 @@ <constraint firstItem="sHx-XL-o9h" firstAttribute="top" secondItem="LeE-yP-Eoi" secondAttribute="topMargin" constant="3" id="yw2-AG-4Y6"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="sHx-XL-o9h" id="gfO-dz-iqf"/> + <outlet property="title" destination="sHx-XL-o9h" id="gfO-dz-iqf"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="WyO-qs-a7i" customClass="SelectableCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSelectableCell" id="WyO-qs-a7i" customClass="SettingsTableViewSelectableCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="79" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="WyO-qs-a7i" id="q2k-AU-VdG"> - <rect key="frame" x="0.0" y="0.0" width="375" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="On" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="um4-D2-sR5"> @@ -852,18 +698,15 @@ <constraint firstItem="um4-D2-sR5" firstAttribute="top" secondItem="q2k-AU-VdG" secondAttribute="topMargin" constant="3" id="zoa-XR-3HA"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="um4-D2-sR5" id="ysd-Sz-e53"/> + <outlet property="title" destination="um4-D2-sR5" id="ysd-Sz-e53"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="HHw-BT-UeJ" customClass="SelectableCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSelectableCell" id="HHw-BT-UeJ" customClass="SettingsTableViewSelectableCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="123" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="HHw-BT-UeJ" id="WD5-kW-BlC"> - <rect key="frame" x="0.0" y="0.0" width="375" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Off" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="abU-K0-dr3"> @@ -885,11 +728,8 @@ <constraint firstItem="abU-K0-dr3" firstAttribute="leading" secondItem="WD5-kW-BlC" secondAttribute="leadingMargin" constant="8" id="s24-rN-zC6"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="abU-K0-dr3" id="iv6-Rz-AdP"/> + <outlet property="title" destination="abU-K0-dr3" id="iv6-Rz-AdP"/> </connections> </tableViewCell> </cells> @@ -921,11 +761,11 @@ <sections> <tableViewSection id="0dw-og-Sit"> <cells> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="HL5-jQ-yNK" customClass="SelectableCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSelectableCell" id="HL5-jQ-yNK" customClass="SettingsTableViewSelectableCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="35" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="HL5-jQ-yNK" id="DYw-KH-oDU"> - <rect key="frame" x="0.0" y="0.0" width="375" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="None" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2i3-c9-tdU"> @@ -947,18 +787,15 @@ <constraint firstItem="2i3-c9-tdU" firstAttribute="top" secondItem="DYw-KH-oDU" secondAttribute="topMargin" constant="3" id="NN8-hB-oG8"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="2i3-c9-tdU" id="enq-hG-Uv3"/> + <outlet property="title" destination="2i3-c9-tdU" id="enq-hG-Uv3"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="8Cq-dm-roX" customClass="SelectableCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSelectableCell" id="8Cq-dm-roX" customClass="SettingsTableViewSelectableCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="79" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="8Cq-dm-roX" id="62b-vT-xng"> - <rect key="frame" x="0.0" y="0.0" width="375" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1 hour" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="J1O-iW-GF3"> @@ -980,18 +817,15 @@ <constraint firstItem="J1O-iW-GF3" firstAttribute="top" secondItem="62b-vT-xng" secondAttribute="topMargin" constant="3" id="l65-YD-2Ix"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="J1O-iW-GF3" id="aMM-LR-032"/> + <outlet property="title" destination="J1O-iW-GF3" id="aMM-LR-032"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="DIL-q2-mUp" customClass="SelectableCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSelectableCell" id="DIL-q2-mUp" customClass="SettingsTableViewSelectableCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="123" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="DIL-q2-mUp" id="IqW-Xu-xVP"> - <rect key="frame" x="0.0" y="0.0" width="375" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2 hours" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="55i-C3-b9S"> @@ -1013,18 +847,15 @@ <constraint firstAttribute="bottomMargin" secondItem="55i-C3-b9S" secondAttribute="bottom" constant="3.5" id="qwE-hz-7Kj"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="55i-C3-b9S" id="BqS-iD-fzu"/> + <outlet property="title" destination="55i-C3-b9S" id="BqS-iD-fzu"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="1Mm-WA-eyt" customClass="SelectableCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSelectableCell" id="1Mm-WA-eyt" customClass="SettingsTableViewSelectableCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="167" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="1Mm-WA-eyt" id="lNb-wL-PFo"> - <rect key="frame" x="0.0" y="0.0" width="375" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="6 hours" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QrP-xT-fcM"> @@ -1046,18 +877,15 @@ <constraint firstAttribute="bottomMargin" secondItem="QrP-xT-fcM" secondAttribute="bottom" constant="3.5" id="rFT-cJ-n4M"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="QrP-xT-fcM" id="UYW-6c-FWG"/> + <outlet property="title" destination="QrP-xT-fcM" id="UYW-6c-FWG"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="JLY-Qt-y88" customClass="SelectableCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSelectableCell" id="JLY-Qt-y88" customClass="SettingsTableViewSelectableCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="211" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="JLY-Qt-y88" id="jPr-Kt-mLi"> - <rect key="frame" x="0.0" y="0.0" width="375" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="12 hours" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HyC-if-zpD"> @@ -1079,18 +907,15 @@ <constraint firstAttribute="trailingMargin" secondItem="HyC-if-zpD" secondAttribute="trailing" constant="10" id="mah-ig-QAM"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="HyC-if-zpD" id="BMT-M4-hk7"/> + <outlet property="title" destination="HyC-if-zpD" id="BMT-M4-hk7"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="mbv-1J-wSI" customClass="SelectableCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSelectableCell" id="mbv-1J-wSI" customClass="SettingsTableViewSelectableCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="255" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="mbv-1J-wSI" id="oPS-HW-hfW"> - <rect key="frame" x="0.0" y="0.0" width="375" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1 day" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uhN-0k-BL7"> @@ -1112,11 +937,8 @@ <constraint firstAttribute="bottomMargin" secondItem="uhN-0k-BL7" secondAttribute="bottom" constant="3.5" id="nz1-ZZ-q4U"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="uhN-0k-BL7" id="9Mv-uo-A5S"/> + <outlet property="title" destination="uhN-0k-BL7" id="9Mv-uo-A5S"/> </connections> </tableViewCell> </cells> @@ -1149,7 +971,7 @@ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <color key="backgroundColor" red="0.96078431372549022" green="0.96078431372549022" blue="0.96078431372549022" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <prototypes> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="checkmark" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="79I-kz-hl4" customClass="SelectableCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="checkmark" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSelectableCell" id="79I-kz-hl4" customClass="SettingsTableViewSelectableCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="56" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="79I-kz-hl4" id="gBB-ji-big"> @@ -1174,14 +996,11 @@ <constraint firstItem="FSn-fP-n3e" firstAttribute="leading" secondItem="gBB-ji-big" secondAttribute="leadingMargin" constant="8" id="KXd-hd-5in"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="FSn-fP-n3e" id="CKZ-Gb-7Wa"/> + <outlet property="title" destination="FSn-fP-n3e" id="CKZ-Gb-7Wa"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="LinkCell" id="lO6-zb-qb8" customClass="LinkCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewLinkCell" id="lO6-zb-qb8" customClass="SettingsTableViewLinkCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="100" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="lO6-zb-qb8" id="35k-Nb-XSD"> @@ -1189,28 +1008,31 @@ <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Other" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="arm-Sx-diY"> - <rect key="frame" x="16" y="11" width="308" height="21"/> + <rect key="frame" x="16" y="12" width="322" height="19.5"/> <fontDescription key="fontDescription" type="system" pointSize="17"/> <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> - </userDefinedRuntimeAttributes> + </label> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="300" verticalHuggingPriority="251" horizontalCompressionResistancePriority="700" text="" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8HI-p3-Ef4"> + <rect key="frame" x="342" y="11.5" width="0.0" height="20"/> + <fontDescription key="fontDescription" type="system" pointSize="17"/> + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="custom" customColorSpace="sRGB"/> + <nil key="highlightedColor"/> </label> </subviews> <constraints> <constraint firstItem="arm-Sx-diY" firstAttribute="leading" secondItem="35k-Nb-XSD" secondAttribute="leadingMargin" constant="8" id="8xX-eo-OZI"/> - <constraint firstItem="arm-Sx-diY" firstAttribute="top" secondItem="35k-Nb-XSD" secondAttribute="topMargin" constant="3" id="9Jx-Qg-8qw"/> - <constraint firstAttribute="bottomMargin" secondItem="arm-Sx-diY" secondAttribute="bottom" constant="3.5" id="WH3-ny-wEN"/> - <constraint firstAttribute="trailingMargin" secondItem="arm-Sx-diY" secondAttribute="trailing" constant="10" id="xT2-p0-snO"/> + <constraint firstItem="arm-Sx-diY" firstAttribute="top" secondItem="35k-Nb-XSD" secondAttribute="top" constant="12" id="9Jx-Qg-8qw"/> + <constraint firstItem="8HI-p3-Ef4" firstAttribute="top" secondItem="35k-Nb-XSD" secondAttribute="top" constant="12" id="DZU-S7-U8b"/> + <constraint firstItem="8HI-p3-Ef4" firstAttribute="leading" secondItem="arm-Sx-diY" secondAttribute="trailing" constant="4" id="Mlw-aC-ISe"/> + <constraint firstAttribute="bottom" secondItem="arm-Sx-diY" secondAttribute="bottom" constant="12" id="WH3-ny-wEN"/> + <constraint firstAttribute="trailing" secondItem="8HI-p3-Ef4" secondAttribute="trailing" id="cUZ-jL-4ti"/> + <constraint firstAttribute="bottom" secondItem="8HI-p3-Ef4" secondAttribute="bottom" constant="12" id="euX-o5-N0M"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="arm-Sx-diY" id="yow-av-5HT"/> + <outlet property="info" destination="8HI-p3-Ef4" id="6Fv-BW-idT"/> + <outlet property="title" destination="arm-Sx-diY" id="yow-av-5HT"/> </connections> </tableViewCell> </prototypes> @@ -1238,7 +1060,7 @@ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.95686274510000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <prototypes> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="6Px-TO-sMc" customClass="SelectableCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSelectableCell" id="6Px-TO-sMc" customClass="SettingsTableViewSelectableCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="56" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="6Px-TO-sMc" id="aqp-aV-B3y"> @@ -1263,11 +1085,8 @@ <constraint firstAttribute="bottomMargin" secondItem="wBg-nH-SXL" secondAttribute="bottom" constant="3.5" id="yh9-ce-ftK"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="wBg-nH-SXL" id="MCZ-tX-MGv"/> + <outlet property="title" destination="wBg-nH-SXL" id="MCZ-tX-MGv"/> <segue destination="SWt-Am-yp4" kind="unwind" identifier="UnwindToTTSSettings" unwindAction="unwind:" id="bpg-7g-3lb"/> </connections> </tableViewCell> @@ -1295,11 +1114,11 @@ <sections> <tableViewSection id="YbY-TG-Fq9"> <cells> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="233-Ku-OFh" customClass="SelectableCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSelectableCell" id="233-Ku-OFh" customClass="SettingsTableViewSelectableCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="35" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="233-Ku-OFh" id="Tig-SC-0oN"> - <rect key="frame" x="0.0" y="0.0" width="375" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Километры" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="m0T-TK-aex"> @@ -1321,15 +1140,12 @@ <constraint firstItem="m0T-TK-aex" firstAttribute="top" secondItem="Tig-SC-0oN" secondAttribute="topMargin" constant="3" id="zvL-DV-q7h"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="XGu-p4-IVy" customClass="SelectableCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSelectableCell" id="XGu-p4-IVy" customClass="SettingsTableViewSelectableCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="79" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="XGu-p4-IVy" id="c5A-yh-Pec"> - <rect key="frame" x="0.0" y="0.0" width="375" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Мили" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xrt-1n-szu"> @@ -1351,9 +1167,6 @@ <constraint firstAttribute="bottomMargin" secondItem="xrt-1n-szu" secondAttribute="bottom" constant="3.5" id="raH-6r-jMt"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> </tableViewCell> </cells> </tableViewSection> @@ -1438,11 +1251,11 @@ <sections> <tableViewSection id="Fph-fY-iFA"> <cells> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="WfS-iR-EYh" customClass="LinkCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="WfS-iR-EYh" customClass="SettingsTableViewLinkCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="35" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="WfS-iR-EYh" id="pud-iP-cPv"> - <rect key="frame" x="0.0" y="0.0" width="342" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="342" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Веб-сайт" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dRQ-jj-BMn"> @@ -1464,15 +1277,12 @@ <constraint firstAttribute="trailingMargin" secondItem="dRQ-jj-BMn" secondAttribute="trailing" constant="10" id="g79-4i-uXm"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="orf-4x-6qF" customClass="LinkCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="orf-4x-6qF" customClass="SettingsTableViewLinkCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="79" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="orf-4x-6qF" id="HLu-xY-s47"> - <rect key="frame" x="0.0" y="0.0" width="342" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="342" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Блог" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Usf-eP-UhD"> @@ -1494,15 +1304,12 @@ <constraint firstItem="Usf-eP-UhD" firstAttribute="leading" secondItem="HLu-xY-s47" secondAttribute="leadingMargin" constant="8" id="xJj-hO-Kkq"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="AwY-rw-AMm" customClass="LinkCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="AwY-rw-AMm" customClass="SettingsTableViewLinkCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="123" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="AwY-rw-AMm" id="AUp-Ql-usV"> - <rect key="frame" x="0.0" y="0.0" width="342" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="342" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Facebook" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VRr-XH-vvX"> @@ -1524,15 +1331,12 @@ <constraint firstAttribute="bottomMargin" secondItem="VRr-XH-vvX" secondAttribute="bottom" constant="3.5" id="w53-vF-beO"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="PYl-5B-hBB" customClass="LinkCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="PYl-5B-hBB" customClass="SettingsTableViewLinkCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="167" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="PYl-5B-hBB" id="99g-g6-dgY"> - <rect key="frame" x="0.0" y="0.0" width="342" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="342" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Twitter" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="snB-CD-ffn"> @@ -1554,15 +1358,12 @@ <constraint firstAttribute="trailingMargin" secondItem="snB-CD-ffn" secondAttribute="trailing" constant="10" id="TRb-qk-L6W"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="q9S-xP-Mmy" customClass="LinkCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="q9S-xP-Mmy" customClass="SettingsTableViewLinkCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="211" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="q9S-xP-Mmy" id="itl-Sl-h7g"> - <rect key="frame" x="0.0" y="0.0" width="342" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="342" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Подписаться на новости" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1mC-fY-VIc"> @@ -1585,19 +1386,16 @@ </constraints> </tableViewCellContentView> <inset key="separatorInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> </tableViewCell> </cells> </tableViewSection> <tableViewSection id="wsr-ZV-X15"> <cells> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="jhU-Ha-kE2" customClass="LinkCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="jhU-Ha-kE2" customClass="SettingsTableViewLinkCell"> <rect key="frame" x="0.0" y="291" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="jhU-Ha-kE2" id="BJb-8F-OEp"> - <rect key="frame" x="0.0" y="0.0" width="342" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="342" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Оценить приложение" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Spi-mD-g8U"> @@ -1628,11 +1426,11 @@ </tableViewSection> <tableViewSection id="Vce-Ld-skc"> <cells> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="VXa-CM-OXP" customClass="LinkCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" id="VXa-CM-OXP" customClass="SettingsTableViewLinkCell"> <rect key="frame" x="0.0" y="371" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="VXa-CM-OXP" id="Vot-vJ-3MU"> - <rect key="frame" x="0.0" y="0.0" width="342" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="342" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Copyright" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uhV-at-6HM"> @@ -1703,11 +1501,11 @@ Приложение не использует мобильный интернет в роуминге.</string> <cells> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="gS7-2k-8yw" customClass="SelectableCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSelectableCell" id="gS7-2k-8yw" customClass="SettingsTableViewSelectableCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="35" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="gS7-2k-8yw" id="1pg-RV-MG8"> - <rect key="frame" x="0.0" y="0.0" width="375" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Использовать всегда" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vX5-wa-tBM"> @@ -1729,18 +1527,15 @@ <constraint firstAttribute="trailingMargin" secondItem="vX5-wa-tBM" secondAttribute="trailing" constant="10" id="zBx-Iu-XhP"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="vX5-wa-tBM" id="KIZ-8U-XsY"/> + <outlet property="title" destination="vX5-wa-tBM" id="KIZ-8U-XsY"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="lTE-DT-aCE" customClass="SelectableCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSelectableCell" id="lTE-DT-aCE" customClass="SettingsTableViewSelectableCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="79" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="lTE-DT-aCE" id="N6p-8U-90b"> - <rect key="frame" x="0.0" y="0.0" width="375" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Спрашивать" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cOW-yT-WYH"> @@ -1762,18 +1557,15 @@ <constraint firstAttribute="trailingMargin" secondItem="cOW-yT-WYH" secondAttribute="trailing" constant="10" id="syt-Dy-KI6"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="cOW-yT-WYH" id="3si-Gj-sn7"/> + <outlet property="title" destination="cOW-yT-WYH" id="3si-Gj-sn7"/> </connections> </tableViewCell> - <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SelectableCell" id="9uV-jg-h2A" customClass="SelectableCell"> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="SettingsTableViewSelectableCell" id="9uV-jg-h2A" customClass="SettingsTableViewSelectableCell" customModule="cmMAPS_ME" customModuleProvider="target"> <rect key="frame" x="0.0" y="123" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="9uV-jg-h2A" id="z0N-m2-ums"> - <rect key="frame" x="0.0" y="0.0" width="375" height="43"/> + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> <autoresizingMask key="autoresizingMask"/> <subviews> <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Никогда не использовать" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gum-Lg-Uby"> @@ -1795,11 +1587,8 @@ <constraint firstItem="gum-Lg-Uby" firstAttribute="leading" secondItem="z0N-m2-ums" secondAttribute="leadingMargin" constant="8" id="nYN-fb-U26"/> </constraints> </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> <connections> - <outlet property="titleLabel" destination="gum-Lg-Uby" id="Dxz-wY-hna"/> + <outlet property="title" destination="gum-Lg-Uby" id="Dxz-wY-hna"/> </connections> </tableViewCell> </cells> diff --git a/iphone/Maps/Settings/Cells/LinkCell.h b/iphone/Maps/Settings/Cells/LinkCell.h deleted file mode 100644 index abbfce412d..0000000000 --- a/iphone/Maps/Settings/Cells/LinkCell.h +++ /dev/null @@ -1,8 +0,0 @@ -#import "MWMTableViewCell.h" - -@interface LinkCell : MWMTableViewCell - -@property(nonatomic) IBOutlet UILabel * titleLabel; -@property(nonatomic) IBOutlet UILabel * infoLabel; - -@end diff --git a/iphone/Maps/Settings/Cells/LinkCell.mm b/iphone/Maps/Settings/Cells/LinkCell.mm deleted file mode 100644 index 1ca486d125..0000000000 --- a/iphone/Maps/Settings/Cells/LinkCell.mm +++ /dev/null @@ -1,12 +0,0 @@ -#import "LinkCell.h" -#import "UIColor+MapsMeColor.h" - -@implementation LinkCell - -- (void)awakeFromNib -{ - [super awakeFromNib]; - self.backgroundColor = [UIColor white]; -} - -@end diff --git a/iphone/Maps/Settings/Cells/SelectableCell.h b/iphone/Maps/Settings/Cells/SelectableCell.h deleted file mode 100644 index d86d8819d1..0000000000 --- a/iphone/Maps/Settings/Cells/SelectableCell.h +++ /dev/null @@ -1,7 +0,0 @@ -#import "MWMTableViewCell.h" - -@interface SelectableCell : MWMTableViewCell - -@property (weak, nonatomic) IBOutlet UILabel * titleLabel; - -@end diff --git a/iphone/Maps/Settings/Cells/SelectableCell.mm b/iphone/Maps/Settings/Cells/SelectableCell.mm deleted file mode 100644 index 289e5c7b23..0000000000 --- a/iphone/Maps/Settings/Cells/SelectableCell.mm +++ /dev/null @@ -1,12 +0,0 @@ -#import "SelectableCell.h" -#import "UIColor+MapsMeColor.h" - -@implementation SelectableCell - -- (void)awakeFromNib -{ - [super awakeFromNib]; - self.backgroundColor = [UIColor white]; -} - -@end diff --git a/iphone/Maps/Settings/Cells/SettingsTableViewLinkCell.swift b/iphone/Maps/Settings/Cells/SettingsTableViewLinkCell.swift new file mode 100644 index 0000000000..8c1135acb1 --- /dev/null +++ b/iphone/Maps/Settings/Cells/SettingsTableViewLinkCell.swift @@ -0,0 +1,29 @@ +@objc final class SettingsTableViewLinkCell: MWMTableViewCell { + + static let cellId = "SettingsTableViewLinkCell" + + @IBOutlet fileprivate weak var title: UILabel! + @IBOutlet fileprivate weak var info: UILabel! + + func config(title: String, info: String?) { + backgroundColor = UIColor.white() + + self.title.text = title + styleTitle() + + self.info.text = info + self.info.isHidden = info == nil + styleInfo() + } + + fileprivate func styleTitle() { + title.textColor = UIColor.blackPrimaryText() + title.font = UIFont.regular17() + } + + fileprivate func styleInfo() { + info.textColor = UIColor.blackSecondaryText() + info.font = UIFont.regular17() + } + +} diff --git a/iphone/Maps/Settings/Cells/SettingsTableViewSelectableCell.swift b/iphone/Maps/Settings/Cells/SettingsTableViewSelectableCell.swift new file mode 100644 index 0000000000..6b4dc8775e --- /dev/null +++ b/iphone/Maps/Settings/Cells/SettingsTableViewSelectableCell.swift @@ -0,0 +1,19 @@ +@objc final class SettingsTableViewSelectableCell: MWMTableViewCell { + + static let cellId = "SettingsTableViewSelectableCell" + + @IBOutlet fileprivate weak var title: UILabel! + + func config(title: String) { + backgroundColor = UIColor.white() + + self.title.text = title + styleTitle() + } + + fileprivate func styleTitle() { + title.textColor = UIColor.blackPrimaryText() + title.font = UIFont.regular17() + } + +} diff --git a/iphone/Maps/Settings/Cells/SettingsTableViewSwitchCell.swift b/iphone/Maps/Settings/Cells/SettingsTableViewSwitchCell.swift new file mode 100644 index 0000000000..deb83451b7 --- /dev/null +++ b/iphone/Maps/Settings/Cells/SettingsTableViewSwitchCell.swift @@ -0,0 +1,45 @@ +@objc protocol SettingsTableViewSwitchCellDelegate { + + func switchCell(_ cell: SettingsTableViewSwitchCell, didChangeValue value: Bool) + +} + +@objc final class SettingsTableViewSwitchCell: MWMTableViewCell { + + static let cellId = "SettingsTableViewSwitchCell" + + @IBOutlet fileprivate weak var title: UILabel! + @IBOutlet fileprivate weak var switchButton: UISwitch! { + didSet { + switchButton.addTarget(self, action: #selector(switchChanged), for: .valueChanged) + } + } + + weak var delegate: SettingsTableViewSwitchCellDelegate? + + func config(delegate: SettingsTableViewSwitchCellDelegate, title: String, isOn: Bool) { + backgroundColor = UIColor.white() + + self.delegate = delegate + + self.title.text = title + styleTitle() + + self.switchButton.isOn = isOn + styleSwitchButton() + } + + @IBAction fileprivate func switchChanged() { + delegate?.switchCell(self, didChangeValue: switchButton.isOn) + } + + fileprivate func styleTitle() { + title.textColor = UIColor.blackPrimaryText() + title.font = UIFont.regular17() + } + + fileprivate func styleSwitchButton() { + switchButton.onTintColor = UIColor.linkBlue() + } + +} diff --git a/iphone/Maps/Settings/Cells/SwitchCell.h b/iphone/Maps/Settings/Cells/SwitchCell.h deleted file mode 100644 index 8dfb1ad1c4..0000000000 --- a/iphone/Maps/Settings/Cells/SwitchCell.h +++ /dev/null @@ -1,17 +0,0 @@ -#import "MWMTableViewCell.h" - -@class SwitchCell; -@protocol SwitchCellDelegate <NSObject> - -- (void)switchCell:(SwitchCell *)cell didChangeValue:(BOOL)value; - -@end - -@interface SwitchCell : MWMTableViewCell - -@property(weak, nonatomic) IBOutlet UILabel * titleLabel; -@property(weak, nonatomic) IBOutlet UISwitch * switchButton; - -@property(weak, nonatomic) id<SwitchCellDelegate> delegate; - -@end diff --git a/iphone/Maps/Settings/Cells/SwitchCell.mm b/iphone/Maps/Settings/Cells/SwitchCell.mm deleted file mode 100644 index 292ec81b43..0000000000 --- a/iphone/Maps/Settings/Cells/SwitchCell.mm +++ /dev/null @@ -1,18 +0,0 @@ -#import "SwitchCell.h" -#import "UIColor+MapsMeColor.h" - -@implementation SwitchCell - -- (void)awakeFromNib -{ - [super awakeFromNib]; - [self.switchButton addTarget:self action:@selector(switchChanged:) forControlEvents:UIControlEventValueChanged]; - self.backgroundColor = [UIColor white]; -} - -- (void)switchChanged:(UISwitch *)sender -{ - [self.delegate switchCell:self didChangeValue:sender.on]; -} - -@end diff --git a/iphone/Maps/Settings/MWMAboutController.mm b/iphone/Maps/Settings/MWMAboutController.mm index 6df96a4dc4..ba58e96647 100644 --- a/iphone/Maps/Settings/MWMAboutController.mm +++ b/iphone/Maps/Settings/MWMAboutController.mm @@ -1,8 +1,8 @@ #import "MWMAboutController.h" #import "AppInfo.h" -#import "LinkCell.h" #import "MWMMailViewController.h" #import "Statistics.h" +#import "SwiftBridge.h" #import "WebViewController.h" #import "3party/Alohalytics/src/alohalytics_objc.h" @@ -18,13 +18,13 @@ extern NSString * const kAlohalyticsTapEventKey; @property(weak, nonatomic) IBOutlet UILabel * versionLabel; @property(weak, nonatomic) IBOutlet UILabel * dateLabel; -@property(weak, nonatomic) IBOutlet LinkCell * websiteCell; -@property(weak, nonatomic) IBOutlet LinkCell * blogCell; -@property(weak, nonatomic) IBOutlet LinkCell * facebookCell; -@property(weak, nonatomic) IBOutlet LinkCell * twitterCell; -@property(weak, nonatomic) IBOutlet LinkCell * subscribeCell; -@property(weak, nonatomic) IBOutlet LinkCell * rateCell; -@property(weak, nonatomic) IBOutlet LinkCell * copyrightCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * websiteCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * blogCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * facebookCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * twitterCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * subscribeCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * rateCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * copyrightCell; @property(nonatomic) IBOutlet UIView * headerView; @@ -56,7 +56,7 @@ extern NSString * const kAlohalyticsTapEventKey; - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { [tableView deselectRowAtIndexPath:indexPath animated:YES]; - LinkCell * cell = static_cast<LinkCell *>([tableView cellForRowAtIndexPath:indexPath]); + auto cell = static_cast<SettingsTableViewLinkCell *>([tableView cellForRowAtIndexPath:indexPath]); if (cell == self.websiteCell) { [Alohalytics logEvent:kAlohalyticsTapEventKey withValue:@"website"]; diff --git a/iphone/Maps/Settings/MWMMobileInternetViewController.mm b/iphone/Maps/Settings/MWMMobileInternetViewController.mm index 822e791003..a2bca313fd 100644 --- a/iphone/Maps/Settings/MWMMobileInternetViewController.mm +++ b/iphone/Maps/Settings/MWMMobileInternetViewController.mm @@ -1,17 +1,17 @@ #import "MWMMobileInternetViewController.h" #import "MWMNetworkPolicy.h" -#import "SelectableCell.h" #import "Statistics.h" +#import "SwiftBridge.h" using namespace network_policy; using np = platform::NetworkPolicy; @interface MWMMobileInternetViewController () -@property(weak, nonatomic) IBOutlet SelectableCell * always; -@property(weak, nonatomic) IBOutlet SelectableCell * ask; -@property(weak, nonatomic) IBOutlet SelectableCell * never; -@property(weak, nonatomic) SelectableCell * selected; +@property(weak, nonatomic) IBOutlet SettingsTableViewSelectableCell * always; +@property(weak, nonatomic) IBOutlet SettingsTableViewSelectableCell * ask; +@property(weak, nonatomic) IBOutlet SettingsTableViewSelectableCell * never; +@property(weak, nonatomic) SettingsTableViewSelectableCell * selected; @end @@ -22,7 +22,7 @@ using np = platform::NetworkPolicy; [super viewDidLoad]; self.title = L(@"mobile_data"); - SelectableCell * selected; + SettingsTableViewSelectableCell * selected; switch (GetStage()) { case np::Stage::Always: selected = self.always; break; @@ -33,7 +33,7 @@ using np = platform::NetworkPolicy; self.selected = selected; } -- (void)setSelected:(SelectableCell *)selected +- (void)setSelected:(SettingsTableViewSelectableCell *)selected { if ([_selected isEqual:selected]) return; @@ -61,7 +61,7 @@ using np = platform::NetworkPolicy; - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { - SelectableCell * selected = self.selected; + SettingsTableViewSelectableCell * selected = self.selected; selected.accessoryType = UITableViewCellAccessoryNone; selected = [tableView cellForRowAtIndexPath:indexPath]; selected.accessoryType = UITableViewCellAccessoryCheckmark; diff --git a/iphone/Maps/Settings/MWMNightModeController.mm b/iphone/Maps/Settings/MWMNightModeController.mm index 0ffb6f81db..96e209e88d 100644 --- a/iphone/Maps/Settings/MWMNightModeController.mm +++ b/iphone/Maps/Settings/MWMNightModeController.mm @@ -1,18 +1,18 @@ #import "MWMNightModeController.h" #import "MWMSettings.h" #import "MapsAppDelegate.h" -#import "SelectableCell.h" #import "Statistics.h" +#import "SwiftBridge.h" #import "UIColor+MapsMeColor.h" #include "Framework.h" @interface MWMNightModeController () -@property(weak, nonatomic) IBOutlet SelectableCell * autoSwitch; -@property(weak, nonatomic) IBOutlet SelectableCell * on; -@property(weak, nonatomic) IBOutlet SelectableCell * off; -@property(weak, nonatomic) SelectableCell * selectedCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewSelectableCell * autoSwitch; +@property(weak, nonatomic) IBOutlet SettingsTableViewSelectableCell * on; +@property(weak, nonatomic) IBOutlet SettingsTableViewSelectableCell * off; +@property(weak, nonatomic) SettingsTableViewSelectableCell * selectedCell; @end @@ -45,7 +45,7 @@ } } -- (void)setSelectedCell:(SelectableCell *)cell +- (void)setSelectedCell:(SettingsTableViewSelectableCell *)cell { if ([_selectedCell isEqual:cell]) return; @@ -91,7 +91,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { - SelectableCell * selectedCell = self.selectedCell; + SettingsTableViewSelectableCell * selectedCell = self.selectedCell; selectedCell.accessoryType = UITableViewCellAccessoryNone; selectedCell = [tableView cellForRowAtIndexPath:indexPath]; selectedCell.accessoryType = UITableViewCellAccessoryCheckmark; diff --git a/iphone/Maps/Settings/MWMRecentTrackSettingsController.mm b/iphone/Maps/Settings/MWMRecentTrackSettingsController.mm index 3b0ec4a2f8..5e3b726ec9 100644 --- a/iphone/Maps/Settings/MWMRecentTrackSettingsController.mm +++ b/iphone/Maps/Settings/MWMRecentTrackSettingsController.mm @@ -1,6 +1,6 @@ #import "MWMRecentTrackSettingsController.h" -#import "SelectableCell.h" #import "Statistics.h" +#import "SwiftBridge.h" #include "Framework.h" @@ -12,13 +12,13 @@ typedef NS_ENUM(NSUInteger, DurationInHours) { One = 1, Two = 2, Six = 6, Twelve @interface MWMRecentTrackSettingsController () -@property(weak, nonatomic) IBOutlet SelectableCell * none; -@property(weak, nonatomic) IBOutlet SelectableCell * oneHour; -@property(weak, nonatomic) IBOutlet SelectableCell * twoHours; -@property(weak, nonatomic) IBOutlet SelectableCell * sixHours; -@property(weak, nonatomic) IBOutlet SelectableCell * twelveHours; -@property(weak, nonatomic) IBOutlet SelectableCell * oneDay; -@property(weak, nonatomic) SelectableCell * selectedCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewSelectableCell * none; +@property(weak, nonatomic) IBOutlet SettingsTableViewSelectableCell * oneHour; +@property(weak, nonatomic) IBOutlet SettingsTableViewSelectableCell * twoHours; +@property(weak, nonatomic) IBOutlet SettingsTableViewSelectableCell * sixHours; +@property(weak, nonatomic) IBOutlet SettingsTableViewSelectableCell * twelveHours; +@property(weak, nonatomic) IBOutlet SettingsTableViewSelectableCell * oneDay; +@property(weak, nonatomic) SettingsTableViewSelectableCell * selectedCell; @end @@ -48,7 +48,7 @@ typedef NS_ENUM(NSUInteger, DurationInHours) { One = 1, Two = 2, Six = 6, Twelve self.selectedCell.accessoryType = UITableViewCellAccessoryCheckmark; } -- (void)setSelectedCell:(SelectableCell *)selectedCell +- (void)setSelectedCell:(SettingsTableViewSelectableCell *)selectedCell { _selectedCell = selectedCell; auto & f = GetFramework(); @@ -90,7 +90,7 @@ typedef NS_ENUM(NSUInteger, DurationInHours) { One = 1, Two = 2, Six = 6, Twelve - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { - SelectableCell * selectedCell = self.selectedCell; + SettingsTableViewSelectableCell * selectedCell = self.selectedCell; selectedCell.accessoryType = UITableViewCellAccessoryNone; selectedCell = [tableView cellForRowAtIndexPath:indexPath]; selectedCell.selected = NO; diff --git a/iphone/Maps/Settings/MWMSettingsViewController.mm b/iphone/Maps/Settings/MWMSettingsViewController.mm index 881db9ec5d..f22799ffd9 100644 --- a/iphone/Maps/Settings/MWMSettingsViewController.mm +++ b/iphone/Maps/Settings/MWMSettingsViewController.mm @@ -1,12 +1,11 @@ #import "MWMSettingsViewController.h" -#import "LinkCell.h" #import "LocaleTranslator.h" #import "MWMAuthorizationCommon.h" #import "MWMNetworkPolicy.h" #import "MWMSettings.h" #import "MWMTextToSpeech.h" #import "Statistics.h" -#import "SwitchCell.h" +#import "SwiftBridge.h" #import "WebViewController.h" #import "3party/Alohalytics/src/alohalytics_objc.h" @@ -17,27 +16,27 @@ extern NSString * const kAlohalyticsTapEventKey; -@interface MWMSettingsViewController ()<SwitchCellDelegate> +@interface MWMSettingsViewController ()<SettingsTableViewSwitchCellDelegate> -@property(weak, nonatomic) IBOutlet LinkCell * profileCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * profileCell; -@property(weak, nonatomic) IBOutlet LinkCell * unitsCell; -@property(weak, nonatomic) IBOutlet SwitchCell * zoomButtonsCell; -@property(weak, nonatomic) IBOutlet SwitchCell * is3dCell; -@property(weak, nonatomic) IBOutlet SwitchCell * autoDownloadCell; -@property(weak, nonatomic) IBOutlet LinkCell * mobileInternetCell; -@property(weak, nonatomic) IBOutlet LinkCell * recentTrackCell; -@property(weak, nonatomic) IBOutlet SwitchCell * compassCalibrationCell; -@property(weak, nonatomic) IBOutlet SwitchCell * showOffersCell; -@property(weak, nonatomic) IBOutlet SwitchCell * statisticsCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * unitsCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewSwitchCell * zoomButtonsCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewSwitchCell * is3dCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewSwitchCell * autoDownloadCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * mobileInternetCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * recentTrackCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewSwitchCell * compassCalibrationCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewSwitchCell * showOffersCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewSwitchCell * statisticsCell; -@property(weak, nonatomic) IBOutlet LinkCell * nightModeCell; -@property(weak, nonatomic) IBOutlet SwitchCell * perspectiveViewCell; -@property(weak, nonatomic) IBOutlet SwitchCell * autoZoomCell; -@property(weak, nonatomic) IBOutlet LinkCell * voiceInstructionsCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * nightModeCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewSwitchCell * perspectiveViewCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewSwitchCell * autoZoomCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * voiceInstructionsCell; -@property(weak, nonatomic) IBOutlet LinkCell * helpCell; -@property(weak, nonatomic) IBOutlet LinkCell * aboutCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * helpCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewLinkCell * aboutCell; @end @@ -60,92 +59,128 @@ extern NSString * const kAlohalyticsTapEventKey; [self configProfileSection]; [self configCommonSection]; [self configNavigationSection]; + [self configInfoSection]; } - (void)configProfileSection { NSString * userName = osm_auth_ios::OSMUserName(); - self.profileCell.infoLabel.text = userName.length != 0 ? userName : @""; + [self.profileCell configWithTitle:L(@"profile") info:userName.length != 0 ? userName : @""]; } - (void)configCommonSection { switch ([MWMSettings measurementUnits]) { - case measurement_utils::Units::Metric: self.unitsCell.infoLabel.text = L(@"kilometres"); break; - case measurement_utils::Units::Imperial: self.unitsCell.infoLabel.text = L(@"miles"); break; + case measurement_utils::Units::Metric: + [self.unitsCell configWithTitle:L(@"measurement_units") info:L(@"kilometres")]; + break; + case measurement_utils::Units::Imperial: + [self.unitsCell configWithTitle:L(@"measurement_units") info:L(@"miles")]; + break; } - self.zoomButtonsCell.switchButton.on = [MWMSettings zoomButtonsEnabled]; - self.zoomButtonsCell.delegate = self; + [self.zoomButtonsCell configWithDelegate:self + title:L(@"pref_zoom_title") + isOn:[MWMSettings zoomButtonsEnabled]]; bool on = true, _ = true; GetFramework().Load3dMode(_, on); - self.is3dCell.switchButton.on = on; - self.is3dCell.delegate = self; + [self.is3dCell configWithDelegate:self title:L(@"pref_map_3d_buildings_title") isOn:on]; - self.autoDownloadCell.switchButton.on = [MWMSettings autoDownloadEnabled]; - self.autoDownloadCell.delegate = self; + [self.autoDownloadCell configWithDelegate:self + title:L(@"autodownload") + isOn:[MWMSettings autoDownloadEnabled]]; - NSString * internetLabel = nil; - using np = platform::NetworkPolicy; + using stage = platform::NetworkPolicy::Stage; switch (network_policy::GetStage()) { - case np::Stage::Always: internetLabel = L(@"mobile_data_option_always"); break; - case np::Stage::Session: internetLabel = L(@"mobile_data_option_today"); break; - case np::Stage::Never: internetLabel = L(@"mobile_data_option_never"); break; + case stage::Always: + [self.mobileInternetCell configWithTitle:L(@"mobile_data") + info:L(@"mobile_data_option_always")]; + break; + case stage::Session: + [self.mobileInternetCell configWithTitle:L(@"mobile_data") info:L(@"mobile_data_option_today")]; + break; + case stage::Never: + [self.mobileInternetCell configWithTitle:L(@"mobile_data") info:L(@"mobile_data_option_never")]; + break; } - self.mobileInternetCell.infoLabel.text = internetLabel; if (!GpsTracker::Instance().IsEnabled()) { - self.recentTrackCell.infoLabel.text = L(@"duration_disabled"); + [self.recentTrackCell configWithTitle:L(@"pref_track_record_title") + info:L(@"duration_disabled")]; } else { switch (GpsTracker::Instance().GetDuration().count()) { - case 1: self.recentTrackCell.infoLabel.text = L(@"duration_1_hour"); break; - case 2: self.recentTrackCell.infoLabel.text = L(@"duration_2_hours"); break; - case 6: self.recentTrackCell.infoLabel.text = L(@"duration_6_hours"); break; - case 12: self.recentTrackCell.infoLabel.text = L(@"duration_12_hours"); break; - case 24: self.recentTrackCell.infoLabel.text = L(@"duration_1_day"); break; + case 1: + [self.recentTrackCell configWithTitle:L(@"pref_track_record_title") + info:L(@"duration_1_hour")]; + break; + case 2: + [self.recentTrackCell configWithTitle:L(@"pref_track_record_title") + info:L(@"duration_2_hours")]; + break; + case 6: + [self.recentTrackCell configWithTitle:L(@"pref_track_record_title") + info:L(@"duration_6_hours")]; + break; + case 12: + [self.recentTrackCell configWithTitle:L(@"pref_track_record_title") + info:L(@"duration_12_hours")]; + break; + case 24: + [self.recentTrackCell configWithTitle:L(@"pref_track_record_title") + info:L(@"duration_1_day")]; + break; default: NSAssert(false, @"Incorrect hours value"); break; } } - self.compassCalibrationCell.switchButton.on = [MWMSettings compassCalibrationEnabled]; - self.compassCalibrationCell.delegate = self; + [self.compassCalibrationCell configWithDelegate:self + title:L(@"pref_calibration_title") + isOn:[MWMSettings compassCalibrationEnabled]]; - self.showOffersCell.switchButton.on = ![MWMSettings adForbidden]; - self.showOffersCell.delegate = self; + [self.showOffersCell configWithDelegate:self + title:L(@"showcase_settings_title") + isOn:![MWMSettings adForbidden]]; - self.statisticsCell.switchButton.on = [MWMSettings statisticsEnabled]; - self.statisticsCell.delegate = self; + [self.statisticsCell configWithDelegate:self + title:L(@"allow_statistics") + isOn:[MWMSettings statisticsEnabled]]; } - (void)configNavigationSection { if ([MWMSettings autoNightModeEnabled]) { - self.nightModeCell.infoLabel.text = L(@"pref_map_style_auto"); + [self.nightModeCell configWithTitle:L(@"pref_map_style_title") info:L(@"pref_map_style_auto")]; } else { switch (GetFramework().GetMapStyle()) { - case MapStyleDark: self.nightModeCell.infoLabel.text = L(@"pref_map_style_night"); break; - default: self.nightModeCell.infoLabel.text = L(@"pref_map_style_default"); break; + case MapStyleDark: + [self.nightModeCell configWithTitle:L(@"pref_map_style_title") + info:L(@"pref_map_style_night")]; + break; + default: + [self.nightModeCell configWithTitle:L(@"pref_map_style_title") + info:L(@"pref_map_style_default")]; + break; } } bool _ = true, on = true; GetFramework().Load3dMode(on, _); - self.perspectiveViewCell.switchButton.on = on; - self.perspectiveViewCell.delegate = self; + [self.perspectiveViewCell configWithDelegate:self title:L(@"pref_map_3d_title") isOn:on]; - self.autoZoomCell.switchButton.on = GetFramework().LoadAutoZoom(); - self.autoZoomCell.delegate = self; + [self.autoZoomCell configWithDelegate:self + title:L(@"pref_map_auto_zoom") + isOn:GetFramework().LoadAutoZoom()]; if ([MWMTextToSpeech isTTSEnabled]) { @@ -154,22 +189,29 @@ extern NSString * const kAlohalyticsTapEventKey; { string const savedLanguageTwine = locale_translator::bcp47ToTwineLanguage(savedLanguage); NSString * language = @(tts::translatedTwine(savedLanguageTwine).c_str()); - self.voiceInstructionsCell.infoLabel.text = language; + [self.voiceInstructionsCell configWithTitle:L(@"pref_tts_language_title") info:language]; } else { - self.voiceInstructionsCell.infoLabel.text = @""; + [self.voiceInstructionsCell configWithTitle:L(@"pref_tts_language_title") info:nil]; } } else { - self.voiceInstructionsCell.infoLabel.text = L(@"duration_disabled"); + [self.voiceInstructionsCell configWithTitle:L(@"pref_tts_language_title") + info:L(@"duration_disabled")]; } } -#pragma mark - SwitchCellDelegate +- (void)configInfoSection +{ + [self.helpCell configWithTitle:L(@"help") info:nil]; + [self.aboutCell configWithTitle:L(@"about_menu_title") info:nil]; +} + +#pragma mark - SettingsTableViewSwitchCellDelegate -- (void)switchCell:(SwitchCell *)cell didChangeValue:(BOOL)value +- (void)switchCell:(SettingsTableViewSwitchCell *)cell didChangeValue:(BOOL)value { if (cell == self.zoomButtonsCell) { @@ -240,7 +282,7 @@ extern NSString * const kAlohalyticsTapEventKey; - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { - LinkCell * cell = static_cast<LinkCell *>([tableView cellForRowAtIndexPath:indexPath]); + auto cell = static_cast<SettingsTableViewLinkCell *>([tableView cellForRowAtIndexPath:indexPath]); if (cell == self.profileCell) { [Statistics logEvent:kStatSettingsOpenSection withParameters:@{kStatName : kStatAuthorization}]; diff --git a/iphone/Maps/Settings/MWMTTSLanguageViewController.mm b/iphone/Maps/Settings/MWMTTSLanguageViewController.mm index 8b1e2b269a..4529c4214f 100644 --- a/iphone/Maps/Settings/MWMTTSLanguageViewController.mm +++ b/iphone/Maps/Settings/MWMTTSLanguageViewController.mm @@ -1,7 +1,7 @@ -#import "MWMTextToSpeech.h" #import "MWMTTSLanguageViewController.h" #import "MWMTTSSettingsViewController.h" -#import "SelectableCell.h" +#import "MWMTextToSpeech.h" +#import "SwiftBridge.h" #import "UIColor+MapsMeColor.h" static NSString * const kUnwingSegueIdentifier = @"UnwindToTTSSettings"; @@ -15,7 +15,7 @@ static NSString * const kUnwingSegueIdentifier = @"UnwindToTTSSettings"; self.tableView.separatorColor = [UIColor blackDividers]; } -- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(SelectableCell *)sender +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(SettingsTableViewSelectableCell *)sender { if (![segue.identifier isEqualToString:kUnwingSegueIdentifier]) return; @@ -31,10 +31,14 @@ static NSString * const kUnwingSegueIdentifier = @"UnwindToTTSSettings"; return [[MWMTextToSpeech tts] availableLanguages].size(); } -- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath +- (UITableViewCell *)tableView:(UITableView *)tableView + cellForRowAtIndexPath:(NSIndexPath *)indexPath { - SelectableCell * cell = (SelectableCell *)[tableView dequeueReusableCellWithIdentifier:[SelectableCell className]]; - cell.titleLabel.text = @([[MWMTextToSpeech tts] availableLanguages][indexPath.row].second.c_str()); + auto cellId = [SettingsTableViewSelectableCell cellId]; + auto cell = static_cast<SettingsTableViewSelectableCell *>( + [tableView dequeueReusableCellWithIdentifier:cellId]); + [cell + configWithTitle:@([[MWMTextToSpeech tts] availableLanguages][indexPath.row].second.c_str())]; return cell; } diff --git a/iphone/Maps/Settings/MWMTTSSettingsViewController.h b/iphone/Maps/Settings/MWMTTSSettingsViewController.h index 9c364a5247..f52576ce96 100644 --- a/iphone/Maps/Settings/MWMTTSSettingsViewController.h +++ b/iphone/Maps/Settings/MWMTTSSettingsViewController.h @@ -1,7 +1,7 @@ #import "MWMTableViewController.h" -#include "std/utility.hpp" #include "std/string.hpp" +#include "std/utility.hpp" @interface MWMTTSSettingsViewController : MWMTableViewController diff --git a/iphone/Maps/Settings/MWMTTSSettingsViewController.mm b/iphone/Maps/Settings/MWMTTSSettingsViewController.mm index bc120aee3c..36c040c4a1 100644 --- a/iphone/Maps/Settings/MWMTTSSettingsViewController.mm +++ b/iphone/Maps/Settings/MWMTTSSettingsViewController.mm @@ -1,9 +1,8 @@ #import "MWMTTSSettingsViewController.h" #import <AVFoundation/AVFoundation.h> -#import "LinkCell.h" #import "MWMTextToSpeech.h" -#import "SelectableCell.h" #import "Statistics.h" +#import "SwiftBridge.h" #import "UIColor+MapsMeColor.h" #import "WebViewController.h" @@ -110,10 +109,12 @@ using namespace locale_translator; { if (indexPath.row == 0) { - SelectableCell * cell = (SelectableCell *)[tableView - dequeueReusableCellWithIdentifier:[SelectableCell className]]; - cell.titleLabel.text = L(@"duration_disabled"); - cell.accessoryType = [MWMTextToSpeech isTTSEnabled] ? UITableViewCellAccessoryNone : UITableViewCellAccessoryCheckmark; + auto cellId = [SettingsTableViewSelectableCell cellId]; + auto cell = static_cast<SettingsTableViewSelectableCell *>( + [tableView dequeueReusableCellWithIdentifier:cellId]); + [cell configWithTitle:L(@"duration_disabled")]; + cell.accessoryType = [MWMTextToSpeech isTTSEnabled] ? UITableViewCellAccessoryNone + : UITableViewCellAccessoryCheckmark; return cell; } else @@ -121,17 +122,19 @@ using namespace locale_translator; NSInteger const row = indexPath.row - 1; if (row == _languages.size()) { - LinkCell * cell = - (LinkCell *)[tableView dequeueReusableCellWithIdentifier:[LinkCell className]]; - cell.titleLabel.text = L(@"pref_tts_other_section_title"); + auto cellId = [SettingsTableViewLinkCell cellId]; + auto cell = static_cast<SettingsTableViewLinkCell *>( + [tableView dequeueReusableCellWithIdentifier:cellId]); + [cell configWithTitle:L(@"pref_tts_other_section_title") info:nil]; return cell; } else { - SelectableCell * cell = (SelectableCell *)[tableView - dequeueReusableCellWithIdentifier:[SelectableCell className]]; + auto cellId = [SettingsTableViewSelectableCell cellId]; + auto cell = static_cast<SettingsTableViewSelectableCell *>( + [tableView dequeueReusableCellWithIdentifier:cellId]); pair<string, string> const p = _languages[row]; - cell.titleLabel.text = @(p.second.c_str()); + [cell configWithTitle:@(p.second.c_str())]; BOOL const isSelected = [@(p.first.c_str()) isEqualToString:[MWMTextToSpeech savedLanguage]]; cell.accessoryType = [MWMTextToSpeech isTTSEnabled] && isSelected @@ -143,9 +146,10 @@ using namespace locale_translator; } else { - LinkCell * cell = - (LinkCell *)[tableView dequeueReusableCellWithIdentifier:[LinkCell className]]; - cell.titleLabel.text = L(@"pref_tts_how_to_set_up_voice"); + auto cellId = [SettingsTableViewLinkCell cellId]; + auto cell = static_cast<SettingsTableViewLinkCell *>( + [tableView dequeueReusableCellWithIdentifier:cellId]); + [cell configWithTitle:L(@"pref_tts_how_to_set_up_voice") info:nil]; return cell; } } diff --git a/iphone/Maps/Settings/MWMUnitsController.mm b/iphone/Maps/Settings/MWMUnitsController.mm index 859b99e12c..d82139c005 100644 --- a/iphone/Maps/Settings/MWMUnitsController.mm +++ b/iphone/Maps/Settings/MWMUnitsController.mm @@ -1,13 +1,13 @@ #import "MWMUnitsController.h" #import "MWMSettings.h" -#import "SelectableCell.h" #import "Statistics.h" +#import "SwiftBridge.h" @interface MWMUnitsController () -@property(weak, nonatomic) IBOutlet SelectableCell * kilometers; -@property(weak, nonatomic) IBOutlet SelectableCell * miles; -@property(weak, nonatomic) SelectableCell * selectedCell; +@property(weak, nonatomic) IBOutlet SettingsTableViewSelectableCell * kilometers; +@property(weak, nonatomic) IBOutlet SettingsTableViewSelectableCell * miles; +@property(weak, nonatomic) SettingsTableViewSelectableCell * selectedCell; @end @@ -25,9 +25,9 @@ } } -- (void)setSelectedCell:(SelectableCell *)cell +- (void)setSelectedCell:(SettingsTableViewSelectableCell *)cell { - SelectableCell * selectedCell = _selectedCell; + SettingsTableViewSelectableCell * selectedCell = _selectedCell; if (selectedCell == cell) return; |