refactor: Remove logic related to Tsunami from settings
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
8C10B0BB2281FE7F00125C9F /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 8C10B0BD2281FE7F00125C9F /* Localizable.strings */; };
|
||||
8C13E84B220B2E7E0009CFE4 /* MenuSelezioneEntiViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C13E84A220B2E7E0009CFE4 /* MenuSelezioneEntiViewController.m */; };
|
||||
8C13E84F220B89360009CFE4 /* ElencoFiltroEntiTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C13E84E220B89360009CFE4 /* ElencoFiltroEntiTableViewController.m */; };
|
||||
8C14112E21ED2FA300A59729 /* AreaInteresseTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C14112D21ED2FA300A59729 /* AreaInteresseTableViewController.m */; };
|
||||
8C14113121ED3E5B00A59729 /* AllertaSismiTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C14113021ED3E5B00A59729 /* AllertaSismiTableViewController.m */; };
|
||||
8C14113721EE502800A59729 /* EQNAllertaSismica.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C14113621EE502800A59729 /* EQNAllertaSismica.m */; };
|
||||
8C149FA321E54E85002C44FD /* NotificheSismiTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C149FA221E54E85002C44FD /* NotificheSismiTableViewController.m */; };
|
||||
@@ -79,9 +78,7 @@
|
||||
8CCE165121E7BAEC00173CD9 /* EQNNotificeReteSismiche.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CCE165021E7BAEC00173CD9 /* EQNNotificeReteSismiche.m */; };
|
||||
8CCE165521EA378800173CD9 /* SegnalazioniUtentiTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CCE165421EA378800173CD9 /* SegnalazioniUtentiTableViewController.m */; };
|
||||
8CCE165821EB1E0000173CD9 /* RetiSismicheTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CCE165721EB1E0000173CD9 /* RetiSismicheTableViewController.m */; };
|
||||
8CCE165E21EB9F2400173CD9 /* NotificheTsunamiTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CCE165D21EB9F2400173CD9 /* NotificheTsunamiTableViewController.m */; };
|
||||
8CCE166121EBA37500173CD9 /* EQNNotificheTsunami.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CCE166021EBA37500173CD9 /* EQNNotificheTsunami.m */; };
|
||||
8CCE166421EBEFBD00173CD9 /* MessaggioInformativoTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CCE166321EBEFBD00173CD9 /* MessaggioInformativoTableViewController.m */; };
|
||||
8CD0862E218A41930000CB5E /* CellDettagliMappaTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CD0862D218A41930000CB5E /* CellDettagliMappaTableViewCell.m */; };
|
||||
8CD08631218ADFCA0000CB5E /* Cell_Reti_sismicheTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CD08630218ADFCA0000CB5E /* Cell_Reti_sismicheTableViewCell.m */; };
|
||||
8CD08635218AF6030000CB5E /* Cell_Meteo_TableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CD08634218AF6030000CB5E /* Cell_Meteo_TableViewCell.m */; };
|
||||
@@ -191,8 +188,6 @@
|
||||
8C13E84A220B2E7E0009CFE4 /* MenuSelezioneEntiViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MenuSelezioneEntiViewController.m; sourceTree = "<group>"; };
|
||||
8C13E84D220B89360009CFE4 /* ElencoFiltroEntiTableViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ElencoFiltroEntiTableViewController.h; sourceTree = "<group>"; };
|
||||
8C13E84E220B89360009CFE4 /* ElencoFiltroEntiTableViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ElencoFiltroEntiTableViewController.m; sourceTree = "<group>"; };
|
||||
8C14112C21ED2FA300A59729 /* AreaInteresseTableViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AreaInteresseTableViewController.h; sourceTree = "<group>"; };
|
||||
8C14112D21ED2FA300A59729 /* AreaInteresseTableViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AreaInteresseTableViewController.m; sourceTree = "<group>"; };
|
||||
8C14112F21ED3E5B00A59729 /* AllertaSismiTableViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AllertaSismiTableViewController.h; sourceTree = "<group>"; };
|
||||
8C14113021ED3E5B00A59729 /* AllertaSismiTableViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AllertaSismiTableViewController.m; sourceTree = "<group>"; };
|
||||
8C14113521EE502800A59729 /* EQNAllertaSismica.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = EQNAllertaSismica.h; sourceTree = "<group>"; };
|
||||
@@ -285,12 +280,8 @@
|
||||
8CCE165421EA378800173CD9 /* SegnalazioniUtentiTableViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SegnalazioniUtentiTableViewController.m; sourceTree = "<group>"; };
|
||||
8CCE165621EB1E0000173CD9 /* RetiSismicheTableViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RetiSismicheTableViewController.h; sourceTree = "<group>"; };
|
||||
8CCE165721EB1E0000173CD9 /* RetiSismicheTableViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RetiSismicheTableViewController.m; sourceTree = "<group>"; };
|
||||
8CCE165C21EB9F2400173CD9 /* NotificheTsunamiTableViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NotificheTsunamiTableViewController.h; sourceTree = "<group>"; };
|
||||
8CCE165D21EB9F2400173CD9 /* NotificheTsunamiTableViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NotificheTsunamiTableViewController.m; sourceTree = "<group>"; };
|
||||
8CCE165F21EBA37500173CD9 /* EQNNotificheTsunami.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = EQNNotificheTsunami.h; sourceTree = "<group>"; };
|
||||
8CCE166021EBA37500173CD9 /* EQNNotificheTsunami.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = EQNNotificheTsunami.m; sourceTree = "<group>"; };
|
||||
8CCE166221EBEFBD00173CD9 /* MessaggioInformativoTableViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MessaggioInformativoTableViewController.h; sourceTree = "<group>"; };
|
||||
8CCE166321EBEFBD00173CD9 /* MessaggioInformativoTableViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MessaggioInformativoTableViewController.m; sourceTree = "<group>"; };
|
||||
8CD0862C218A41930000CB5E /* CellDettagliMappaTableViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CellDettagliMappaTableViewCell.h; sourceTree = "<group>"; };
|
||||
8CD0862D218A41930000CB5E /* CellDettagliMappaTableViewCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CellDettagliMappaTableViewCell.m; sourceTree = "<group>"; };
|
||||
8CD0862F218ADFCA0000CB5E /* Cell_Reti_sismicheTableViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Cell_Reti_sismicheTableViewCell.h; sourceTree = "<group>"; };
|
||||
@@ -557,12 +548,6 @@
|
||||
children = (
|
||||
8CCE164621E69AEC00173CD9 /* TempoRealeTableViewController.h */,
|
||||
8CCE164721E69AEC00173CD9 /* TempoRealeTableViewController.m */,
|
||||
8CCE165C21EB9F2400173CD9 /* NotificheTsunamiTableViewController.h */,
|
||||
8CCE165D21EB9F2400173CD9 /* NotificheTsunamiTableViewController.m */,
|
||||
8CCE166221EBEFBD00173CD9 /* MessaggioInformativoTableViewController.h */,
|
||||
8CCE166321EBEFBD00173CD9 /* MessaggioInformativoTableViewController.m */,
|
||||
8C14112C21ED2FA300A59729 /* AreaInteresseTableViewController.h */,
|
||||
8C14112D21ED2FA300A59729 /* AreaInteresseTableViewController.m */,
|
||||
8C14112F21ED3E5B00A59729 /* AllertaSismiTableViewController.h */,
|
||||
8C14113021ED3E5B00A59729 /* AllertaSismiTableViewController.m */,
|
||||
);
|
||||
@@ -1141,7 +1126,6 @@
|
||||
8CCE164E21E7BACE00173CD9 /* EQNNotificheSegnalazioniUtente.m in Sources */,
|
||||
DCD4571C24F6CF0D00B58304 /* EQNGenericValue.swift in Sources */,
|
||||
8C4E343F215012FA008B0D2A /* EQNManager.m in Sources */,
|
||||
8CCE165E21EB9F2400173CD9 /* NotificheTsunamiTableViewController.m in Sources */,
|
||||
8C7E945A21E548A600B0B770 /* SettingsViewController.m in Sources */,
|
||||
8CABD7212194B7C700C3E09C /* ImpostazioniViewController.m in Sources */,
|
||||
DCAA913F24F68A1D00145A3D /* SettingMultivaluesTableViewCell.swift in Sources */,
|
||||
@@ -1166,7 +1150,6 @@
|
||||
8CF66059214C566B009F4314 /* Reachability.m in Sources */,
|
||||
DC886A5D24E92D5500F7A5D3 /* EQNBaseViewController.m in Sources */,
|
||||
8C593E8A217BA2470008B260 /* EQNSegnalazione.m in Sources */,
|
||||
8C14112E21ED2FA300A59729 /* AreaInteresseTableViewController.m in Sources */,
|
||||
DCBB267C24D1E98300F04559 /* EQNBaseTableViewCell.swift in Sources */,
|
||||
8CBD3DCA2149B9AD0070C963 /* ReteSmartphone.m in Sources */,
|
||||
DCF10DCD24D2C935009F34C3 /* EQNPurchaseAvailability.swift in Sources */,
|
||||
@@ -1211,7 +1194,6 @@
|
||||
DCAB01E324CEBFE800E8B54C /* MenuViewController.swift in Sources */,
|
||||
8C8EBBA721540039002784BA /* EQNUser.m in Sources */,
|
||||
8CADAA9421B2627D0044E256 /* LogViewController.m in Sources */,
|
||||
8CCE166421EBEFBD00173CD9 /* MessaggioInformativoTableViewController.m in Sources */,
|
||||
DC11ABE824E6700E00D866A8 /* UIColor+EQN.swift in Sources */,
|
||||
DC3BA11124D1A9C90062EE7F /* SubscriptionsViewController.swift in Sources */,
|
||||
);
|
||||
|
||||
@@ -2841,7 +2841,6 @@ In più sostieni il progetto di ricerca il quale non riceve finanziamenti estern
|
||||
</navigationItem>
|
||||
<connections>
|
||||
<segue destination="e2e-CQ-gxv" kind="show" identifier="ShowNotificheSismi" id="N2Z-Km-HOK"/>
|
||||
<segue destination="JDD-bV-cKq" kind="show" identifier="ShowNotificheTsunami" id="OR4-nh-JIb"/>
|
||||
<segue destination="oA9-rq-Kqp" kind="show" identifier="ShowAllertaSismica" id="PKv-wx-VXN"/>
|
||||
</connections>
|
||||
</tableViewController>
|
||||
@@ -2866,7 +2865,7 @@ In più sostieni il progetto di ricerca il quale non riceve finanziamenti estern
|
||||
</tableViewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="Uvt-gu-Bum" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-4598" y="645"/>
|
||||
<point key="canvasLocation" x="-4414" y="-379"/>
|
||||
</scene>
|
||||
<!--Allerta Sismi Table View Controller-->
|
||||
<scene sceneID="fj3-1O-nSI">
|
||||
@@ -3006,175 +3005,7 @@ In più sostieni il progetto di ricerca il quale non riceve finanziamenti estern
|
||||
</tableViewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="z3g-sW-ZwB" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-6709" y="-1952"/>
|
||||
</scene>
|
||||
<!--Notifiche Tsunami Table View Controller-->
|
||||
<scene sceneID="qdg-0z-h4I">
|
||||
<objects>
|
||||
<tableViewController id="JDD-bV-cKq" customClass="NotificheTsunamiTableViewController" sceneMemberID="viewController">
|
||||
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" id="Dgx-oZ-FRr">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<prototypes>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="cellSection" id="ImZ-gQ-gu0">
|
||||
<rect key="frame" x="0.0" y="28" width="320" height="43.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="ImZ-gQ-gu0" id="BRA-Qu-weo">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="1" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="k9g-Q3-Znk">
|
||||
<rect key="frame" x="16" y="5.5" width="288" height="33"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="33" id="BTQ-DV-awe"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="14"/>
|
||||
<color key="textColor" red="0.50766238939999997" green="0.75272958739999996" blue="0.98132258650000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstItem="k9g-Q3-Znk" firstAttribute="centerY" secondItem="BRA-Qu-weo" secondAttribute="centerY" id="4eS-cm-ybm"/>
|
||||
<constraint firstItem="k9g-Q3-Znk" firstAttribute="leading" secondItem="BRA-Qu-weo" secondAttribute="leading" constant="16" id="5AP-WG-hF8"/>
|
||||
<constraint firstAttribute="trailing" secondItem="k9g-Q3-Znk" secondAttribute="trailing" constant="16" id="SEn-7s-EJa"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" accessoryType="checkmark" indentationWidth="10" reuseIdentifier="cellaSelezioneAbilita" rowHeight="90" id="7Ho-sT-GS1">
|
||||
<rect key="frame" x="0.0" y="71.5" width="320" height="90"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="7Ho-sT-GS1" id="61I-41-0pU">
|
||||
<rect key="frame" x="0.0" y="0.0" width="280" height="90"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="1" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cxa-dk-bH9">
|
||||
<rect key="frame" x="16" y="11" width="256" height="30"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="30" id="cL6-Dh-Jb5"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="2" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumFontSize="8" translatesAutoresizingMaskIntoConstraints="NO" id="aFA-SZ-reV">
|
||||
<rect key="frame" x="16" y="43" width="256" height="35"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="35" id="Lxg-5X-Kix"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<color key="textColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="aFA-SZ-reV" firstAttribute="top" secondItem="Cxa-dk-bH9" secondAttribute="bottom" constant="2" id="Goq-N5-ZJz"/>
|
||||
<constraint firstItem="Cxa-dk-bH9" firstAttribute="leading" secondItem="61I-41-0pU" secondAttribute="leadingMargin" id="OYV-Q0-IbS"/>
|
||||
<constraint firstItem="Cxa-dk-bH9" firstAttribute="trailing" secondItem="61I-41-0pU" secondAttribute="trailingMargin" id="a1M-4A-jFD"/>
|
||||
<constraint firstItem="aFA-SZ-reV" firstAttribute="leading" secondItem="61I-41-0pU" secondAttribute="leadingMargin" id="czj-0J-yax"/>
|
||||
<constraint firstItem="Cxa-dk-bH9" firstAttribute="top" secondItem="61I-41-0pU" secondAttribute="topMargin" id="jMj-OP-SpP"/>
|
||||
<constraint firstItem="aFA-SZ-reV" firstAttribute="trailing" secondItem="61I-41-0pU" secondAttribute="trailingMargin" id="uUV-oP-WDp"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="impostazioniNotifiche" rowHeight="88" id="hjc-kh-xFc">
|
||||
<rect key="frame" x="0.0" y="161.5" width="320" height="88"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="hjc-kh-xFc" id="X5x-Ca-983">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="88"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="1" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oR4-uQ-fKx">
|
||||
<rect key="frame" x="16" y="11" width="288" height="66"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="oR4-uQ-fKx" firstAttribute="trailing" secondItem="X5x-Ca-983" secondAttribute="trailingMargin" id="Ilt-18-uef"/>
|
||||
<constraint firstItem="oR4-uQ-fKx" firstAttribute="bottom" secondItem="X5x-Ca-983" secondAttribute="bottomMargin" id="J4Y-Gu-hLV"/>
|
||||
<constraint firstItem="oR4-uQ-fKx" firstAttribute="leading" secondItem="X5x-Ca-983" secondAttribute="leadingMargin" id="N2T-Hr-UjK"/>
|
||||
<constraint firstItem="oR4-uQ-fKx" firstAttribute="top" secondItem="X5x-Ca-983" secondAttribute="topMargin" id="Vqy-LU-dep"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="cellaEtichettaRossa" id="VsS-hk-IJP">
|
||||
<rect key="frame" x="0.0" y="249.5" width="320" height="43.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="VsS-hk-IJP" id="Cov-SJ-whr">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="1" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8zP-ga-ogL">
|
||||
<rect key="frame" x="16" y="7" width="288" height="30"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="30" id="LVD-gh-sgQ"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" red="1" green="0.14913141730000001" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="8zP-ga-ogL" firstAttribute="trailing" secondItem="Cov-SJ-whr" secondAttribute="trailingMargin" id="LF7-Wm-3qP"/>
|
||||
<constraint firstItem="8zP-ga-ogL" firstAttribute="centerY" secondItem="Cov-SJ-whr" secondAttribute="centerY" id="gdX-Yy-Enz"/>
|
||||
<constraint firstItem="8zP-ga-ogL" firstAttribute="leading" secondItem="Cov-SJ-whr" secondAttribute="leadingMargin" id="uS3-oM-kCb"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="cellaOrario" rowHeight="90" id="Phi-Q5-cYf">
|
||||
<rect key="frame" x="0.0" y="293" width="320" height="90"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Phi-Q5-cYf" id="wXc-nz-ksT">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="90"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="1" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gz7-iN-sSG">
|
||||
<rect key="frame" x="16" y="11" width="288" height="39"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="39" id="LMs-fq-IyX"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<color key="textColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<textField opaque="NO" tag="2" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="INf-JP-w5q">
|
||||
<rect key="frame" x="16" y="52" width="288" height="30"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="30" id="MtG-t6-3JT"/>
|
||||
</constraints>
|
||||
<color key="textColor" red="0.0" green="0.56284224989999998" blue="0.31881666180000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
||||
<textInputTraits key="textInputTraits"/>
|
||||
</textField>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="gz7-iN-sSG" firstAttribute="top" secondItem="wXc-nz-ksT" secondAttribute="topMargin" id="05F-jE-2zy"/>
|
||||
<constraint firstItem="gz7-iN-sSG" firstAttribute="trailing" secondItem="wXc-nz-ksT" secondAttribute="trailingMargin" id="2QG-Hf-8uv"/>
|
||||
<constraint firstItem="INf-JP-w5q" firstAttribute="top" secondItem="gz7-iN-sSG" secondAttribute="bottom" constant="2" id="A5a-Qm-Qsw"/>
|
||||
<constraint firstItem="INf-JP-w5q" firstAttribute="leading" secondItem="wXc-nz-ksT" secondAttribute="leading" constant="16" id="Ntq-Ah-DnS"/>
|
||||
<constraint firstAttribute="trailing" secondItem="INf-JP-w5q" secondAttribute="trailing" constant="16" id="WJB-Lb-ixX"/>
|
||||
<constraint firstItem="gz7-iN-sSG" firstAttribute="leading" secondItem="wXc-nz-ksT" secondAttribute="leadingMargin" id="sju-Lr-kPT"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
</prototypes>
|
||||
<connections>
|
||||
<outlet property="dataSource" destination="JDD-bV-cKq" id="Lnj-cM-ZZd"/>
|
||||
<outlet property="delegate" destination="JDD-bV-cKq" id="zJ3-Ta-3fN"/>
|
||||
</connections>
|
||||
</tableView>
|
||||
<navigationItem key="navigationItem" id="9XB-16-LjN"/>
|
||||
<connections>
|
||||
<segue destination="Dz6-Tb-uRf" kind="show" identifier="messaggioInformativo" id="JVr-EN-0pw"/>
|
||||
<segue destination="sEL-8E-deU" kind="show" identifier="areaInteresse" id="Wt7-m4-fiQ"/>
|
||||
</connections>
|
||||
</tableViewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="Sqg-QY-oUC" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-6816" y="-379"/>
|
||||
<point key="canvasLocation" x="-6744" y="-991"/>
|
||||
</scene>
|
||||
<!--Tempo Reale Table View Controller-->
|
||||
<scene sceneID="tpD-cn-0kA">
|
||||
@@ -3317,7 +3148,7 @@ In più sostieni il progetto di ricerca il quale non riceve finanziamenti estern
|
||||
</tableViewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="1iQ-ab-5VW" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-5428" y="2081"/>
|
||||
<point key="canvasLocation" x="-6118" y="1177"/>
|
||||
</scene>
|
||||
<!--Segnalazioni Utenti Table View Controller-->
|
||||
<scene sceneID="70o-xn-uI2">
|
||||
@@ -3336,7 +3167,7 @@ In più sostieni il progetto di ricerca il quale non riceve finanziamenti estern
|
||||
</tableViewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="D0G-lo-3RH" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-5428.125" y="1362.6760563380283"/>
|
||||
<point key="canvasLocation" x="-5276" y="355"/>
|
||||
</scene>
|
||||
<!--Reti Sismiche Table View Controller-->
|
||||
<scene sceneID="44E-lc-Pfe">
|
||||
@@ -3358,7 +3189,7 @@ In più sostieni il progetto di ricerca il quale non riceve finanziamenti estern
|
||||
</tableViewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="Ycw-pT-hjt" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-5428" y="645"/>
|
||||
<point key="canvasLocation" x="-5276" y="-379"/>
|
||||
</scene>
|
||||
<!--Notifiche Sismi Table View Controller-->
|
||||
<scene sceneID="SuQ-Fi-PSx">
|
||||
@@ -3382,7 +3213,7 @@ In più sostieni il progetto di ricerca il quale non riceve finanziamenti estern
|
||||
</tableViewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="WQO-gw-z6e" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-6818" y="646"/>
|
||||
<point key="canvasLocation" x="-6744" y="39"/>
|
||||
</scene>
|
||||
<!--Navigation Controller-->
|
||||
<scene sceneID="bcf-1h-akt">
|
||||
@@ -3402,170 +3233,6 @@ In più sostieni il progetto di ricerca il quale non riceve finanziamenti estern
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-8856" y="-379"/>
|
||||
</scene>
|
||||
<!--Messaggio Informativo Table View Controller-->
|
||||
<scene sceneID="JyM-hL-5UJ">
|
||||
<objects>
|
||||
<tableViewController id="Dz6-Tb-uRf" customClass="MessaggioInformativoTableViewController" sceneMemberID="viewController">
|
||||
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" id="dIV-hD-nEd">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<prototypes>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" accessoryType="checkmark" indentationWidth="10" reuseIdentifier="cellaSelezioneAbilita" rowHeight="90" id="h2t-Jz-mbT">
|
||||
<rect key="frame" x="0.0" y="28" width="320" height="90"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="h2t-Jz-mbT" id="uHl-2p-8sR">
|
||||
<rect key="frame" x="0.0" y="0.0" width="280" height="90"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="1" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Mic-8d-Dnd">
|
||||
<rect key="frame" x="16" y="11" width="256" height="30"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="30" id="gH1-4b-GyE"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="2" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumFontSize="8" translatesAutoresizingMaskIntoConstraints="NO" id="wa3-Nw-fqp">
|
||||
<rect key="frame" x="16" y="43" width="256" height="35"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="35" id="LQD-iP-s5a"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<color key="textColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="Mic-8d-Dnd" firstAttribute="trailing" secondItem="uHl-2p-8sR" secondAttribute="trailingMargin" id="1BH-Bz-UzY"/>
|
||||
<constraint firstItem="Mic-8d-Dnd" firstAttribute="top" secondItem="uHl-2p-8sR" secondAttribute="topMargin" id="Bsk-mn-ia2"/>
|
||||
<constraint firstItem="Mic-8d-Dnd" firstAttribute="leading" secondItem="uHl-2p-8sR" secondAttribute="leadingMargin" id="CwU-0o-Sg6"/>
|
||||
<constraint firstItem="wa3-Nw-fqp" firstAttribute="trailing" secondItem="uHl-2p-8sR" secondAttribute="trailingMargin" id="bmA-mc-oKs"/>
|
||||
<constraint firstItem="wa3-Nw-fqp" firstAttribute="top" secondItem="Mic-8d-Dnd" secondAttribute="bottom" constant="2" id="vRZ-C5-zUE"/>
|
||||
<constraint firstItem="wa3-Nw-fqp" firstAttribute="leading" secondItem="uHl-2p-8sR" secondAttribute="leadingMargin" id="yG0-9u-nwp"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="cellSection" id="Ti1-Ze-jna">
|
||||
<rect key="frame" x="0.0" y="118" width="320" height="43.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Ti1-Ze-jna" id="acd-EW-FFW">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="1" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yn6-On-9ez">
|
||||
<rect key="frame" x="16" y="5.5" width="288" height="33"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="33" id="8i8-vC-O2U"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="14"/>
|
||||
<color key="textColor" red="0.50766238939999997" green="0.75272958739999996" blue="0.98132258650000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailing" secondItem="yn6-On-9ez" secondAttribute="trailing" constant="16" id="2gg-NN-nlH"/>
|
||||
<constraint firstItem="yn6-On-9ez" firstAttribute="centerY" secondItem="acd-EW-FFW" secondAttribute="centerY" id="QxA-mh-AqL"/>
|
||||
<constraint firstItem="yn6-On-9ez" firstAttribute="leading" secondItem="acd-EW-FFW" secondAttribute="leading" constant="16" id="f1J-j9-909"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
</prototypes>
|
||||
<connections>
|
||||
<outlet property="dataSource" destination="Dz6-Tb-uRf" id="6In-lJ-JdH"/>
|
||||
<outlet property="delegate" destination="Dz6-Tb-uRf" id="Ve0-kb-uu0"/>
|
||||
</connections>
|
||||
</tableView>
|
||||
<navigationItem key="navigationItem" id="2GA-dc-dam"/>
|
||||
</tableViewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="y2I-j1-KnK" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-5921" y="-1118"/>
|
||||
</scene>
|
||||
<!--Area Interesse Table View Controller-->
|
||||
<scene sceneID="482-cH-qql">
|
||||
<objects>
|
||||
<tableViewController id="sEL-8E-deU" customClass="AreaInteresseTableViewController" sceneMemberID="viewController">
|
||||
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" id="Scz-0O-ES6">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
|
||||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<prototypes>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" accessoryType="checkmark" indentationWidth="10" reuseIdentifier="cellaSelezioneAbilita" rowHeight="90" id="pcM-mx-cxq">
|
||||
<rect key="frame" x="0.0" y="28" width="320" height="90"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="pcM-mx-cxq" id="Hf1-kZ-3gQ">
|
||||
<rect key="frame" x="0.0" y="0.0" width="280" height="90"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="1" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1sq-6I-E5n">
|
||||
<rect key="frame" x="16" y="11" width="256" height="30"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="30" id="a46-6t-7TE"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="17"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="2" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumFontSize="8" translatesAutoresizingMaskIntoConstraints="NO" id="EhO-Xe-kaN">
|
||||
<rect key="frame" x="16" y="43" width="256" height="35"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="35" id="eA8-Tv-m1C"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<color key="textColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<constraints>
|
||||
<constraint firstItem="EhO-Xe-kaN" firstAttribute="trailing" secondItem="Hf1-kZ-3gQ" secondAttribute="trailingMargin" id="5EJ-SU-n7O"/>
|
||||
<constraint firstItem="1sq-6I-E5n" firstAttribute="top" secondItem="Hf1-kZ-3gQ" secondAttribute="topMargin" id="7q4-u2-olL"/>
|
||||
<constraint firstItem="EhO-Xe-kaN" firstAttribute="top" secondItem="1sq-6I-E5n" secondAttribute="bottom" constant="2" id="Lq5-Ru-jY4"/>
|
||||
<constraint firstItem="1sq-6I-E5n" firstAttribute="leading" secondItem="Hf1-kZ-3gQ" secondAttribute="leadingMargin" id="i9G-uB-Bjx"/>
|
||||
<constraint firstItem="EhO-Xe-kaN" firstAttribute="leading" secondItem="Hf1-kZ-3gQ" secondAttribute="leadingMargin" id="k82-xH-kVn"/>
|
||||
<constraint firstItem="1sq-6I-E5n" firstAttribute="trailing" secondItem="Hf1-kZ-3gQ" secondAttribute="trailingMargin" id="lSE-om-13r"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="cellSection" id="cVx-hV-vrV">
|
||||
<rect key="frame" x="0.0" y="118" width="320" height="43.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="cVx-hV-vrV" id="vuO-N3-LIR">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="43.5"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="1" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TN4-4n-dYj">
|
||||
<rect key="frame" x="16" y="5.5" width="288" height="33"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="33" id="3hO-bA-0ci"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="14"/>
|
||||
<color key="textColor" red="0.50766238939999997" green="0.75272958739999996" blue="0.98132258650000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="trailing" secondItem="TN4-4n-dYj" secondAttribute="trailing" constant="16" id="CsW-Uj-BkN"/>
|
||||
<constraint firstItem="TN4-4n-dYj" firstAttribute="centerY" secondItem="vuO-N3-LIR" secondAttribute="centerY" id="XHr-J5-43E"/>
|
||||
<constraint firstItem="TN4-4n-dYj" firstAttribute="leading" secondItem="vuO-N3-LIR" secondAttribute="leading" constant="16" id="qsM-1U-4kQ"/>
|
||||
</constraints>
|
||||
</tableViewCellContentView>
|
||||
</tableViewCell>
|
||||
</prototypes>
|
||||
<connections>
|
||||
<outlet property="dataSource" destination="sEL-8E-deU" id="zUo-VO-bUs"/>
|
||||
<outlet property="delegate" destination="sEL-8E-deU" id="m49-HW-O5X"/>
|
||||
</connections>
|
||||
</tableView>
|
||||
<navigationItem key="navigationItem" id="fYs-n3-cKm"/>
|
||||
</tableViewController>
|
||||
<placeholder placeholderIdentifier="IBFirstResponder" id="DkS-Sh-emz" userLabel="First Responder" sceneMemberID="firstResponder"/>
|
||||
</objects>
|
||||
<point key="canvasLocation" x="-5921" y="-379"/>
|
||||
</scene>
|
||||
<!--Navigation Controller-->
|
||||
<scene sceneID="ugg-0S-WiU">
|
||||
<objects>
|
||||
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
//
|
||||
// AreaInteresseTableViewController.h
|
||||
// Earthquake Network
|
||||
//
|
||||
// Created by Luca Beretta on 14/01/2019.
|
||||
// Copyright © 2019 Luca Beretta. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface AreaInteresseTableViewController : UITableViewController
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
-85
@@ -1,85 +0,0 @@
|
||||
//
|
||||
// AreaInteresseTableViewController.m
|
||||
// Earthquake Network
|
||||
//
|
||||
// Created by Luca Beretta on 14/01/2019.
|
||||
// Copyright © 2019 Luca Beretta. All rights reserved.
|
||||
//
|
||||
|
||||
#import "AreaInteresseTableViewController.h"
|
||||
#import "EQNUtility.h"
|
||||
#import "EQNNotificheTsunami.h"
|
||||
|
||||
@interface AreaInteresseTableViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation AreaInteresseTableViewController
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
|
||||
if (![EQNNotificheTsunami center].listaAreeInteresse) {
|
||||
[EQNNotificheTsunami center].listaAreeInteresse = [[EQNUtility arrayAreeInteresseTsunami] copy];
|
||||
[[EQNNotificheTsunami center] saveUserInfo];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#pragma mark - Table view data source
|
||||
|
||||
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
|
||||
return 1;
|
||||
}
|
||||
|
||||
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
|
||||
|
||||
return [EQNUtility arrayAreeInteresseTsunami].count;;
|
||||
|
||||
}
|
||||
|
||||
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
|
||||
|
||||
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cellSection"];
|
||||
UILabel *titolo = (UILabel *)[cell viewWithTag:1];
|
||||
titolo.text = NSLocalizedString(@"Area di interesse", @"titolo impostazioni notifiche");
|
||||
|
||||
return cell;
|
||||
|
||||
}
|
||||
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
|
||||
|
||||
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cellaSelezioneAbilita" forIndexPath:indexPath];
|
||||
UILabel *titolo = (UILabel *)[cell viewWithTag:1];
|
||||
titolo.text = [EQNUtility arrayAreeInteresseTsunami][indexPath.row];
|
||||
UILabel *stato = (UILabel *)[cell viewWithTag:2];
|
||||
stato.text = NSLocalizedString(@"Ricevi le notifiche dei sismi rilevati dalle agenzie nazionalie internazionali", @"voce menu");
|
||||
if ([[EQNNotificheTsunami center].listaAreeInteresse containsObject:titolo.text]){
|
||||
cell.accessoryType = UITableViewCellAccessoryCheckmark;
|
||||
titolo.textColor = [UIColor blackColor];
|
||||
stato.textColor = [UIColor blackColor];
|
||||
}else{
|
||||
cell.accessoryType = UITableViewCellAccessoryNone;
|
||||
titolo.textColor = [UIColor grayColor];
|
||||
stato.textColor = [UIColor grayColor];
|
||||
|
||||
}
|
||||
|
||||
return cell;
|
||||
}
|
||||
|
||||
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
|
||||
NSMutableArray *array = [[EQNNotificheTsunami center].listaAreeInteresse mutableCopy];
|
||||
NSString *selezioneEnete = [EQNUtility arrayAreeInteresseTsunami][indexPath.row];
|
||||
if ([array containsObject:selezioneEnete])
|
||||
[array removeObject:selezioneEnete];
|
||||
else
|
||||
[array addObject:selezioneEnete];
|
||||
|
||||
[EQNNotificheTsunami center].listaAreeInteresse = [NSArray arrayWithArray:array];
|
||||
[[EQNNotificheTsunami center] saveUserInfo];
|
||||
|
||||
[self.tableView reloadData];
|
||||
}
|
||||
@end
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
//
|
||||
// MessaggioInformativoTableViewController.h
|
||||
// Earthquake Network
|
||||
//
|
||||
// Created by Luca Beretta on 13/01/2019.
|
||||
// Copyright © 2019 Luca Beretta. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface MessaggioInformativoTableViewController : UITableViewController
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
-89
@@ -1,89 +0,0 @@
|
||||
//
|
||||
// MessaggioInformativoTableViewController.m
|
||||
// Earthquake Network
|
||||
//
|
||||
// Created by Luca Beretta on 13/01/2019.
|
||||
// Copyright © 2019 Luca Beretta. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MessaggioInformativoTableViewController.h"
|
||||
#import "EQNUtility.h"
|
||||
#import "EQNNotificheTsunami.h"
|
||||
|
||||
@interface MessaggioInformativoTableViewController ()
|
||||
|
||||
@end
|
||||
|
||||
@implementation MessaggioInformativoTableViewController
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
|
||||
if (![EQNNotificheTsunami center].listaMessaggi) {
|
||||
[EQNNotificheTsunami center].listaMessaggi = [[EQNUtility arrayMessaggiTsunami] copy];
|
||||
[[EQNNotificheTsunami center] saveUserInfo];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#pragma mark - Table view data source
|
||||
|
||||
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
|
||||
return 1;
|
||||
}
|
||||
|
||||
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
|
||||
return [EQNUtility arrayMessaggiTsunami].count;;
|
||||
}
|
||||
|
||||
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
|
||||
|
||||
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cellSection"];
|
||||
UILabel *titolo = (UILabel *)[cell viewWithTag:1];
|
||||
titolo.text = NSLocalizedString(@"Tipo messaggio", @"titolo impostazioni notifiche");
|
||||
|
||||
return cell;
|
||||
|
||||
}
|
||||
|
||||
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
|
||||
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cellaSelezioneAbilita" forIndexPath:indexPath];
|
||||
UILabel *titolo = (UILabel *)[cell viewWithTag:1];
|
||||
titolo.text = [EQNUtility arrayMessaggiTsunami][indexPath.row];
|
||||
UILabel *stato = (UILabel *)[cell viewWithTag:2];
|
||||
stato.text = NSLocalizedString(@"Ricevi le notifiche dei sismi rilevati dalle agenzie nazionalie internazionali", @"voce menu");
|
||||
|
||||
if ([[EQNNotificheTsunami center].listaMessaggi containsObject:titolo.text]){
|
||||
cell.accessoryType = UITableViewCellAccessoryCheckmark;
|
||||
titolo.textColor = [UIColor blackColor];
|
||||
stato.textColor = [UIColor blackColor];
|
||||
}
|
||||
else{
|
||||
|
||||
cell.accessoryType = UITableViewCellAccessoryNone;
|
||||
titolo.textColor = [UIColor grayColor];
|
||||
stato.textColor = [UIColor grayColor];
|
||||
}
|
||||
|
||||
|
||||
|
||||
return cell;
|
||||
}
|
||||
|
||||
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
|
||||
NSMutableArray *array = [[EQNNotificheTsunami center].listaMessaggi mutableCopy];
|
||||
NSString *selezioneEnete = [EQNUtility arrayMessaggiTsunami][indexPath.row];
|
||||
if ([array containsObject:selezioneEnete])
|
||||
[array removeObject:selezioneEnete];
|
||||
else
|
||||
[array addObject:selezioneEnete];
|
||||
|
||||
[EQNNotificheTsunami center].listaMessaggi = [NSArray arrayWithArray:array];
|
||||
[[EQNNotificheTsunami center] saveUserInfo];
|
||||
|
||||
[self.tableView reloadData];
|
||||
}
|
||||
|
||||
|
||||
@end
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
//
|
||||
// NotificheTsunamiTableViewController.h
|
||||
// Earthquake Network
|
||||
//
|
||||
// Created by Luca Beretta on 13/01/2019.
|
||||
// Copyright © 2019 Luca Beretta. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface NotificheTsunamiTableViewController : UITableViewController
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
-300
@@ -1,300 +0,0 @@
|
||||
//
|
||||
// NotificheTsunamiTableViewController.m
|
||||
// Earthquake Network
|
||||
//
|
||||
// Created by Luca Beretta on 13/01/2019.
|
||||
// Copyright © 2019 Luca Beretta. All rights reserved.
|
||||
//
|
||||
|
||||
#import "NotificheTsunamiTableViewController.h"
|
||||
#import "EQNNotificheTsunami.h"
|
||||
#import "TBDInputViewControllerData.h"
|
||||
#import "EQNUtility.h"
|
||||
|
||||
|
||||
@interface NotificheTsunamiTableViewController () <InputViewControllerDataDelegate, UITextFieldDelegate>
|
||||
@property (nonatomic, strong) NSArray *lista;
|
||||
@property (nonatomic, strong) NSArray *listaVibrazioni;
|
||||
@property (nonatomic, assign) BOOL isAbilitato;
|
||||
@property (nonatomic, assign) BOOL isIntervalloNotifiche;
|
||||
@property (nonatomic, strong) TBDInputViewControllerData *pikerViewController;
|
||||
@property (nonatomic, strong) NSString *oraInizio;
|
||||
@property (nonatomic, strong) NSString *oraFine;
|
||||
@property (nonatomic, strong) UITextField *textFildInizio;
|
||||
@property (nonatomic, strong) UITextField *textFildfine;
|
||||
@property (nonatomic, strong) UITextField *textFild;
|
||||
@property (nonatomic, strong) NSDateFormatter *dateFormatter;
|
||||
@property (nonatomic, strong) UIColor *textColor;
|
||||
|
||||
@end
|
||||
|
||||
@implementation NotificheTsunamiTableViewController
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
|
||||
self.lista = @[NSLocalizedString(@"Abilitato", @"voce menu"), /*NSLocalizedString(@"Tipo messaggio", @"voce menu"),*/ NSLocalizedString(@"Area di interesse", @"voce menu" )];
|
||||
|
||||
self.listaVibrazioni = @[NSLocalizedString(@"Modifica impostazioni", @"voce menu"), NSLocalizedString(@"Intervallo notifiche", @"voce menu"), NSLocalizedString(@"Ora inizio", @"voce menu"), NSLocalizedString(@"Ora fine", @"voce menu")];
|
||||
|
||||
self.pikerViewController = [[TBDInputViewControllerData alloc] initWithNibName:@"TBDInputViewControllerData" bundle:nil];
|
||||
self.pikerViewController.delegate = self;
|
||||
|
||||
self.dateFormatter = [[NSDateFormatter alloc] init];
|
||||
[self.dateFormatter setDateFormat:@"HH:mm"];
|
||||
self.textColor = [UIColor colorWithRed:0 green:0.5647 blue:0.317 alpha:1];
|
||||
|
||||
[self setupView];
|
||||
}
|
||||
-(void)setupView{
|
||||
|
||||
self.isAbilitato = [EQNNotificheTsunami center].isAbilitato;
|
||||
self.isIntervalloNotifiche = [EQNNotificheTsunami center].isIntervalloNotifiche;
|
||||
|
||||
if ([EQNNotificheTsunami center].oraioInizio)
|
||||
self.oraInizio = [self.dateFormatter stringFromDate:[EQNNotificheTsunami center].oraioInizio];
|
||||
else
|
||||
self.oraInizio = @"8:00";
|
||||
if ([EQNNotificheTsunami center].orarioFine)
|
||||
self.oraFine = [self.dateFormatter stringFromDate:[EQNNotificheTsunami center].orarioFine];
|
||||
else
|
||||
self.oraFine = @"22:00";
|
||||
|
||||
[self.tableView reloadData];
|
||||
}
|
||||
#pragma mark - Table view data source
|
||||
|
||||
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
|
||||
return 1;
|
||||
}
|
||||
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
|
||||
|
||||
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cellSection"];
|
||||
UILabel *titolo = (UILabel *)[cell viewWithTag:1];
|
||||
if (section == 0)
|
||||
titolo.text = NSLocalizedString(@"Notifiche tsunami", @"titolo impostazioni notifiche");
|
||||
else
|
||||
titolo.text = NSLocalizedString(@"Vibrazioni e suono", @"titolo impostazioni notifiche");
|
||||
|
||||
return cell;
|
||||
|
||||
}
|
||||
|
||||
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
|
||||
if (section == 0)
|
||||
return self.lista.count;
|
||||
else
|
||||
return self.listaVibrazioni.count;
|
||||
|
||||
}
|
||||
|
||||
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
|
||||
if (indexPath.section == 0)
|
||||
switch (indexPath.row) {
|
||||
case 0:
|
||||
return 90;
|
||||
break;
|
||||
|
||||
default:
|
||||
return 60;
|
||||
break;
|
||||
}
|
||||
|
||||
switch (indexPath.row) {
|
||||
case 0:
|
||||
return 60;
|
||||
break;
|
||||
|
||||
default:
|
||||
return 90;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
|
||||
|
||||
if (indexPath.section == 0) {
|
||||
switch (indexPath.row) {
|
||||
case 0:{
|
||||
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cellaSelezioneAbilita" forIndexPath:indexPath];
|
||||
UILabel *titolo = (UILabel *)[cell viewWithTag:1];
|
||||
titolo.text = self.lista[indexPath.row];
|
||||
UILabel *stato = (UILabel *)[cell viewWithTag:2];
|
||||
stato.text = NSLocalizedString(@"Ricevi le notifiche per i messaggi rilasciati dal Pacific Tsunami Warning Center", @"voce menu");
|
||||
if (self.isAbilitato){
|
||||
cell.accessoryType = UITableViewCellAccessoryCheckmark;
|
||||
titolo.textColor = [UIColor blackColor];
|
||||
stato.textColor = [UIColor blackColor];
|
||||
}
|
||||
else{
|
||||
cell.accessoryType = UITableViewCellAccessoryNone;
|
||||
titolo.textColor = [UIColor grayColor];
|
||||
stato.textColor = [UIColor grayColor];
|
||||
}
|
||||
return cell;
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
default:{
|
||||
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"impostazioniNotifiche" forIndexPath:indexPath];
|
||||
UILabel *titolo = (UILabel *)[cell viewWithTag:1];
|
||||
titolo.text = self.lista[indexPath.row];
|
||||
if (self.isAbilitato){
|
||||
titolo.textColor = [UIColor blackColor];
|
||||
}
|
||||
else{
|
||||
titolo.textColor = [UIColor grayColor];
|
||||
}
|
||||
|
||||
|
||||
return cell;
|
||||
|
||||
}break;
|
||||
}
|
||||
|
||||
}
|
||||
switch (indexPath.row) {
|
||||
|
||||
case 0:{
|
||||
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cellaEtichettaRossa" forIndexPath:indexPath];
|
||||
UILabel *titolo = (UILabel *)[cell viewWithTag:1];
|
||||
titolo.text = self.listaVibrazioni[indexPath.row];
|
||||
titolo.textColor = [UIColor blackColor];
|
||||
return cell;
|
||||
}
|
||||
break;
|
||||
case 1:{
|
||||
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cellaSelezioneAbilita" forIndexPath:indexPath];
|
||||
UILabel *titolo = (UILabel *)[cell viewWithTag:1];
|
||||
titolo.text = self.listaVibrazioni[indexPath.row];
|
||||
UILabel *stato = (UILabel *)[cell viewWithTag:2];
|
||||
stato.text = NSLocalizedString(@"Ricevi le notifiche per i messaggi rilasciati dal Pacific Tsunami Warning Center", @"voce menu");
|
||||
if (self.isIntervalloNotifiche){
|
||||
cell.accessoryType = UITableViewCellAccessoryCheckmark;
|
||||
titolo.textColor = [UIColor blackColor];
|
||||
stato.textColor = [UIColor blackColor];
|
||||
}
|
||||
else{
|
||||
cell.accessoryType = UITableViewCellAccessoryNone;
|
||||
titolo.textColor = [UIColor grayColor];
|
||||
stato.textColor = [UIColor grayColor];
|
||||
}
|
||||
return cell;
|
||||
}
|
||||
break;
|
||||
case 2:{
|
||||
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cellaOrario" forIndexPath:indexPath];
|
||||
UILabel *titolo = (UILabel *)[cell viewWithTag:1];
|
||||
titolo.text = self.listaVibrazioni[indexPath.row];
|
||||
self.textFildInizio = (UITextField *)[cell viewWithTag:2];
|
||||
self.textFildInizio.delegate = self;
|
||||
self.textFildInizio.inputView = self.pikerViewController.view;
|
||||
self.textFildInizio.text = self.oraInizio;
|
||||
self.textFildInizio.enabled = self.isIntervalloNotifiche;
|
||||
if (self.isIntervalloNotifiche) {
|
||||
titolo.textColor = [UIColor blackColor];
|
||||
self.textFildInizio.textColor = self.textColor;
|
||||
}
|
||||
else{
|
||||
titolo.textColor = [UIColor grayColor];
|
||||
self.textFildInizio.textColor = [UIColor grayColor];
|
||||
}
|
||||
return cell;
|
||||
|
||||
}
|
||||
break;
|
||||
default:{
|
||||
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cellaOrario" forIndexPath:indexPath];
|
||||
UILabel *titolo = (UILabel *)[cell viewWithTag:1];
|
||||
titolo.text = self.listaVibrazioni[indexPath.row];
|
||||
self.textFildfine = (UITextField *)[cell viewWithTag:2];
|
||||
self.textFildfine.delegate = self;
|
||||
self.textFildfine.inputView = self.pikerViewController.view;
|
||||
self.textFildfine.text = self.oraFine;
|
||||
self.textFildfine.enabled = self.isIntervalloNotifiche;
|
||||
if (self.isIntervalloNotifiche) {
|
||||
titolo.textColor = [UIColor blackColor];
|
||||
self.textFildfine.textColor = self.textColor;
|
||||
}
|
||||
else{
|
||||
titolo.textColor = [UIColor grayColor];
|
||||
self.textFildfine.textColor = [UIColor grayColor];
|
||||
}
|
||||
return cell;
|
||||
|
||||
}break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
|
||||
if(indexPath.section == 0)
|
||||
switch (indexPath.row) {
|
||||
case 0:{
|
||||
self.isAbilitato = !self.isAbilitato;
|
||||
[EQNNotificheTsunami center].isAbilitato = self.isAbilitato;
|
||||
[[EQNNotificheTsunami center] saveUserInfo];
|
||||
[self.tableView reloadData];
|
||||
}break;
|
||||
/* case 1:
|
||||
if (self.isAbilitato)
|
||||
[self performSegueWithIdentifier:@"messaggioInformativo" sender:nil];
|
||||
break;*/
|
||||
case 1:{
|
||||
if (self.isAbilitato)
|
||||
[self performSegueWithIdentifier:@"areaInteresse" sender:nil];
|
||||
}break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
else{
|
||||
|
||||
switch (indexPath.row) {
|
||||
case 1:{
|
||||
self.isIntervalloNotifiche = !self.isIntervalloNotifiche;
|
||||
[EQNNotificheTsunami center].isIntervalloNotifiche = self.isIntervalloNotifiche;
|
||||
[[EQNNotificheTsunami center] saveUserInfo];
|
||||
[self.tableView reloadData];
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# pragma textFild delegate
|
||||
- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField{
|
||||
|
||||
self.textFild = textField;
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
# pragma mark pikerViewdata data
|
||||
|
||||
-(void)dataSelezionata:(NSDate *)data withTextFild:(UITextField *)textFild{
|
||||
|
||||
self.textFild.text = [self.dateFormatter stringFromDate:data];
|
||||
if (self.textFild == self.textFildInizio)
|
||||
[EQNNotificheTsunami center].oraioInizio = data;
|
||||
else
|
||||
[EQNNotificheTsunami center].orarioFine = data;
|
||||
|
||||
[[EQNNotificheTsunami center] saveUserInfo];
|
||||
[self setupView];
|
||||
|
||||
[self.tableView endEditing:YES];
|
||||
|
||||
}
|
||||
|
||||
-(void)esci{
|
||||
|
||||
[self.tableView endEditing:YES];
|
||||
}
|
||||
@end
|
||||
@@ -30,8 +30,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
+ (NSArray<NSString *> *)arrayRaggioSismi;
|
||||
+(NSArray *)arrayEnti DEPRECATED_MSG_ATTRIBUTE("Use [EQNData seismicNetworks] instead");
|
||||
+(NSArray *)arrayDescrizioneEnti DEPRECATED_MSG_ATTRIBUTE("Use [EQNData seismicNetworkAcronyms] instead");;
|
||||
+(NSArray *)arrayMessaggiTsunami;
|
||||
+(NSArray *)arrayAreeInteresseTsunami;
|
||||
+(NSArray *)arrayNazioni;
|
||||
+(NSArray *)arrayRetisismicheFiltrate:(NSArray *)list;
|
||||
+(UIViewController *)shareFileWithPath:(id)path;
|
||||
|
||||
@@ -263,16 +263,6 @@
|
||||
NSLocalizedString(@"Globale",@"EMSC") ];
|
||||
}
|
||||
|
||||
+(NSArray *)arrayMessaggiTsunami{
|
||||
|
||||
return @[NSLocalizedString(@"Messaggio informativo", @"voce elenco messaggio tsunami"), NSLocalizedString(@"Valutazione Tsunami", @"voce elenco messaggio tsunami"), NSLocalizedString(@"Supplemento di valutazione", @"voce elenco messaggio tsunami"), NSLocalizedString(@"Valutazione cancellata", @"voce elenco messaggio tsunami"), NSLocalizedString(@"Allerta Tsunami", @"voce elenco messaggio tsunami"), NSLocalizedString(@"Supplemento di allerta", @"voce elenco messaggio tsunami"), NSLocalizedString(@"Allerta cancellata", @"voce elenco messaggio tsunami"), NSLocalizedString(@"Pericolo tsunami", @"voce elenco messaggio tsunami"), NSLocalizedString(@"Pericolo cessato", @"voce elenco messaggio tsunami")];
|
||||
}
|
||||
+(NSArray *)arrayAreeInteresseTsunami{
|
||||
|
||||
return @[NSLocalizedString(@"Mar dei Caraibi", @"voce elenco aree tsunami"), NSLocalizedString(@"Oceano Pacifico", @"voce elenco aree tsunami"), NSLocalizedString(@"Isole Hawaii", @"voce elenco aree tsunami")];
|
||||
|
||||
}
|
||||
|
||||
+ (GADBannerView *)ottieniBannerWithController:(UIViewController *)controller position:(BOOL)isButton
|
||||
{
|
||||
if ([EQNPurchaseUtility isProVersionEnabled]) {
|
||||
|
||||
Reference in New Issue
Block a user