Manos Chorianopoulos

new Telematics screens and assets

Showing 31 changed files with 261 additions and 9 deletions
......@@ -14,6 +14,9 @@
1E108A9428A3F9280008B8E7 /* pf_square_sans_pro_extra_black.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 1E108A8F28A3F9280008B8E7 /* pf_square_sans_pro_extra_black.ttf */; };
1E108A9528A3F9280008B8E7 /* pf_square_sans_pro_bold_italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 1E108A9028A3F9280008B8E7 /* pf_square_sans_pro_bold_italic.ttf */; };
1E108A9628A3F9280008B8E7 /* pf_square_sans_pro_bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 1E108A9128A3F9280008B8E7 /* pf_square_sans_pro_bold.ttf */; };
1E1489752AB48D6400D332BE /* TelematicsMainViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E1489742AB48D6400D332BE /* TelematicsMainViewController.swift */; };
1E1489772AB49EA300D332BE /* TelematicsHistoryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E1489762AB49EA300D332BE /* TelematicsHistoryViewController.swift */; };
1E1489792AB49EC600D332BE /* TelematicsHistoryAnalysisViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E1489782AB49EC600D332BE /* TelematicsHistoryAnalysisViewController.swift */; };
1E151F1829DAE48500951FA0 /* UnifiedCouponsTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E151F1729DAE48500951FA0 /* UnifiedCouponsTableViewCell.swift */; };
1E151F1A29DAE4D500951FA0 /* ActiveCodeTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E151F1929DAE4D500951FA0 /* ActiveCodeTableViewCell.swift */; };
1E15B9A229DDCF02000A408D /* MarketSharingHistoryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E15B9A129DDCF02000A408D /* MarketSharingHistoryViewController.swift */; };
......@@ -199,6 +202,9 @@
1E108A9028A3F9280008B8E7 /* pf_square_sans_pro_bold_italic.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = pf_square_sans_pro_bold_italic.ttf; sourceTree = "<group>"; };
1E108A9128A3F9280008B8E7 /* pf_square_sans_pro_bold.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = pf_square_sans_pro_bold.ttf; sourceTree = "<group>"; };
1E108A9728A3FA9B0008B8E7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
1E1489742AB48D6400D332BE /* TelematicsMainViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TelematicsMainViewController.swift; sourceTree = "<group>"; };
1E1489762AB49EA300D332BE /* TelematicsHistoryViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TelematicsHistoryViewController.swift; sourceTree = "<group>"; };
1E1489782AB49EC600D332BE /* TelematicsHistoryAnalysisViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TelematicsHistoryAnalysisViewController.swift; sourceTree = "<group>"; };
1E151F1729DAE48500951FA0 /* UnifiedCouponsTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UnifiedCouponsTableViewCell.swift; sourceTree = "<group>"; };
1E151F1929DAE4D500951FA0 /* ActiveCodeTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ActiveCodeTableViewCell.swift; sourceTree = "<group>"; };
1E15B9A129DDCF02000A408D /* MarketSharingHistoryViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MarketSharingHistoryViewController.swift; sourceTree = "<group>"; };
......@@ -537,6 +543,9 @@
1EB236AE28816CAB0063777A /* NumbersTableViewCell.swift */,
1EB5F4C728536FD60016F36E /* StepsViewController.swift */,
1EF228472AA73E48009DF715 /* TelematicsViewController.swift */,
1E1489742AB48D6400D332BE /* TelematicsMainViewController.swift */,
1E1489762AB49EA300D332BE /* TelematicsHistoryViewController.swift */,
1E1489782AB49EC600D332BE /* TelematicsHistoryAnalysisViewController.swift */,
E6A77860282933E40045BBA8 /* MyApi.h */,
E6A778DC282933E60045BBA8 /* MyApi.m */,
E6A77862282933E50045BBA8 /* MyEmptyClass.swift */,
......@@ -962,6 +971,7 @@
A02F34052882B6E60086465F /* TelcoViewController.swift in Sources */,
E6A77901282933E60045BBA8 /* WLBaseItem.m in Sources */,
1E74838D28378AF40042A589 /* CouponBarcodeViewController.swift in Sources */,
1E1489792AB49EC600D332BE /* TelematicsHistoryAnalysisViewController.swift in Sources */,
1E479FB329DD948B00C38193 /* WalletBadgesTableViewCell.swift in Sources */,
1E151F1829DAE48500951FA0 /* UnifiedCouponsTableViewCell.swift in Sources */,
E6A778F0282933E60045BBA8 /* WLNativeAdsCollectionMode.m in Sources */,
......@@ -1021,6 +1031,7 @@
E6A77A36282BB4CB0045BBA8 /* MakeItAPresentViewController.swift in Sources */,
E6A77947282933E70045BBA8 /* FMDatabaseQueue.m in Sources */,
E6A77922282933E60045BBA8 /* NSData+SSToolkitAdditions.m in Sources */,
1E1489752AB48D6400D332BE /* TelematicsMainViewController.swift in Sources */,
1EA771AC290977CA0030924C /* CopyableLabel.swift in Sources */,
1EB236AB28816B680063777A /* ShareViewController.swift in Sources */,
1EF228482AA73E48009DF715 /* TelematicsViewController.swift in Sources */,
......@@ -1047,6 +1058,7 @@
A04D31DE288FF670000E43B5 /* HistoryViewController.swift in Sources */,
E6A7792A282933E70045BBA8 /* AFNetworkActivityIndicatorManager.m in Sources */,
E6A77914282933E60045BBA8 /* WLUserManager.m in Sources */,
1E1489772AB49EA300D332BE /* TelematicsHistoryViewController.swift in Sources */,
1EB236AF28816CAC0063777A /* NumbersTableViewCell.swift in Sources */,
E6A7794F282933E70045BBA8 /* FMDatabasePool.m in Sources */,
1EB236AD28816C560063777A /* NumberPopupViewController.swift in Sources */,
......
......@@ -300,7 +300,6 @@
<color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<connections>
<action selector="redeemButtomAction:" destination="CDt-eI-msA" eventType="touchUpInside" id="ZgM-FV-cPH"/>
<action selector="tripButtonTapped:" destination="CkE-e6-QAc" eventType="touchUpInside" id="hmd-Ue-s8Z"/>
</connections>
</button>
......@@ -392,7 +391,52 @@
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="MGA-l3-4Jz" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="138" y="1545"/>
<point key="canvasLocation" x="116" y="2238"/>
</scene>
<!--Telematics Main View Controller-->
<scene sceneID="BFY-HZ-rDp">
<objects>
<viewController storyboardIdentifier="TelematicsMainViewController" id="rLq-1b-nGI" customClass="TelematicsMainViewController" customModule="SwiftWarplyFramework" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="x7s-zd-bAg">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<viewLayoutGuide key="safeArea" id="LMR-ha-1z2"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="aRH-Fl-OPs" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="867" y="2238"/>
</scene>
<!--Telematics History View Controller-->
<scene sceneID="ax9-8b-0Xf">
<objects>
<viewController storyboardIdentifier="TelematicsHistoryViewController" id="niq-m0-9T8" customClass="TelematicsHistoryViewController" customModule="SwiftWarplyFramework" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Ijr-jl-PS2">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<viewLayoutGuide key="safeArea" id="4r4-t4-51H"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="fXf-uN-H7T" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1612" y="2238"/>
</scene>
<!--Telematics History Analysis View Controller-->
<scene sceneID="tnC-G4-NTO">
<objects>
<viewController storyboardIdentifier="TelematicsHistoryAnalysisViewController" id="3e7-Qu-SLH" customClass="TelematicsHistoryAnalysisViewController" customModule="SwiftWarplyFramework" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="dBw-ap-NHM">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<viewLayoutGuide key="safeArea" id="xmW-KJ-2ba"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="HvF-nf-rXv" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="2341" y="2238"/>
</scene>
<!--Details View Controller-->
<scene sceneID="TPv-Bl-CUP">
......@@ -2532,7 +2576,7 @@
<rect key="frame" x="0.0" y="947.5" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="TeS-tP-Ilh" id="FFV-uA-HHA">
<rect key="frame" x="0.0" y="0.0" width="600" height="44"/>
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="AV7-t1-eK0">
......@@ -2759,7 +2803,7 @@
<rect key="frame" x="0.0" y="991.5" width="414" height="404"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="fgI-zL-RPZ" id="gNB-PU-R1J">
<rect key="frame" x="0.0" y="0.0" width="600" height="404"/>
<rect key="frame" x="0.0" y="0.0" width="414" height="404"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="IZz-Fy-5Iv">
......
{
"images" : [
{
"filename" : "cosmote_insurance_logo.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "cosmote_insurance_logo 1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "cosmote_insurance_logo 2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "tel_driving_percentage.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "tel_driving_percentage 1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "tel_driving_percentage 2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "tel_driving_rating.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "tel_driving_rating 1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "tel_driving_rating 2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "tel_history_bg.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "tel_history_bg 1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "tel_history_bg 2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "tel_thumbs_down_gray.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "tel_thumbs_down_gray 1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "tel_thumbs_down_gray 2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
{
"images" : [
{
"filename" : "tel_thumbs_up_gray.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "tel_thumbs_up_gray 1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "tel_thumbs_up_gray 2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
//
// TelematicsHistoryAnalysisViewController.swift
// SwiftWarplyFramework
//
// Created by Manos Chorianopoulos on 15/9/23.
//
import UIKit
@objc public class TelematicsHistoryAnalysisViewController: UIViewController {
public override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/
}
//
// TelematicsHistoryViewController.swift
// SwiftWarplyFramework
//
// Created by Manos Chorianopoulos on 15/9/23.
//
import UIKit
@objc public class TelematicsHistoryViewController: UIViewController {
public override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/
}
......@@ -498,8 +498,8 @@ import CoreMotion
}
}
extension Double {
func toRadians() -> Double {
return self * .pi / 180.0
}
}
//extension Double {
// func toRadians() -> Double {
// return self * .pi / 180.0
// }
//}
......