Manos Chorianopoulos

new Screens and fonts

Showing 28 changed files with 147 additions and 31 deletions
......@@ -7,7 +7,7 @@
<key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
<integer>0</integer>
</dict>
</dict>
</dict>
......
......@@ -7,7 +7,7 @@
<key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>1</integer>
</dict>
</dict>
</dict>
......
......@@ -2,32 +2,11 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSMotionUsageDescription</key>
<string>We are using motion usage in order to track your step count.</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>My Cosmote App would like to use your location to show you the nearest stores on the map.</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>My Cosmote App would like to use your location to show you the nearest stores on the map.</string>
<key>NSLocationUsageDescription</key>
<string>My Cosmote App would like to use your location to show you the nearest stores on the map.</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>My Cosmote App would like to use your location to show you the nearest stores on the map.</string>
<key>UIAppFonts</key>
<array>
<string>pf_square_sans_pro_bold_italic.ttf</string>
<string>pf_square_sans_pro_bold.ttf</string>
<string>pf_square_sans_pro_medium.ttf</string>
<string>pf_square_sans_pro_regular.ttf</string>
<string>pf_square_sans_pro_extra_black.ttf</string>
<string>BTCosmo-Bold.ttf</string>
<string>PeridotPE-Bold.ttf</string>
<string>PeridotPE-BoldItalic.ttf</string>
<string>PeridotPE-ExtraBold.ttf</string>
<string>PeridotPE-ExtraBoldItalic.ttf</string>
<string>PeridotPE-Italic.ttf</string>
<string>PeridotPE-Regular.ttf</string>
<string>PeridotPE-SemiBold.ttf</string>
<string>PeridotPE-SemiBoldItalic.ttf</string>
<string>PingLCG-Regular.otf</string>
<string>PingLCG-Bold.otf</string>
<string>PingLCG-Light.otf</string>
</array>
</dict>
</plist>
......
......@@ -2,9 +2,9 @@
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="23094" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23084"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
......@@ -59,5 +59,55 @@
</objects>
<point key="canvasLocation" x="1612" y="836"/>
</scene>
<!--My Rewards View Controller-->
<scene sceneID="5Z9-7e-Je2">
<objects>
<viewController storyboardIdentifier="MyRewardsViewController" hidesBottomBarWhenPushed="YES" id="jxe-K1-tsM" customClass="MyRewardsViewController" customModule="SwiftWarplyFramework" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="7On-xX-YH2">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<viewLayoutGuide key="safeArea" id="FWy-UE-2yz"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="LyN-Rp-e1b" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1612" y="1524"/>
</scene>
<!--Coupon View Controller-->
<scene sceneID="bP1-cV-tDs">
<objects>
<viewController storyboardIdentifier="CouponViewController" hidesBottomBarWhenPushed="YES" id="Xnq-6m-m5u" customClass="CouponViewController" customModule="SwiftWarplyFramework" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="y8p-ue-j03">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<viewLayoutGuide key="safeArea" id="Yhf-yE-F6H"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="J6B-II-nQj" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="2404" y="1523"/>
</scene>
<!--Profile View Controller-->
<scene sceneID="AbC-Ib-qRG">
<objects>
<viewController storyboardIdentifier="ProfileViewController" hidesBottomBarWhenPushed="YES" id="rbu-6X-c3M" customClass="ProfileViewController" customModule="SwiftWarplyFramework" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="yoY-dq-4TL">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<viewLayoutGuide key="safeArea" id="Kzt-Ka-PII"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="Q75-tr-lP9" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="3190" y="1523"/>
</scene>
</scenes>
<resources>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources>
</document>
......
......@@ -160,16 +160,16 @@ extension UIViewController {
if UIDevice.current.userInterfaceIdiom == .pad {
// iPad
if (fontWeight == "bold") {
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 21)
titleLabel.font = UIFont(name: "PingLCG-Bold", size: 21)
} else {
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 21)
titleLabel.font = UIFont(name: "PingLCG-Bold", size: 21)
}
} else {
// not iPad (iPhone, mac, tv, carPlay, unspecified)
if (fontWeight == "bold") {
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19)
titleLabel.font = UIFont(name: "PingLCG-Bold", size: 19)
} else {
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19)
titleLabel.font = UIFont(name: "PingLCG-Bold", size: 19)
}
}
titleLabel.adjustsFontSizeToFitWidth = true
......
//
// CouponViewController.swift
// SwiftWarplyFramework
//
// Created by Manos Chorianopoulos on 22/5/25.
//
import UIKit
class CouponViewController: UIViewController {
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.
}
*/
}
//
// MyRewardsViewController.swift
// SwiftWarplyFramework
//
// Created by Manos Chorianopoulos on 22/5/25.
//
import UIKit
class MyRewardsViewController: UIViewController {
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.
}
*/
}
//
// ProfileViewController.swift
// SwiftWarplyFramework
//
// Created by Manos Chorianopoulos on 22/5/25.
//
import UIKit
class ProfileViewController: UIViewController {
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.
}
*/
}