Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9b2d758e90 |
@@ -1,10 +1,5 @@
|
||||
# Changelog
|
||||
|
||||
## Versione 2.2.1
|
||||
|
||||
### Build (24)
|
||||
- Corretto problema in salvataggio impostazione allerte in tempo reale
|
||||
|
||||
## Versione 2.2
|
||||
|
||||
### Build (19)
|
||||
|
||||
@@ -1250,12 +1250,12 @@
|
||||
buildSettings = {
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
CURRENT_PROJECT_VERSION = 24;
|
||||
CURRENT_PROJECT_VERSION = 19;
|
||||
DEVELOPMENT_TEAM = WJA4MR4CPC;
|
||||
INFOPLIST_FILE = EQNNotificationService/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
|
||||
MARKETING_VERSION = 2.2.1;
|
||||
MARKETING_VERSION = 2.2;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.finazzi.distquake.EQNNotificationService;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "Earthquake Network Extensions - Development";
|
||||
@@ -1272,12 +1272,12 @@
|
||||
buildSettings = {
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
CURRENT_PROJECT_VERSION = 24;
|
||||
CURRENT_PROJECT_VERSION = 19;
|
||||
DEVELOPMENT_TEAM = WJA4MR4CPC;
|
||||
INFOPLIST_FILE = EQNNotificationService/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
|
||||
MARKETING_VERSION = 2.2.1;
|
||||
MARKETING_VERSION = 2.2;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.finazzi.distquake.EQNNotificationService;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "Earthquake Network Extensions - Development";
|
||||
@@ -1408,14 +1408,14 @@
|
||||
CODE_SIGN_ENTITLEMENTS = "Earthquake Network/Earthquake Network.entitlements";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
CURRENT_PROJECT_VERSION = 24;
|
||||
CURRENT_PROJECT_VERSION = 19;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
DEFINES_MODULE = YES;
|
||||
DEVELOPMENT_TEAM = WJA4MR4CPC;
|
||||
GCC_PREFIX_HEADER = "Earthquake Network/Earthquake Network-Prefix.pch";
|
||||
INFOPLIST_FILE = "Earthquake Network/Info.plist";
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||
MARKETING_VERSION = 2.2.1;
|
||||
MARKETING_VERSION = 2.2;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.finazzi.distquake;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE = "";
|
||||
@@ -1436,13 +1436,13 @@
|
||||
CODE_SIGN_ENTITLEMENTS = "Earthquake Network/Earthquake Network.entitlements";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
CURRENT_PROJECT_VERSION = 24;
|
||||
CURRENT_PROJECT_VERSION = 19;
|
||||
DEFINES_MODULE = YES;
|
||||
DEVELOPMENT_TEAM = WJA4MR4CPC;
|
||||
GCC_PREFIX_HEADER = "Earthquake Network/Earthquake Network-Prefix.pch";
|
||||
INFOPLIST_FILE = "Earthquake Network/Info.plist";
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||
MARKETING_VERSION = 2.2.1;
|
||||
MARKETING_VERSION = 2.2;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.finazzi.distquake;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE = "";
|
||||
@@ -1458,12 +1458,12 @@
|
||||
buildSettings = {
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
CURRENT_PROJECT_VERSION = 24;
|
||||
CURRENT_PROJECT_VERSION = 19;
|
||||
DEVELOPMENT_TEAM = WJA4MR4CPC;
|
||||
INFOPLIST_FILE = EQNNotificationContent/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
|
||||
MARKETING_VERSION = 2.2.1;
|
||||
MARKETING_VERSION = 2.2;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.finazzi.distquake.EQNNotificationContent;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "Earthquake Network Extensions - Development";
|
||||
@@ -1480,12 +1480,12 @@
|
||||
buildSettings = {
|
||||
CLANG_ENABLE_MODULES = YES;
|
||||
CODE_SIGN_STYLE = Manual;
|
||||
CURRENT_PROJECT_VERSION = 24;
|
||||
CURRENT_PROJECT_VERSION = 19;
|
||||
DEVELOPMENT_TEAM = WJA4MR4CPC;
|
||||
INFOPLIST_FILE = EQNNotificationContent/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
|
||||
MARKETING_VERSION = 2.2.1;
|
||||
MARKETING_VERSION = 2.2;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.finazzi.distquake.EQNNotificationContent;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "Earthquake Network Extensions - Development";
|
||||
|
||||
@@ -315,148 +315,136 @@ In più sostieni il progetto di ricerca il quale non riceve finanziamenti estern
|
||||
<rect key="frame" x="0.0" y="44" width="320" height="420"/>
|
||||
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
|
||||
<prototypes>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="sismaCell" rowHeight="180" id="Uy7-8F-00Y" customClass="Cell_Reti_sismicheTableViewCell">
|
||||
<rect key="frame" x="0.0" y="28" width="320" height="180"/>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="sismaCell" rowHeight="173" id="Uy7-8F-00Y" customClass="Cell_Reti_sismicheTableViewCell">
|
||||
<rect key="frame" x="0.0" y="28" width="320" height="173"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="Uy7-8F-00Y" id="b34-tz-GdM">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="180"/>
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="173"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<view tag="100" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6Xa-LI-H3t">
|
||||
<rect key="frame" x="5" y="12" width="310" height="166"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="1" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" minimumFontSize="8" translatesAutoresizingMaskIntoConstraints="NO" id="pXK-JQ-Xeu">
|
||||
<rect key="frame" x="8" y="0.0" width="221" height="35"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="35" id="lu8-Ar-cIh"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="2" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lut-wL-P63">
|
||||
<rect key="frame" x="228" y="0.0" width="82" height="35"/>
|
||||
<color key="backgroundColor" red="1" green="0.87427129750690302" blue="0.86178211825250473" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="82" id="J9W-sr-e7n"/>
|
||||
<constraint firstAttribute="height" constant="35" id="ukD-wr-8Wx"/>
|
||||
</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>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="3" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Magnitudo" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZI0-eg-3Yd">
|
||||
<rect key="frame" x="5" y="49" width="91" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="21" id="2SL-Ov-G3f"/>
|
||||
<constraint firstAttribute="width" constant="91" id="YLa-4W-OCT"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="5" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Magnitudo" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="8" translatesAutoresizingMaskIntoConstraints="NO" id="xAb-RL-kXs">
|
||||
<rect key="frame" x="176" y="48" width="126" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="21" id="ils-Qj-pKv"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="4" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zKM-qV-ybx">
|
||||
<rect key="frame" x="82" y="40" width="91" height="36"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="36" id="Lde-UY-0e1"/>
|
||||
<constraint firstAttribute="width" constant="91" id="hS7-fo-8cF"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="6" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Magnitudo" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5y9-OK-Kfs">
|
||||
<rect key="frame" x="5" y="75" width="300" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="21" id="aAZ-9g-RsS"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="9" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Magnitudo" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vbK-LB-cEA">
|
||||
<rect key="frame" x="5" y="101" width="300" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="21" id="brj-91-V6q"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<button opaque="NO" tag="12" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="d8m-gN-HSj">
|
||||
<rect key="frame" x="5" y="128" width="147.5" height="30"/>
|
||||
<color key="backgroundColor" red="1" green="0.87427129749999999" blue="0.86178211829999996" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="30" id="pOS-M5-zYh"/>
|
||||
</constraints>
|
||||
<state key="normal" title="MAPPA">
|
||||
<color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
</state>
|
||||
</button>
|
||||
<button opaque="NO" tag="14" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gxf-sn-X3o">
|
||||
<rect key="frame" x="157.5" y="128" width="147.5" height="30"/>
|
||||
<color key="backgroundColor" red="1" green="0.87427129749999999" blue="0.86178211829999996" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="30" id="TkS-zj-C03"/>
|
||||
</constraints>
|
||||
<state key="normal" title="METEO">
|
||||
<color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
</state>
|
||||
</button>
|
||||
<stackView opaque="NO" contentMode="redraw" fixedFrame="YES" axis="vertical" alignment="bottom" spacing="1" translatesAutoresizingMaskIntoConstraints="NO" id="koL-F2-5Uj" userLabel="SV_Main">
|
||||
<rect key="frame" x="0.0" y="0.0" width="309" height="175"/>
|
||||
<subviews>
|
||||
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="s6k-gU-nfu">
|
||||
<rect key="frame" x="0.0" y="0.0" width="309" height="59"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="1" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Label" lineBreakMode="wordWrap" numberOfLines="2" baselineAdjustment="alignBaselines" minimumFontSize="8" translatesAutoresizingMaskIntoConstraints="NO" id="pXK-JQ-Xeu">
|
||||
<rect key="frame" x="0.0" y="0.0" width="217" height="59"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="35" id="lu8-Ar-cIh"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" name=".AppleSystemUIFont" family=".AppleSystemUIFont" pointSize="20"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="2" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lut-wL-P63">
|
||||
<rect key="frame" x="227" y="0.0" width="82" height="35"/>
|
||||
<color key="backgroundColor" red="1" green="0.87427129750690302" blue="0.86178211825250473" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="width" constant="82" id="J9W-sr-e7n"/>
|
||||
<constraint firstAttribute="height" constant="35" id="ukD-wr-8Wx"/>
|
||||
</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>
|
||||
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ukY-Dg-K1j">
|
||||
<rect key="frame" x="0.0" y="60" width="309" height="64"/>
|
||||
<subviews>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="3" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Magnitudo" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZI0-eg-3Yd">
|
||||
<rect key="frame" x="74" y="0.0" width="91" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="21" id="2SL-Ov-G3f"/>
|
||||
<constraint firstAttribute="width" constant="91" id="YLa-4W-OCT"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="4" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zKM-qV-ybx">
|
||||
<rect key="frame" x="15" y="26" width="91" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="36" id="Lde-UY-0e1"/>
|
||||
<constraint firstAttribute="width" constant="91" id="hS7-fo-8cF"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="6" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Magnitudo" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5y9-OK-Kfs">
|
||||
<rect key="frame" x="160" y="52" width="73.5" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="21" id="aAZ-9g-RsS"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="9" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Magnitudo" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vbK-LB-cEA">
|
||||
<rect key="frame" x="49" y="55" width="73.5" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="21" id="brj-91-V6q"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
<label opaque="NO" userInteractionEnabled="NO" tag="5" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Magnitudo" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="8" translatesAutoresizingMaskIntoConstraints="NO" id="xAb-RL-kXs">
|
||||
<rect key="frame" x="149" y="23" width="73.5" height="21"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="21" id="ils-Qj-pKv"/>
|
||||
</constraints>
|
||||
<fontDescription key="fontDescription" type="system" pointSize="15"/>
|
||||
<nil key="textColor"/>
|
||||
<nil key="highlightedColor"/>
|
||||
</label>
|
||||
</subviews>
|
||||
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
|
||||
</view>
|
||||
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="xJu-NM-EbJ">
|
||||
<rect key="frame" x="0.0" y="125" width="309" height="50"/>
|
||||
<subviews>
|
||||
<button opaque="NO" tag="12" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="d8m-gN-HSj">
|
||||
<rect key="frame" x="0.0" y="0.0" width="51" height="30"/>
|
||||
<color key="backgroundColor" red="1" green="0.87427129749999999" blue="0.86178211829999996" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="30" id="pOS-M5-zYh"/>
|
||||
</constraints>
|
||||
<state key="normal" title="MAPPA">
|
||||
<color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
</state>
|
||||
</button>
|
||||
<button opaque="NO" tag="14" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gxf-sn-X3o">
|
||||
<rect key="frame" x="244" y="0.0" width="51" height="30"/>
|
||||
<color key="backgroundColor" red="1" green="0.87427129749999999" blue="0.86178211829999996" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" constant="30" id="TkS-zj-C03"/>
|
||||
</constraints>
|
||||
<state key="normal" title="METEO">
|
||||
<color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
</state>
|
||||
</button>
|
||||
</subviews>
|
||||
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
|
||||
</view>
|
||||
</subviews>
|
||||
</stackView>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstItem="ZI0-eg-3Yd" firstAttribute="leading" secondItem="6Xa-LI-H3t" secondAttribute="leading" constant="5" id="2Ac-QG-qqY"/>
|
||||
<constraint firstItem="d8m-gN-HSj" firstAttribute="leading" secondItem="6Xa-LI-H3t" secondAttribute="leading" constant="5" id="4VM-ka-gKJ"/>
|
||||
<constraint firstItem="ZI0-eg-3Yd" firstAttribute="top" secondItem="pXK-JQ-Xeu" secondAttribute="bottom" constant="14" id="EOK-7I-6hK"/>
|
||||
<constraint firstItem="vbK-LB-cEA" firstAttribute="leading" secondItem="6Xa-LI-H3t" secondAttribute="leading" constant="5" id="EnM-jf-A6u"/>
|
||||
<constraint firstItem="gxf-sn-X3o" firstAttribute="leading" secondItem="d8m-gN-HSj" secondAttribute="trailing" constant="5" id="G9q-p3-io5"/>
|
||||
<constraint firstItem="zKM-qV-ybx" firstAttribute="top" secondItem="pXK-JQ-Xeu" secondAttribute="bottom" constant="5" id="HEG-fe-aEY"/>
|
||||
<constraint firstItem="zKM-qV-ybx" firstAttribute="leading" secondItem="ZI0-eg-3Yd" secondAttribute="trailing" constant="-14" id="IHJ-dy-feT"/>
|
||||
<constraint firstAttribute="trailing" secondItem="gxf-sn-X3o" secondAttribute="trailing" constant="5" id="JZH-3u-oZV"/>
|
||||
<constraint firstItem="pXK-JQ-Xeu" firstAttribute="top" secondItem="6Xa-LI-H3t" secondAttribute="top" id="Nlt-Sm-r1p"/>
|
||||
<constraint firstAttribute="trailing" secondItem="lut-wL-P63" secondAttribute="trailing" id="R75-Ue-BYQ"/>
|
||||
<constraint firstItem="xAb-RL-kXs" firstAttribute="top" secondItem="pXK-JQ-Xeu" secondAttribute="bottom" constant="13" id="TAh-HY-qZ5"/>
|
||||
<constraint firstAttribute="trailing" secondItem="vbK-LB-cEA" secondAttribute="trailing" constant="5" id="Tbg-RN-PZp"/>
|
||||
<constraint firstItem="d8m-gN-HSj" firstAttribute="leading" secondItem="6Xa-LI-H3t" secondAttribute="leading" constant="5" id="UdX-64-LLY"/>
|
||||
<constraint firstItem="lut-wL-P63" firstAttribute="leading" secondItem="pXK-JQ-Xeu" secondAttribute="trailing" constant="-1" id="WZM-Ud-Ej3"/>
|
||||
<constraint firstAttribute="height" constant="166" id="XwJ-by-wNU"/>
|
||||
<constraint firstAttribute="trailing" secondItem="xAb-RL-kXs" secondAttribute="trailing" constant="8" id="f9b-gh-Mc6"/>
|
||||
<constraint firstItem="d8m-gN-HSj" firstAttribute="top" secondItem="vbK-LB-cEA" secondAttribute="bottom" constant="6" id="i82-sd-XJM"/>
|
||||
<constraint firstItem="xAb-RL-kXs" firstAttribute="leading" secondItem="zKM-qV-ybx" secondAttribute="trailing" constant="3" id="lMK-M6-ybd"/>
|
||||
<constraint firstItem="lut-wL-P63" firstAttribute="top" secondItem="6Xa-LI-H3t" secondAttribute="top" id="mCw-kU-XI8"/>
|
||||
<constraint firstItem="5y9-OK-Kfs" firstAttribute="leading" secondItem="6Xa-LI-H3t" secondAttribute="leading" constant="5" id="mio-ht-GML"/>
|
||||
<constraint firstItem="5y9-OK-Kfs" firstAttribute="top" secondItem="zKM-qV-ybx" secondAttribute="bottom" constant="-1" id="pcC-27-1Qj"/>
|
||||
<constraint firstItem="gxf-sn-X3o" firstAttribute="top" secondItem="vbK-LB-cEA" secondAttribute="bottom" constant="6" id="qoS-fu-Zcy"/>
|
||||
<constraint firstItem="gxf-sn-X3o" firstAttribute="width" secondItem="d8m-gN-HSj" secondAttribute="width" id="tKh-RF-fQL"/>
|
||||
<constraint firstItem="pXK-JQ-Xeu" firstAttribute="leading" secondItem="6Xa-LI-H3t" secondAttribute="leading" constant="8" id="wUf-7s-5az"/>
|
||||
<constraint firstItem="vbK-LB-cEA" firstAttribute="top" secondItem="5y9-OK-Kfs" secondAttribute="bottom" constant="5" id="xHZ-Vf-Xoj"/>
|
||||
<constraint firstAttribute="trailing" secondItem="5y9-OK-Kfs" secondAttribute="trailing" constant="5" id="xdf-Gh-U4H"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<button opaque="NO" tag="300" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZjW-R6-6R7">
|
||||
<rect key="frame" x="5" y="5" width="310" height="120"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="120" id="Ec3-17-U9Y"/>
|
||||
<constraint firstAttribute="height" constant="120" id="Q0y-by-U55"/>
|
||||
</constraints>
|
||||
</button>
|
||||
</subviews>
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
<constraints>
|
||||
<constraint firstItem="ZjW-R6-6R7" firstAttribute="leading" secondItem="b34-tz-GdM" secondAttribute="leading" constant="5" id="CcE-3G-f0h"/>
|
||||
<constraint firstItem="6Xa-LI-H3t" firstAttribute="top" secondItem="b34-tz-GdM" secondAttribute="top" constant="12" id="EeO-IK-CCH"/>
|
||||
<constraint firstItem="ZjW-R6-6R7" firstAttribute="top" secondItem="b34-tz-GdM" secondAttribute="top" constant="5" id="KHX-UG-Tgq"/>
|
||||
<constraint firstAttribute="trailing" secondItem="ZjW-R6-6R7" secondAttribute="trailing" constant="5" id="Lf6-Dx-sL0"/>
|
||||
<constraint firstAttribute="trailing" secondItem="6Xa-LI-H3t" secondAttribute="trailing" constant="5" id="nOC-Di-b5E"/>
|
||||
<constraint firstItem="6Xa-LI-H3t" firstAttribute="leading" secondItem="b34-tz-GdM" secondAttribute="leading" constant="5" id="q6p-YV-bvz"/>
|
||||
</constraints>
|
||||
@@ -464,7 +452,7 @@ In più sostieni il progetto di ricerca il quale non riceve finanziamenti estern
|
||||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
||||
</tableViewCell>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="sismaCell_mappa" rowHeight="368" id="n2e-W1-Mvf" customClass="CellDettagliMappaTableViewCell">
|
||||
<rect key="frame" x="0.0" y="208" width="320" height="368"/>
|
||||
<rect key="frame" x="0.0" y="201" width="320" height="368"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="n2e-W1-Mvf" id="nHK-zJ-I1d">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="368"/>
|
||||
@@ -700,7 +688,7 @@ In più sostieni il progetto di ricerca il quale non riceve finanziamenti estern
|
||||
</connections>
|
||||
</tableViewCell>
|
||||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="sismaCell_meteo" rowHeight="368" id="YPf-Ft-FwZ" customClass="Cell_Meteo_TableViewCell">
|
||||
<rect key="frame" x="0.0" y="576" width="320" height="368"/>
|
||||
<rect key="frame" x="0.0" y="569" width="320" height="368"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="YPf-Ft-FwZ" id="HEO-bm-xgi">
|
||||
<rect key="frame" x="0.0" y="0.0" width="320" height="368"/>
|
||||
@@ -959,15 +947,25 @@ In più sostieni il progetto di ricerca il quale non riceve finanziamenti estern
|
||||
<constraint firstAttribute="height" constant="55" id="GGM-Kn-QVU"/>
|
||||
</constraints>
|
||||
</view>
|
||||
<button opaque="NO" tag="300" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZjW-R6-6R7">
|
||||
<rect key="frame" x="5" y="-26" width="73" height="76"/>
|
||||
<constraints>
|
||||
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="120" id="Ec3-17-U9Y"/>
|
||||
<constraint firstAttribute="height" constant="120" id="Q0y-by-U55"/>
|
||||
</constraints>
|
||||
</button>
|
||||
</subviews>
|
||||
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
|
||||
<constraints>
|
||||
<constraint firstItem="ZjW-R6-6R7" firstAttribute="top" secondItem="yYN-HE-bpD" secondAttribute="top" constant="-26" id="9Ea-ku-9NQ"/>
|
||||
<constraint firstItem="q4o-YO-KLX" firstAttribute="top" secondItem="VUD-fs-xgm" secondAttribute="top" id="IeK-TW-jL5"/>
|
||||
<constraint firstItem="Nac-25-EPW" firstAttribute="top" secondItem="q4o-YO-KLX" secondAttribute="bottom" id="TKT-yo-pRg"/>
|
||||
<constraint firstItem="ZjW-R6-6R7" firstAttribute="leading" secondItem="yYN-HE-bpD" secondAttribute="leading" constant="5" id="UiT-CT-Gf8"/>
|
||||
<constraint firstItem="Nac-25-EPW" firstAttribute="bottom" secondItem="VUD-fs-xgm" secondAttribute="bottom" id="YXT-r6-DPc"/>
|
||||
<constraint firstItem="q4o-YO-KLX" firstAttribute="leading" secondItem="VUD-fs-xgm" secondAttribute="leading" id="Yyx-Tc-hnn"/>
|
||||
<constraint firstItem="Nac-25-EPW" firstAttribute="trailing" secondItem="VUD-fs-xgm" secondAttribute="trailing" id="a5L-LI-EDT"/>
|
||||
<constraint firstItem="Nac-25-EPW" firstAttribute="leading" secondItem="VUD-fs-xgm" secondAttribute="leading" id="gFt-0T-8rP"/>
|
||||
<constraint firstAttribute="trailing" secondItem="ZjW-R6-6R7" secondAttribute="trailing" constant="5" id="hD2-w1-SMh"/>
|
||||
<constraint firstItem="VUD-fs-xgm" firstAttribute="trailing" secondItem="q4o-YO-KLX" secondAttribute="trailing" id="yd6-Pa-c2s"/>
|
||||
</constraints>
|
||||
<viewLayoutGuide key="safeArea" id="VUD-fs-xgm"/>
|
||||
|
||||
@@ -26,8 +26,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@property (nonatomic, strong) NSArray *listaMessaggi;
|
||||
@property (nonatomic, strong) NSArray *listaAreeInteresse;
|
||||
|
||||
+ (instancetype)center;
|
||||
- (void)saveUserInfo;
|
||||
+(EQNAllertaSismica *)center;
|
||||
-(void)saveUserInfo;
|
||||
-(void)removeUser;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@@ -8,47 +8,39 @@
|
||||
|
||||
#import "EQNAllertaSismica.h"
|
||||
#import "Costanti.h"
|
||||
|
||||
@implementation EQNAllertaSismica
|
||||
|
||||
#pragma mark - Singleton
|
||||
|
||||
+ (instancetype)center
|
||||
{
|
||||
+(EQNAllertaSismica *)center{
|
||||
|
||||
static EQNAllertaSismica *instance = nil;
|
||||
static dispatch_once_t onceToken;
|
||||
dispatch_once(&onceToken, ^{
|
||||
instance = [[self alloc] init];
|
||||
instance = [[self alloc]init];
|
||||
[instance initSingleton];
|
||||
});
|
||||
return instance;
|
||||
}
|
||||
|
||||
#pragma mark - Init
|
||||
|
||||
- (instancetype)init
|
||||
{
|
||||
self = [super init];
|
||||
if (self) {
|
||||
self.isAbilitato = [[NSUserDefaults standardUserDefaults] boolForKey:NOTIFICHE_ALLERA_SISMICA_ABILITATO];
|
||||
self.isSimiSenzaIntensita = NO; // parametro rimosso dalle impostazioni, manteniamo l'invio al server come false
|
||||
self.sismiDaNotificare = [[NSUserDefaults standardUserDefaults] objectForKey:NOTIFICHE_ALLERA_SISMICA_SISMI_DA_NOTIFICARE];
|
||||
self.raggioSismiLievi = [[NSUserDefaults standardUserDefaults] objectForKey:NOTIFICHE_ALLERA_SISMICA_RAGGIO_SISMI_LIEVI];
|
||||
self.tonoAllarme = [[NSUserDefaults standardUserDefaults] objectForKey:NOTIFICHE_ALLERA_SISMICA_TONO_ALLARME];
|
||||
if (!self.tonoAllarme) {
|
||||
self.tonoAllarme = @"alert_star_trek.wav";
|
||||
}
|
||||
self.isintervalloAllarme = [[NSUserDefaults standardUserDefaults] boolForKey:NOTIFICHE_ALLERA_SISMICA_ABILITA_INTERVALLO];
|
||||
self.oraioInizio = [[NSUserDefaults standardUserDefaults] objectForKey:NOTIFICHE_ALLERA_SISMICA_ORA_INIZIO];
|
||||
self.orarioFine = [[NSUserDefaults standardUserDefaults] objectForKey:NOTIFICHE_ALLERA_SISMICA_ORA_FINE];
|
||||
}
|
||||
return self;
|
||||
-(void)initSingleton{
|
||||
|
||||
self.isAbilitato = [[NSUserDefaults standardUserDefaults] boolForKey:NOTIFICHE_ALLERA_SISMICA_ABILITATO];
|
||||
self.isSimiSenzaIntensita = NO; // parametro rimosso dalle impostazioni, manteniamo l'invio al server come false
|
||||
self.sismiDaNotificare = [[NSUserDefaults standardUserDefaults] objectForKey:NOTIFICHE_ALLERA_SISMICA_SISMI_DA_NOTIFICARE];
|
||||
self.raggioSismiLievi = [[NSUserDefaults standardUserDefaults] objectForKey:NOTIFICHE_ALLERA_SISMICA_RAGGIO_SISMI_LIEVI];
|
||||
self.tonoAllarme = [[NSUserDefaults standardUserDefaults] objectForKey:NOTIFICHE_ALLERA_SISMICA_TONO_ALLARME];
|
||||
if (!self.tonoAllarme)
|
||||
self.tonoAllarme = @"alert_star_trek.wav";
|
||||
|
||||
self.isintervalloAllarme = [[NSUserDefaults standardUserDefaults] boolForKey:NOTIFICHE_ALLERA_SISMICA_ABILITA_INTERVALLO];
|
||||
self.oraioInizio = [[NSUserDefaults standardUserDefaults] objectForKey:NOTIFICHE_ALLERA_SISMICA_ORA_INIZIO];
|
||||
self.orarioFine = [[NSUserDefaults standardUserDefaults] objectForKey:NOTIFICHE_ALLERA_SISMICA_ORA_FINE];
|
||||
|
||||
|
||||
}
|
||||
|
||||
#pragma mark - Public
|
||||
|
||||
- (void)saveUserInfo
|
||||
{
|
||||
[[NSUserDefaults standardUserDefaults] setBool:self.isAbilitato forKey:NOTIFICHE_ALLERA_SISMICA_ABILITATO];
|
||||
-(void)saveUserInfo{
|
||||
|
||||
[[NSUserDefaults standardUserDefaults] setBool:self.isAbilitato forKey:NOTIFICHE_ABILITATO_TSUNAMI];
|
||||
[[NSUserDefaults standardUserDefaults] setObject:self.sismiDaNotificare forKey:NOTIFICHE_ALLERA_SISMICA_SISMI_DA_NOTIFICARE];
|
||||
[[NSUserDefaults standardUserDefaults] setObject:self.raggioSismiLievi forKey:NOTIFICHE_ALLERA_SISMICA_RAGGIO_SISMI_LIEVI];
|
||||
[[NSUserDefaults standardUserDefaults] setObject:self.tonoAllarme forKey:NOTIFICHE_ALLERA_SISMICA_TONO_ALLARME];
|
||||
@@ -56,6 +48,14 @@
|
||||
[[NSUserDefaults standardUserDefaults] setObject:self.oraioInizio forKey:NOTIFICHE_ALLERA_SISMICA_ORA_INIZIO];
|
||||
[[NSUserDefaults standardUserDefaults] setObject:self.orarioFine forKey:NOTIFICHE_ALLERA_SISMICA_ORA_FINE];
|
||||
[[NSUserDefaults standardUserDefaults] synchronize];
|
||||
|
||||
|
||||
}
|
||||
|
||||
-(void)removeUser{
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user