Skip to content

Commit cbac21a

Browse files
committed
Refactoring projects - ServiceContainerKit with only providers and ServiceInjects with injects
1 parent c7d6ad1 commit cbac21a

File tree

70 files changed

+1245
-394
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1245
-394
lines changed

Example/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
import UIKit
10-
import ServiceContainerKit
10+
import ServiceInjects
1111

1212
@UIApplicationMain
1313
class AppDelegate: UIResponder, UIApplicationDelegate {

Example/Presentation/Main/MainPresenter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import Foundation
1010
import Combine
11-
import ServiceContainerKit
11+
import ServiceInjects
1212

1313
protocol MainPresenter: class {
1414
func configure(

Example/Presentation/Main/MainViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import UIKit
1010
import Combine
11-
import ServiceContainerKit
11+
import ServiceInjects
1212

1313
extension MainViewController {
1414
static func prepareForMake() {

Example/Presentation/NoteEdit/NoteEditViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import UIKit
1010
import Combine
11-
import ServiceContainerKit
11+
import ServiceInjects
1212

1313
class NoteEditViewController: UIViewController {
1414
@EntityInject(NoteEditPresenter.self)

Example/Presentation/NoteEdit/NoteEditViewControllerFactory.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
import UIKit
10-
import ServiceContainerKit
10+
import ServiceInjects
1111

1212
extension NoteEditViewController {
1313
private struct Dependencies {

Example/Presentation/Notes/NotesPresenter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import Foundation
1010
import Combine
11-
import ServiceContainerKit
11+
import ServiceInjects
1212

1313
protocol NotesPresenter: class {
1414
func configure(

Example/Presentation/Notes/NotesViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import UIKit
1010
import Combine
11-
import ServiceContainerKit
11+
import ServiceInjects
1212

1313
extension NotesViewController {
1414
static func prepareForMake(folder: NoteFolder) {
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
//
2+
// ExampleServiceLocators.h
3+
// ExampleServiceLocators
4+
//
5+
// Created by Виталий Короткий on 06.01.2021.
6+
// Copyright © 2021 ProVir. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
//! Project version number for ExampleServiceLocators.
12+
FOUNDATION_EXPORT double ExampleServiceLocatorsVersionNumber;
13+
14+
//! Project version string for ExampleServiceLocators.
15+
FOUNDATION_EXPORT const unsigned char ExampleServiceLocatorsVersionString[];
16+
17+
// In this header, you should import all the public headers of your framework using statements like #import <ExampleServiceLocators/PublicHeader.h>
18+
19+

ExampleServiceLocators/Info.plist

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>$(DEVELOPMENT_LANGUAGE)</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleVersion</key>
20+
<string>$(CURRENT_PROJECT_VERSION)</string>
21+
</dict>
22+
</plist>

0 commit comments

Comments
 (0)