commit acaaf68d9f23c4be7fe7f2e35883697bc5ce6c1f Author: Михаил Капелько Date: Wed Dec 13 19:01:08 2023 +0300 initial diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7db5ae4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.DS_Store +*.xcodeproj diff --git a/app/Info.plist b/app/Info.plist new file mode 100644 index 0000000..3649a0b --- /dev/null +++ b/app/Info.plist @@ -0,0 +1,71 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + Bus + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + su.koren.pesochnicza + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0.0.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + + UILaunchStoryboardName + LaunchScreen + UIRequiredDeviceCapabilities + + armv7 + + UIRequiresFullScreen + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + CFBundleURLTypes + + + CFBundleTypeRole + Editor + CFBundleURLName + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleURLSchemes + + ivcs-auth + + + + + diff --git a/app/project.yml b/app/project.yml new file mode 100644 index 0000000..c7f9b03 --- /dev/null +++ b/app/project.yml @@ -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 diff --git a/gen b/gen new file mode 100755 index 0000000..de5b535 --- /dev/null +++ b/gen @@ -0,0 +1,7 @@ +#!/bin/bash + +DIR=`dirname $0` + +cd $DIR/app +xcodegen +#pod install diff --git a/src/App.swift b/src/App.swift new file mode 100644 index 0000000..6167ae1 --- /dev/null +++ b/src/App.swift @@ -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 + } +} diff --git a/src/Assets.xcassets/AppIcon.appiconset/Contents.json b/src/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..6b56895 --- /dev/null +++ b/src/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -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" + } +} \ No newline at end of file diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-1024.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-1024.png new file mode 100644 index 0000000..b439a08 Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-1024.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-120.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-120.png new file mode 100644 index 0000000..2c5eb7f Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-120.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-121.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-121.png new file mode 100644 index 0000000..2c5eb7f Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-121.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-152.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-152.png new file mode 100644 index 0000000..6a2030f Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-152.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-167.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-167.png new file mode 100644 index 0000000..a0a139b Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-167.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-180.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-180.png new file mode 100644 index 0000000..618640a Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-180.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-20.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-20.png new file mode 100644 index 0000000..649c67f Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-20.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-29.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-29.png new file mode 100644 index 0000000..700e69b Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-29.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-40.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-40.png new file mode 100644 index 0000000..d85191c Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-40.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-41.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-41.png new file mode 100644 index 0000000..d85191c Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-41.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-42.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-42.png new file mode 100644 index 0000000..d85191c Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-42.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-58.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-58.png new file mode 100644 index 0000000..01fcca9 Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-58.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-59.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-59.png new file mode 100644 index 0000000..01fcca9 Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-59.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-60.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-60.png new file mode 100644 index 0000000..3e991d2 Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-60.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-76.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-76.png new file mode 100644 index 0000000..fc3a487 Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-76.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-80.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-80.png new file mode 100644 index 0000000..73ade44 Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-80.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-81.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-81.png new file mode 100644 index 0000000..73ade44 Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-81.png differ diff --git a/src/Assets.xcassets/AppIcon.appiconset/Icon-87.png b/src/Assets.xcassets/AppIcon.appiconset/Icon-87.png new file mode 100644 index 0000000..c4c1b60 Binary files /dev/null and b/src/Assets.xcassets/AppIcon.appiconset/Icon-87.png differ diff --git a/src/Assets.xcassets/Contents.json b/src/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/src/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/src/LaunchScreen.storyboard b/src/LaunchScreen.storyboard new file mode 100644 index 0000000..197ba3d --- /dev/null +++ b/src/LaunchScreen.storyboard @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Localizable.strings b/src/Localizable.strings new file mode 100644 index 0000000..9f6f9d5 --- /dev/null +++ b/src/Localizable.strings @@ -0,0 +1 @@ +"Status" = "Статус";