Browse Source

initial

single
Михаил Капелько 1 year ago
commit
acaaf68d9f
27 changed files with 282 additions and 0 deletions
  1. +2
    -0
      .gitignore
  2. +71
    -0
      app/Info.plist
  3. +13
    -0
      app/project.yml
  4. +7
    -0
      gen
  5. +21
    -0
      src/App.swift
  6. +116
    -0
      src/Assets.xcassets/AppIcon.appiconset/Contents.json
  7. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-1024.png
  8. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-120.png
  9. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-121.png
  10. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-152.png
  11. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-167.png
  12. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-180.png
  13. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-20.png
  14. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-29.png
  15. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-40.png
  16. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-41.png
  17. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-42.png
  18. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-58.png
  19. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-59.png
  20. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-60.png
  21. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-76.png
  22. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-80.png
  23. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-81.png
  24. BIN
      src/Assets.xcassets/AppIcon.appiconset/Icon-87.png
  25. +6
    -0
      src/Assets.xcassets/Contents.json
  26. +45
    -0
      src/LaunchScreen.storyboard
  27. +1
    -0
      src/Localizable.strings

+ 2
- 0
.gitignore View File

@@ -0,0 +1,2 @@
.DS_Store
*.xcodeproj

+ 71
- 0
app/Info.plist View File

@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>Bus</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>su.koren.pesochnicza</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>UIApplicationSceneManifest</key>
<dict>
<key>UIApplicationSupportsMultipleScenes</key>
<false/>
</dict>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UIRequiresFullScreen</key>
<true/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleURLSchemes</key>
<array>
<string>ivcs-auth</string>
</array>
</dict>
</array>
</dict>
</plist>

+ 13
- 0
app/project.yml View File

@@ -0,0 +1,13 @@
name: bus
options:
bundleIdPrefix: su.koren
targets:
pesochnicza:
type: application
platform: iOS
deploymentTarget: "14.0"
sources:
- path: "../src"
settings:
base:
INFOPLIST_FILE: Info.plist

+ 7
- 0
gen View File

@@ -0,0 +1,7 @@
#!/bin/bash

DIR=`dirname $0`

cd $DIR/app
xcodegen
#pod install

+ 21
- 0
src/App.swift View File

@@ -0,0 +1,21 @@
import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate
{
var window: UIWindow?

func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
window = UIWindow(frame: UIScreen.main.bounds)
let vc = UIViewController()
vc.view.backgroundColor = .gray
window?.rootViewController = vc
window?.backgroundColor = UIColor.white
window?.makeKeyAndVisible()

return true
}
}

+ 116
- 0
src/Assets.xcassets/AppIcon.appiconset/Contents.json View File

@@ -0,0 +1,116 @@
{
"images" : [
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-41.png",
"scale" : "2x"
},
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-60.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-59.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-87.png",
"scale" : "3x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-81.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-120.png",
"scale" : "3x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-121.png",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-180.png",
"scale" : "3x"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-20.png",
"scale" : "1x"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-40.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-58.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-42.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-80.png",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-152.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "Icon-167.png",
"scale" : "2x"
},
{
"size" : "1024x1024",
"idiom" : "ios-marketing",
"filename" : "Icon-1024.png",
"scale" : "1x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-1024.png View File

Before After
Width: 1024  |  Height: 1024  |  Size: 604KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-120.png View File

Before After
Width: 120  |  Height: 120  |  Size: 16KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-121.png View File

Before After
Width: 120  |  Height: 120  |  Size: 16KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-152.png View File

Before After
Width: 152  |  Height: 152  |  Size: 23KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-167.png View File

Before After
Width: 167  |  Height: 167  |  Size: 27KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-180.png View File

Before After
Width: 180  |  Height: 180  |  Size: 31KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-20.png View File

Before After
Width: 20  |  Height: 20  |  Size: 1.3KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-29.png View File

Before After
Width: 29  |  Height: 29  |  Size: 2.1KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-40.png View File

Before After
Width: 40  |  Height: 40  |  Size: 3.3KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-41.png View File

Before After
Width: 40  |  Height: 40  |  Size: 3.3KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-42.png View File

Before After
Width: 40  |  Height: 40  |  Size: 3.3KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-58.png View File

Before After
Width: 58  |  Height: 58  |  Size: 5.5KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-59.png View File

Before After
Width: 58  |  Height: 58  |  Size: 5.5KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-60.png View File

Before After
Width: 60  |  Height: 60  |  Size: 5.7KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-76.png View File

Before After
Width: 76  |  Height: 76  |  Size: 8.1KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-80.png View File

Before After
Width: 80  |  Height: 80  |  Size: 8.6KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-81.png View File

Before After
Width: 80  |  Height: 80  |  Size: 8.6KB

BIN
src/Assets.xcassets/AppIcon.appiconset/Icon-87.png View File

Before After
Width: 87  |  Height: 87  |  Size: 9.8KB

+ 6
- 0
src/Assets.xcassets/Contents.json View File

@@ -0,0 +1,6 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}

+ 45
- 0
src/LaunchScreen.storyboard View File

@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="siri.png" translatesAutoresizingMaskIntoConstraints="NO" id="2aM-Bp-fMA">
<rect key="frame" x="94" y="250" width="187.5" height="187.5"/>
<constraints>
<constraint firstAttribute="width" secondItem="2aM-Bp-fMA" secondAttribute="height" id="TpA-wK-1Tk"/>
</constraints>
</imageView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="2aM-Bp-fMA" firstAttribute="width" secondItem="Bcu-3y-fUS" secondAttribute="width" multiplier="0.5" id="LBH-Dd-YF4"/>
<constraint firstItem="2aM-Bp-fMA" firstAttribute="centerY" secondItem="Bcu-3y-fUS" secondAttribute="centerY" id="lIY-8P-3V8"/>
<constraint firstItem="2aM-Bp-fMA" firstAttribute="centerX" secondItem="Bcu-3y-fUS" secondAttribute="centerX" id="yLK-Wg-VSM"/>
</constraints>
<viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="52" y="374.66266866566718"/>
</scene>
</scenes>
<resources>
<image name="siri.png" width="706" height="706"/>
</resources>
</document>

+ 1
- 0
src/Localizable.strings View File

@@ -0,0 +1 @@
"Status" = "Статус";

Loading…
Cancel
Save