├── SimpleTranslate
├── Assets.xcassets
│ ├── Contents.json
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── AppDelegate.swift
├── Base.lproj
│ ├── Main.storyboard
│ └── LaunchScreen.storyboard
├── Info.plist
├── ViewController.swift
└── SceneDelegate.swift
├── SimpleTranslate.xcodeproj
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ ├── xcuserdata
│ │ └── arturom.xcuserdatad
│ │ │ └── UserInterfaceState.xcuserstate
│ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
├── xcuserdata
│ └── arturom.xcuserdatad
│ │ └── xcschemes
│ │ └── xcschememanagement.plist
└── project.pbxproj
└── README.md
/SimpleTranslate/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/SimpleTranslate.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/SimpleTranslate.xcodeproj/project.xcworkspace/xcuserdata/arturom.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/goingreen/iOSMobileJuniorIntro/HEAD/SimpleTranslate.xcodeproj/project.xcworkspace/xcuserdata/arturom.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/SimpleTranslate.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/SimpleTranslate.xcodeproj/xcuserdata/arturom.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | SimpleTranslate.xcscheme_^#shared#^_
8 |
9 | orderHint
10 | 0
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/SimpleTranslate/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // SimpleTranslate
4 | //
5 | // Created by Artur Antonov on 04/12/2019.
6 | // Copyright © 2019 Artur. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | @UIApplicationMain
12 | class AppDelegate: UIResponder, UIApplicationDelegate {
13 |
14 |
15 |
16 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
17 | // Override point for customization after application launch.
18 | return true
19 | }
20 |
21 | // MARK: UISceneSession Lifecycle
22 |
23 | func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
24 | // Called when a new scene session is being created.
25 | // Use this method to select a configuration to create the new scene with.
26 | return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
27 | }
28 |
29 | func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) {
30 | // Called when the user discards a scene session.
31 | // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
32 | // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
33 | }
34 |
35 |
36 | }
37 |
38 |
--------------------------------------------------------------------------------
/SimpleTranslate/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/SimpleTranslate/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/SimpleTranslate/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "20x20",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "20x20",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "29x29",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "29x29",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "40x40",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "40x40",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "iphone",
35 | "size" : "60x60",
36 | "scale" : "2x"
37 | },
38 | {
39 | "idiom" : "iphone",
40 | "size" : "60x60",
41 | "scale" : "3x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "20x20",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "20x20",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "29x29",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "29x29",
61 | "scale" : "2x"
62 | },
63 | {
64 | "idiom" : "ipad",
65 | "size" : "40x40",
66 | "scale" : "1x"
67 | },
68 | {
69 | "idiom" : "ipad",
70 | "size" : "40x40",
71 | "scale" : "2x"
72 | },
73 | {
74 | "idiom" : "ipad",
75 | "size" : "76x76",
76 | "scale" : "1x"
77 | },
78 | {
79 | "idiom" : "ipad",
80 | "size" : "76x76",
81 | "scale" : "2x"
82 | },
83 | {
84 | "idiom" : "ipad",
85 | "size" : "83.5x83.5",
86 | "scale" : "2x"
87 | },
88 | {
89 | "idiom" : "ios-marketing",
90 | "size" : "1024x1024",
91 | "scale" : "1x"
92 | }
93 | ],
94 | "info" : {
95 | "version" : 1,
96 | "author" : "xcode"
97 | }
98 | }
--------------------------------------------------------------------------------
/SimpleTranslate/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 | LSRequiresIPhoneOS
22 |
23 | UIApplicationSceneManifest
24 |
25 | UIApplicationSupportsMultipleScenes
26 |
27 | UISceneConfigurations
28 |
29 | UIWindowSceneSessionRoleApplication
30 |
31 |
32 | UISceneConfigurationName
33 | Default Configuration
34 | UISceneDelegateClassName
35 | $(PRODUCT_MODULE_NAME).SceneDelegate
36 | UISceneStoryboardFile
37 | Main
38 |
39 |
40 |
41 |
42 | UILaunchStoryboardName
43 | LaunchScreen
44 | UIMainStoryboardFile
45 | Main
46 | UIRequiredDeviceCapabilities
47 |
48 | armv7
49 |
50 | UISupportedInterfaceOrientations
51 |
52 | UIInterfaceOrientationPortrait
53 | UIInterfaceOrientationLandscapeLeft
54 | UIInterfaceOrientationLandscapeRight
55 |
56 | UISupportedInterfaceOrientations~ipad
57 |
58 | UIInterfaceOrientationPortrait
59 | UIInterfaceOrientationPortraitUpsideDown
60 | UIInterfaceOrientationLandscapeLeft
61 | UIInterfaceOrientationLandscapeRight
62 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/SimpleTranslate/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // SimpleTranslate
4 | //
5 | // Created by Artur Antonov on 04/12/2019.
6 | // Copyright © 2019 Artur. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import Foundation
11 |
12 | class ViewController: UIViewController {
13 |
14 | private var textInputView: UITextView!
15 | private var textOutputView: UITextView!
16 |
17 | override func viewDidLoad() {
18 | super.viewDidLoad()
19 | view.backgroundColor = UIColor(red: 1, green: 0.88, blue: 0.45, alpha: 1)
20 | let font = UIFont.systemFont(ofSize: 20)
21 | textInputView = UITextView(frame:
22 | CGRect(x: 8, y: 44, width: view.bounds.width - 16, height: 100)
23 | )
24 | textInputView.font = font
25 | textInputView.delegate = self
26 | view.addSubview(textInputView)
27 | let separator = UIView(frame:
28 | CGRect(x: 6, y: 148, width: view.bounds.width - 12, height: 2)
29 | )
30 | separator.backgroundColor = .gray
31 | view.addSubview(separator)
32 | textOutputView = UITextView(frame:
33 | CGRect(x: 8, y: 154, width: view.bounds.width - 16, height: 100)
34 | )
35 | textOutputView.font = font
36 | textOutputView.isEditable = false
37 | view.addSubview(textOutputView)
38 | }
39 | }
40 |
41 | extension ViewController: UITextViewDelegate {
42 | func textViewDidChange(_ textView: UITextView) {
43 | guard !textView.text.isEmpty else {
44 | textOutputView.text = ""
45 | return
46 | }
47 | let text = textView.text.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!
48 | let apiKey = ""
49 | let url = URL(
50 | string: "https://translate.yandex.net/api/v1.5/tr.json/translate?key=\(apiKey)&text=\(text)&lang=en-ru"
51 | )!
52 | URLSession.shared.dataTask(with: url) { (data, response, error) in
53 | guard let data = data else {
54 | return
55 | }
56 | let dictionary = try! JSONSerialization.jsonObject(
57 | with: data,
58 | options: []
59 | ) as! [String: Any]
60 | let translation = dictionary["text"] as! [String]
61 | DispatchQueue.main.async {
62 | self.textOutputView.text = translation.first!
63 | }
64 | }.resume()
65 | }
66 | }
67 |
--------------------------------------------------------------------------------
/SimpleTranslate/SceneDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // SceneDelegate.swift
3 | // SimpleTranslate
4 | //
5 | // Created by Artur Antonov on 04/12/2019.
6 | // Copyright © 2019 Artur. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class SceneDelegate: UIResponder, UIWindowSceneDelegate {
12 |
13 | var window: UIWindow?
14 |
15 |
16 | func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
17 | // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
18 | // If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
19 | // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
20 | guard let _ = (scene as? UIWindowScene) else { return }
21 | }
22 |
23 | func sceneDidDisconnect(_ scene: UIScene) {
24 | // Called as the scene is being released by the system.
25 | // This occurs shortly after the scene enters the background, or when its session is discarded.
26 | // Release any resources associated with this scene that can be re-created the next time the scene connects.
27 | // The scene may re-connect later, as its session was not neccessarily discarded (see `application:didDiscardSceneSessions` instead).
28 | }
29 |
30 | func sceneDidBecomeActive(_ scene: UIScene) {
31 | // Called when the scene has moved from an inactive state to an active state.
32 | // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.
33 | }
34 |
35 | func sceneWillResignActive(_ scene: UIScene) {
36 | // Called when the scene will move from an active state to an inactive state.
37 | // This may occur due to temporary interruptions (ex. an incoming phone call).
38 | }
39 |
40 | func sceneWillEnterForeground(_ scene: UIScene) {
41 | // Called as the scene transitions from the background to the foreground.
42 | // Use this method to undo the changes made on entering the background.
43 | }
44 |
45 | func sceneDidEnterBackground(_ scene: UIScene) {
46 | // Called as the scene transitions from the foreground to the background.
47 | // Use this method to save data, release shared resources, and store enough scene-specific state information
48 | // to restore the scene back to its current state.
49 | }
50 |
51 |
52 | }
53 |
54 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Как создать мобильное приложение?
2 |
3 | ## Проект
4 | Для работы перевода необходимо получить [API-ключ](https://yandex.ru/dev/translate/doc/dg/concepts/api-keys-docpage/)
5 | Собирается при помощи Xcode 11.2 и выше
6 |
7 | ## Полезные ссылки
8 |
9 | ### UI
10 | 1. [Официальная документация по UIKit](https://developer.apple.com/documentation/uikit)
11 | 2. [Подробно про UIView и его наследников](https://developer.apple.com/documentation/uikit/views_and_controls)
12 | 3. [Видеокурс по созданию приложения с UIKit](https://www.raywenderlich.com/5993-your-first-ios-and-uikit-app)
13 | 4. [Туториалы по созданию пользовательского интерфейса](https://www.raywenderlich.com/library?section_id=53&domain_ids%5B%5D=1&content_types%5B%5D=article&category_ids%5B%5D=146&sort_order=released_at)
14 | 5. [Туториалы по SwiftUI](https://developer.apple.com/tutorials/swiftui)
15 | ### SDK Платформы
16 | 1. [Документация Apple](https://developer.apple.com/documentation/)
17 | 2. [Хороший статьи про отдельные библиотеки из iOS SDK](https://nshipster.com)
18 | 3. [Рассылка про iOS разработку](https://iosdevweekly.com)
19 | 4. [На кого стоит подписаться в Twitter](https://medium.com/app-coder-io/52-people-every-ios-developer-should-follow-on-twitter-25ca8915369a)
20 | ### Многопоточность
21 | 1. [Введение в многопоточность iOS](https://www.raywenderlich.com/5370-grand-central-dispatch-tutorial-for-swift-4-part-1-2#toc-anchor-002)
22 | 2. [Архивный гайд от Apple](https://developer.apple.com/library/archive/documentation/General/Conceptual/ConcurrencyProgrammingGuide/Introduction/Introduction.html)
23 | 3. [objc.io про многопоточность](https://www.objc.io/issues/2-concurrency/)
24 | ### Архитектура
25 | 1. [Примеры SOLID в iOS](https://2017.codefest.ru/lecture/1166/)
26 | 2. [GoF паттерны с примерами](https://refactoring.guru/ru/design-patterns)
27 | 3. [Clean Architecture](https://habr.com/ru/company/mobileup/blog/335382/)
28 | 4. [Обзор архитектурных паттернов в iOS](https://habr.com/ru/company/badoo/blog/281162/)
29 | 5. [Список open source iOS приложений](https://github.com/dkhamsing/open-source-ios-apps)
30 | ### Публикация
31 | 1. [Как загрузить приложение в AppStore](https://instabug.com/blog/how-to-submit-app-to-app-store/)
32 | 2. [Подробный разбор подписи приложения](https://www.objc.io/issues/17-security/inside-code-signing/)
33 | 3. [Обзор инструментов Xcode для подписи приложения](https://developer.apple.com/videos/play/wwdc2016/401/)
34 | ### Отладка
35 | 1. [Cессия WWDC про отладку в Xcode](https://developer.apple.com/videos/play/wwdc2018/412/)
36 | 2. [Выпуск objc.io про отладку](https://www.objc.io/issues/19-debugging/)
37 | 3. [Отладка приложений под iOS](https://www.youtube.com/watch?v=blRMTOAy76A)
38 | 4. [Как работает LLDB](https://developer.apple.com/videos/play/wwdc2019/429/)
39 | 5. [Устройство objC runtime](https://www.mikeash.com/pyblog/friday-qa-2009-03-13-intro-to-the-objective-c-runtime.html)
40 | ### Оптимизация
41 | 1. [Обзорная статья от Apple](https://developer.apple.com/documentation/xcode/improving_your_app_s_performance)
42 | 2. [Вводная сессия WWDC про инструменты](https://developer.apple.com/videos/play/wwdc2019/411/)
43 | 3. [Сессия на WWDC про подход к оптимизации](https://developer.apple.com/videos/play/wwdc2018/407/)
44 | 4. [Книга про внутреннее устройство iOS и macOS](http://newosxbook.com/MOXiI.pdf)
45 | 5. [Подробный доклад про оптимизацию запуска приложения](https://www.youtube.com/watch?v=SNMIeFxEoK0)
46 | ### CI
47 | 1. [Автоматизация сборки и заливки в стор](https://habr.com/ru/company/sberbank/blog/424023/)
48 | 2. [Автоматизация скриншотов](https://medium.com/@juli1quere/automate-ios-screenshots-with-fastlane-b4fd90ef425b)
49 |
--------------------------------------------------------------------------------
/SimpleTranslate.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 50;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 6AEBA01A239786F900A4093A /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6AEBA019239786F900A4093A /* AppDelegate.swift */; };
11 | 6AEBA01C239786F900A4093A /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6AEBA01B239786F900A4093A /* SceneDelegate.swift */; };
12 | 6AEBA01E239786F900A4093A /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6AEBA01D239786F900A4093A /* ViewController.swift */; };
13 | 6AEBA021239786F900A4093A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6AEBA01F239786F900A4093A /* Main.storyboard */; };
14 | 6AEBA023239786FB00A4093A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6AEBA022239786FB00A4093A /* Assets.xcassets */; };
15 | 6AEBA026239786FB00A4093A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6AEBA024239786FB00A4093A /* LaunchScreen.storyboard */; };
16 | /* End PBXBuildFile section */
17 |
18 | /* Begin PBXFileReference section */
19 | 6AEBA016239786F900A4093A /* SimpleTranslate.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SimpleTranslate.app; sourceTree = BUILT_PRODUCTS_DIR; };
20 | 6AEBA019239786F900A4093A /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
21 | 6AEBA01B239786F900A4093A /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; };
22 | 6AEBA01D239786F900A4093A /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
23 | 6AEBA020239786F900A4093A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
24 | 6AEBA022239786FB00A4093A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
25 | 6AEBA025239786FB00A4093A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
26 | 6AEBA027239786FB00A4093A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
27 | /* End PBXFileReference section */
28 |
29 | /* Begin PBXFrameworksBuildPhase section */
30 | 6AEBA013239786F900A4093A /* Frameworks */ = {
31 | isa = PBXFrameworksBuildPhase;
32 | buildActionMask = 2147483647;
33 | files = (
34 | );
35 | runOnlyForDeploymentPostprocessing = 0;
36 | };
37 | /* End PBXFrameworksBuildPhase section */
38 |
39 | /* Begin PBXGroup section */
40 | 6AEBA00D239786F900A4093A = {
41 | isa = PBXGroup;
42 | children = (
43 | 6AEBA018239786F900A4093A /* SimpleTranslate */,
44 | 6AEBA017239786F900A4093A /* Products */,
45 | );
46 | sourceTree = "";
47 | };
48 | 6AEBA017239786F900A4093A /* Products */ = {
49 | isa = PBXGroup;
50 | children = (
51 | 6AEBA016239786F900A4093A /* SimpleTranslate.app */,
52 | );
53 | name = Products;
54 | sourceTree = "";
55 | };
56 | 6AEBA018239786F900A4093A /* SimpleTranslate */ = {
57 | isa = PBXGroup;
58 | children = (
59 | 6AEBA019239786F900A4093A /* AppDelegate.swift */,
60 | 6AEBA01B239786F900A4093A /* SceneDelegate.swift */,
61 | 6AEBA01D239786F900A4093A /* ViewController.swift */,
62 | 6AEBA01F239786F900A4093A /* Main.storyboard */,
63 | 6AEBA022239786FB00A4093A /* Assets.xcassets */,
64 | 6AEBA024239786FB00A4093A /* LaunchScreen.storyboard */,
65 | 6AEBA027239786FB00A4093A /* Info.plist */,
66 | );
67 | path = SimpleTranslate;
68 | sourceTree = "";
69 | };
70 | /* End PBXGroup section */
71 |
72 | /* Begin PBXNativeTarget section */
73 | 6AEBA015239786F900A4093A /* SimpleTranslate */ = {
74 | isa = PBXNativeTarget;
75 | buildConfigurationList = 6AEBA02A239786FB00A4093A /* Build configuration list for PBXNativeTarget "SimpleTranslate" */;
76 | buildPhases = (
77 | 6AEBA012239786F900A4093A /* Sources */,
78 | 6AEBA013239786F900A4093A /* Frameworks */,
79 | 6AEBA014239786F900A4093A /* Resources */,
80 | );
81 | buildRules = (
82 | );
83 | dependencies = (
84 | );
85 | name = SimpleTranslate;
86 | productName = SimpleTranslate;
87 | productReference = 6AEBA016239786F900A4093A /* SimpleTranslate.app */;
88 | productType = "com.apple.product-type.application";
89 | };
90 | /* End PBXNativeTarget section */
91 |
92 | /* Begin PBXProject section */
93 | 6AEBA00E239786F900A4093A /* Project object */ = {
94 | isa = PBXProject;
95 | attributes = {
96 | LastSwiftUpdateCheck = 1120;
97 | LastUpgradeCheck = 1120;
98 | ORGANIZATIONNAME = Artur;
99 | TargetAttributes = {
100 | 6AEBA015239786F900A4093A = {
101 | CreatedOnToolsVersion = 11.2.1;
102 | };
103 | };
104 | };
105 | buildConfigurationList = 6AEBA011239786F900A4093A /* Build configuration list for PBXProject "SimpleTranslate" */;
106 | compatibilityVersion = "Xcode 9.3";
107 | developmentRegion = en;
108 | hasScannedForEncodings = 0;
109 | knownRegions = (
110 | en,
111 | Base,
112 | );
113 | mainGroup = 6AEBA00D239786F900A4093A;
114 | productRefGroup = 6AEBA017239786F900A4093A /* Products */;
115 | projectDirPath = "";
116 | projectRoot = "";
117 | targets = (
118 | 6AEBA015239786F900A4093A /* SimpleTranslate */,
119 | );
120 | };
121 | /* End PBXProject section */
122 |
123 | /* Begin PBXResourcesBuildPhase section */
124 | 6AEBA014239786F900A4093A /* Resources */ = {
125 | isa = PBXResourcesBuildPhase;
126 | buildActionMask = 2147483647;
127 | files = (
128 | 6AEBA026239786FB00A4093A /* LaunchScreen.storyboard in Resources */,
129 | 6AEBA023239786FB00A4093A /* Assets.xcassets in Resources */,
130 | 6AEBA021239786F900A4093A /* Main.storyboard in Resources */,
131 | );
132 | runOnlyForDeploymentPostprocessing = 0;
133 | };
134 | /* End PBXResourcesBuildPhase section */
135 |
136 | /* Begin PBXSourcesBuildPhase section */
137 | 6AEBA012239786F900A4093A /* Sources */ = {
138 | isa = PBXSourcesBuildPhase;
139 | buildActionMask = 2147483647;
140 | files = (
141 | 6AEBA01E239786F900A4093A /* ViewController.swift in Sources */,
142 | 6AEBA01A239786F900A4093A /* AppDelegate.swift in Sources */,
143 | 6AEBA01C239786F900A4093A /* SceneDelegate.swift in Sources */,
144 | );
145 | runOnlyForDeploymentPostprocessing = 0;
146 | };
147 | /* End PBXSourcesBuildPhase section */
148 |
149 | /* Begin PBXVariantGroup section */
150 | 6AEBA01F239786F900A4093A /* Main.storyboard */ = {
151 | isa = PBXVariantGroup;
152 | children = (
153 | 6AEBA020239786F900A4093A /* Base */,
154 | );
155 | name = Main.storyboard;
156 | sourceTree = "";
157 | };
158 | 6AEBA024239786FB00A4093A /* LaunchScreen.storyboard */ = {
159 | isa = PBXVariantGroup;
160 | children = (
161 | 6AEBA025239786FB00A4093A /* Base */,
162 | );
163 | name = LaunchScreen.storyboard;
164 | sourceTree = "";
165 | };
166 | /* End PBXVariantGroup section */
167 |
168 | /* Begin XCBuildConfiguration section */
169 | 6AEBA028239786FB00A4093A /* Debug */ = {
170 | isa = XCBuildConfiguration;
171 | buildSettings = {
172 | ALWAYS_SEARCH_USER_PATHS = NO;
173 | CLANG_ANALYZER_NONNULL = YES;
174 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
175 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
176 | CLANG_CXX_LIBRARY = "libc++";
177 | CLANG_ENABLE_MODULES = YES;
178 | CLANG_ENABLE_OBJC_ARC = YES;
179 | CLANG_ENABLE_OBJC_WEAK = YES;
180 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
181 | CLANG_WARN_BOOL_CONVERSION = YES;
182 | CLANG_WARN_COMMA = YES;
183 | CLANG_WARN_CONSTANT_CONVERSION = YES;
184 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
185 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
186 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
187 | CLANG_WARN_EMPTY_BODY = YES;
188 | CLANG_WARN_ENUM_CONVERSION = YES;
189 | CLANG_WARN_INFINITE_RECURSION = YES;
190 | CLANG_WARN_INT_CONVERSION = YES;
191 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
192 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
193 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
194 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
195 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
196 | CLANG_WARN_STRICT_PROTOTYPES = YES;
197 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
198 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
199 | CLANG_WARN_UNREACHABLE_CODE = YES;
200 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
201 | COPY_PHASE_STRIP = NO;
202 | DEBUG_INFORMATION_FORMAT = dwarf;
203 | ENABLE_STRICT_OBJC_MSGSEND = YES;
204 | ENABLE_TESTABILITY = YES;
205 | GCC_C_LANGUAGE_STANDARD = gnu11;
206 | GCC_DYNAMIC_NO_PIC = NO;
207 | GCC_NO_COMMON_BLOCKS = YES;
208 | GCC_OPTIMIZATION_LEVEL = 0;
209 | GCC_PREPROCESSOR_DEFINITIONS = (
210 | "DEBUG=1",
211 | "$(inherited)",
212 | );
213 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
214 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
215 | GCC_WARN_UNDECLARED_SELECTOR = YES;
216 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
217 | GCC_WARN_UNUSED_FUNCTION = YES;
218 | GCC_WARN_UNUSED_VARIABLE = YES;
219 | IPHONEOS_DEPLOYMENT_TARGET = 13.2;
220 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
221 | MTL_FAST_MATH = YES;
222 | ONLY_ACTIVE_ARCH = YES;
223 | SDKROOT = iphoneos;
224 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
225 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
226 | };
227 | name = Debug;
228 | };
229 | 6AEBA029239786FB00A4093A /* Release */ = {
230 | isa = XCBuildConfiguration;
231 | buildSettings = {
232 | ALWAYS_SEARCH_USER_PATHS = NO;
233 | CLANG_ANALYZER_NONNULL = YES;
234 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
235 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
236 | CLANG_CXX_LIBRARY = "libc++";
237 | CLANG_ENABLE_MODULES = YES;
238 | CLANG_ENABLE_OBJC_ARC = YES;
239 | CLANG_ENABLE_OBJC_WEAK = YES;
240 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
241 | CLANG_WARN_BOOL_CONVERSION = YES;
242 | CLANG_WARN_COMMA = YES;
243 | CLANG_WARN_CONSTANT_CONVERSION = YES;
244 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
245 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
246 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
247 | CLANG_WARN_EMPTY_BODY = YES;
248 | CLANG_WARN_ENUM_CONVERSION = YES;
249 | CLANG_WARN_INFINITE_RECURSION = YES;
250 | CLANG_WARN_INT_CONVERSION = YES;
251 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
252 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
253 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
254 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
255 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
256 | CLANG_WARN_STRICT_PROTOTYPES = YES;
257 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
258 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
259 | CLANG_WARN_UNREACHABLE_CODE = YES;
260 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
261 | COPY_PHASE_STRIP = NO;
262 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
263 | ENABLE_NS_ASSERTIONS = NO;
264 | ENABLE_STRICT_OBJC_MSGSEND = YES;
265 | GCC_C_LANGUAGE_STANDARD = gnu11;
266 | GCC_NO_COMMON_BLOCKS = YES;
267 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
268 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
269 | GCC_WARN_UNDECLARED_SELECTOR = YES;
270 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
271 | GCC_WARN_UNUSED_FUNCTION = YES;
272 | GCC_WARN_UNUSED_VARIABLE = YES;
273 | IPHONEOS_DEPLOYMENT_TARGET = 13.2;
274 | MTL_ENABLE_DEBUG_INFO = NO;
275 | MTL_FAST_MATH = YES;
276 | SDKROOT = iphoneos;
277 | SWIFT_COMPILATION_MODE = wholemodule;
278 | SWIFT_OPTIMIZATION_LEVEL = "-O";
279 | VALIDATE_PRODUCT = YES;
280 | };
281 | name = Release;
282 | };
283 | 6AEBA02B239786FB00A4093A /* Debug */ = {
284 | isa = XCBuildConfiguration;
285 | buildSettings = {
286 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
287 | CODE_SIGN_STYLE = Automatic;
288 | INFOPLIST_FILE = SimpleTranslate/Info.plist;
289 | LD_RUNPATH_SEARCH_PATHS = (
290 | "$(inherited)",
291 | "@executable_path/Frameworks",
292 | );
293 | PRODUCT_BUNDLE_IDENTIFIER = com.goingreen.SimpleTranslate;
294 | PRODUCT_NAME = "$(TARGET_NAME)";
295 | SWIFT_VERSION = 5.0;
296 | TARGETED_DEVICE_FAMILY = "1,2";
297 | };
298 | name = Debug;
299 | };
300 | 6AEBA02C239786FB00A4093A /* Release */ = {
301 | isa = XCBuildConfiguration;
302 | buildSettings = {
303 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
304 | CODE_SIGN_STYLE = Automatic;
305 | INFOPLIST_FILE = SimpleTranslate/Info.plist;
306 | LD_RUNPATH_SEARCH_PATHS = (
307 | "$(inherited)",
308 | "@executable_path/Frameworks",
309 | );
310 | PRODUCT_BUNDLE_IDENTIFIER = com.goingreen.SimpleTranslate;
311 | PRODUCT_NAME = "$(TARGET_NAME)";
312 | SWIFT_VERSION = 5.0;
313 | TARGETED_DEVICE_FAMILY = "1,2";
314 | };
315 | name = Release;
316 | };
317 | /* End XCBuildConfiguration section */
318 |
319 | /* Begin XCConfigurationList section */
320 | 6AEBA011239786F900A4093A /* Build configuration list for PBXProject "SimpleTranslate" */ = {
321 | isa = XCConfigurationList;
322 | buildConfigurations = (
323 | 6AEBA028239786FB00A4093A /* Debug */,
324 | 6AEBA029239786FB00A4093A /* Release */,
325 | );
326 | defaultConfigurationIsVisible = 0;
327 | defaultConfigurationName = Release;
328 | };
329 | 6AEBA02A239786FB00A4093A /* Build configuration list for PBXNativeTarget "SimpleTranslate" */ = {
330 | isa = XCConfigurationList;
331 | buildConfigurations = (
332 | 6AEBA02B239786FB00A4093A /* Debug */,
333 | 6AEBA02C239786FB00A4093A /* Release */,
334 | );
335 | defaultConfigurationIsVisible = 0;
336 | defaultConfigurationName = Release;
337 | };
338 | /* End XCConfigurationList section */
339 | };
340 | rootObject = 6AEBA00E239786F900A4093A /* Project object */;
341 | }
342 |
--------------------------------------------------------------------------------