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
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. It is in early development, but Alamofire does support its use on supported platforms.
67
67
68
-
Once you have your Swift package set up, adding Alamofire as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.
68
+
Once you have your Swift package set up, adding Warhol as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.
69
69
70
70
```swift
71
71
dependencies: [
@@ -74,7 +74,7 @@ dependencies: [
74
74
```
75
75
## Manually
76
76
77
-
You can also integrate Alamofire into your project manually.
77
+
You can also integrate Warhol into your project manually.
78
78
79
79
#### Embedded Framework
80
80
@@ -102,6 +102,7 @@ Import Warhol in the file you are going to use it. Create an instance of ```Came
102
102
103
103
```swift
104
104
importWarhol
105
+
105
106
let cameraViewController =CameraFaceDetectionViewController()
106
107
let faceView =FaceView()
107
108
faceView.backgroundColor= .clear
@@ -113,6 +114,7 @@ In order to draw, we should create a subclass of UIView that complies with the W
113
114
114
115
```swift
115
116
importWarhol
117
+
116
118
finalclassFaceView: UIView, CameraFrontView {
117
119
var viewModel: FaceViewModel?
118
120
@@ -138,6 +140,7 @@ Apart from that, you can implement the ```CameraFaceDetectionDelegate``` protoco
138
140
In order to detect a face features and draw on top, we should pass the sdk the UIImageView depicting the face, and a closure where we draw on top of the image:
0 commit comments