You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -13,16 +15,47 @@ Dependency injector Swift compatible with ObjectMapper
13
15
14
16
### CocoaPods
15
17
16
-
To install DependencyInjectorObjectMapper with CocoaPods, add the following lines to your `Podfile`.
18
+
To install DependencyInjector+ObjectMapper with CocoaPods, add the following lines to your `Podfile`.
17
19
18
20
```ruby
19
21
source 'https://github.com/CocoaPods/Specs.git'
20
-
platform :ios, '8.0'# or platform :osx, '10.10' if your target is OS X.
22
+
platform :ios, '9.0'
21
23
use_frameworks!
22
24
23
25
pod 'DependencyInjectorObjectMapper'
24
26
```
25
27
28
+
### Carthage
29
+
30
+
[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
31
+
32
+
You can install Carthage with [Homebrew](http://brew.sh/) using the following command:
33
+
34
+
```bash
35
+
$ brew update
36
+
$ brew install carthage
37
+
```
38
+
39
+
To integrate DependencyInjector+ObjectMapper into your Xcode project using Carthage, specify it in your `Cartfile`:
Run `carthage update` to build the framework and drag the built `DependencyInjectorObjectMapper.framework` into your Xcode project.
46
+
47
+
### Swift Package Manager
48
+
49
+
The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler.
50
+
51
+
Once you have your Swift package set up, adding DependencyInjector+ObjectMapper as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.
Copy file name to clipboardExpand all lines: Samples/DependencyInjectorObjectMapperSample-OSX/DependencyInjectorObjectMapperSample-OSX/AppDelegate.swift
-5Lines changed: 0 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,6 @@ class AppDelegate: NSObject, NSApplicationDelegate {
Copy file name to clipboardExpand all lines: Samples/DependencyInjectorObjectMapperSample-iOS/DependencyInjectorObjectMapperSample-iOS/ViewController.swift
0 commit comments