Skip to content

Commit 0d193b1

Browse files
author
Ricardo Torrão
committed
5.0.0
1 parent 05a66bc commit 0d193b1

File tree

73 files changed

+293
-980
lines changed

Some content is hidden

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

73 files changed

+293
-980
lines changed

.swift-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

camera.xcodeproj/project.xcworkspace/contents.xcworkspacedata renamed to .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 62 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,39 @@
11
# Change Log
2+
23
All notable changes to this project will be documented in this file.
34
This project adheres to [Semantic Versioning](http://semver.org/).
45

6+
## [5.0.0](https://github.com/imaginary-cloud/CameraManager/tree/5.0.0) - 2020-03-31
7+
8+
### Changed
9+
10+
- Syntax update for Swift 5.2 (issue #189)
11+
12+
### Fixed
13+
14+
- Fix Swift Package Manager support (issue #215)
15+
516
## [4.4.0](https://github.com/imaginary-cloud/CameraManager/tree/4.4.0) - 2019-03-12
17+
618
### Changed
19+
720
- Change callbacks to the swifty way of reporting success and errors (pull request #185)
821

922
## [4.3.1](https://github.com/imaginary-cloud/CameraManager/tree/4.3.1) - 2019-03-08
23+
1024
### Fixed
1125

1226
- Swift Support (pull request #173 and #168)
1327
- Example App layout supports iPhone X (pull request #173)
1428

1529
## [4.3.0](https://github.com/imaginary-cloud/CameraManager/tree/4.3.0) - 2018-08-17
30+
1631
### Added
1732

1833
- Add video stabilization mode (pull request #160)
1934

2035
## [4.2.3](https://github.com/imaginary-cloud/CameraManager/tree/4.2.3) - 2018-07-27
36+
2137
### Fixed
2238

2339
- Deinit cause crash when `cameraDevice = .front` (#157)
@@ -27,6 +43,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
2743
- Add note to documentation when a property has a default value
2844

2945
## [4.2.2](https://github.com/imaginary-cloud/CameraManager/tree/4.2.2) - 2018-07-26
46+
3047
### Added
3148

3249
- Add `CONTRIBUTING.md`
@@ -35,8 +52,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
3552

3653
- When recording is finished `videoURL` is always nil (#158)
3754

38-
3955
## [4.2.1](https://github.com/imaginary-cloud/CameraManager/tree/4.2.1) - 2018-06-20
56+
4057
### Added
4158

4259
- Add `CODE_OF_CONDUCT.md`
@@ -46,6 +63,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4663
- Fix flash for video (#152)
4764

4865
## [4.2.0](https://github.com/imaginary-cloud/CameraManager/tree/4.2.0) - 2018-06-19
66+
4967
### Added
5068

5169
- Add properties for setting custom album names for image and video recordings (pull request #147)
@@ -58,11 +76,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5876
- Memory leak in Example App
5977

6078
## [4.1.1](https://github.com/imaginary-cloud/CameraManager/tree/4.1.1) - 2018-05-16
79+
6180
### Fixed
6281

6382
- License
6483

6584
## [4.1.0](https://github.com/imaginary-cloud/CameraManager/tree/4.1.0) - 2018-05-15
85+
6686
### Added
6787

6888
- Add EXIF metadata for images and video - including location (#131)
@@ -71,10 +91,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
7191
### Fixed
7292

7393
- Fix Crash (pull request #141)
74-
- Fix image orientation when taking pictures with device rotation lock active
94+
- Fix image orientation when taking pictures with device rotation lock active
7595

7696
## [4.0.2](https://github.com/imaginary-cloud/CameraManager/tree/4.0.2) - 2018-05-07
77-
### Fixed
97+
98+
### Fixed
7899

79100
- Using CoreMotion to get real device orientation, fixing no sound when switching camera (pull request #134)
80101
- Fixed take picture on iPad with front camera(landscape, UpsideDown… (pull request #139)
@@ -88,15 +109,17 @@ This project adheres to [Semantic Versioning](http://semver.org/).
88109
- Repeat crash CameraManager.swift line 430 in release (issue #138)
89110

90111
## [4.0.1](https://github.com/imaginary-cloud/CameraManager/tree/4.0.1) - 2017-11-18
112+
91113
### Added
92114

93115
- Add @discardableResult modifiers to addPreviewLayerToView (pull request #132)
94116

95-
### Fixed
117+
### Fixed
96118

97119
- Fix shouldEnableTapToFocus function (pull request #133)
98120

99121
## [4.0.0](https://github.com/imaginary-cloud/CameraManager/tree/4.0.0) - 2017-10-22
122+
100123
### Changed
101124

102125
- Syntax update for Swift 4.0 (pull request #125)
@@ -106,12 +129,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
106129
- Add gesture recognizers on the main thread (pull request #123)
107130

108131
## [3.2.0](https://github.com/imaginary-cloud/CameraManager/tree/3.2.0) - 2017-07-03
132+
109133
### Added
110134

111135
- Add location data to videos (pull request #110)
112136
- Optional location permissions (pull request #110)
113137

114138
## [3.1.4](https://github.com/imaginary-cloud/CameraManager/tree/3.1.4) - 2017-06-14
139+
115140
### Added
116141

117142
- Add properties `focusMode` and `exposureMode` (pull request #106)
@@ -124,33 +149,39 @@ This project adheres to [Semantic Versioning](http://semver.org/).
124149
- Getting same video URL, when simultaneously recording video (issue #108)
125150

126151
## [3.1.3](https://github.com/imaginary-cloud/CameraManager/tree/3.1.3) - 2017-05-15
152+
127153
### Added
128154

129155
- Add two new properties `shouldEnableTapToFocus` and `shouldEnablePinchToZoom` (pull request #106)
130156

131157
## [3.1.2](https://github.com/imaginary-cloud/CameraManager/tree/3.1.2) - 2017-05-02
158+
132159
### Changed
133160

134161
- New option to flip image took by front camera (pull request #104)
135162
- Fixes possible hang after requesting permission (pull request #98)
136163

137164
## [3.1.1](https://github.com/imaginary-cloud/CameraManager/tree/3.1.1) - 2017-03-15
165+
138166
### Changed
139167

140168
- Refactor to avoid implicit unwrapped optionals (pull request #94)
141169

142170
## [3.1.0](https://github.com/imaginary-cloud/CameraManager/tree/3.1.0) - 2017-02-11
171+
143172
### Added
144173

145174
- Flip animation and tap to focus (pull request #72)
146175
- Icons and splash image to example
147176

148177
## [3.0.0](https://github.com/imaginary-cloud/CameraManager/tree/3.0.0) - 2016-09-16
178+
149179
### Changed
150180

151181
- Syntax update for Swift 3.0.
152182

153183
## [2.2.4](https://github.com/imaginary-cloud/CameraManager/tree/2.2.4) - 2016-07-06
184+
154185
### Added
155186

156187
- Add error checking.
@@ -160,23 +191,27 @@ This project adheres to [Semantic Versioning](http://semver.org/).
160191
- Fixes completion typos and suggests renamed functions.
161192

162193
## [2.2.3](https://github.com/imaginary-cloud/CameraManager/tree/2.2.3) - 2016-05-12
194+
163195
### Changed
164196

165197
- Fixed zoom in StillImage Mode.
166198

167199
- Minor refactoring
168200

169201
## [2.2.2](https://github.com/imaginary-cloud/CameraManager/tree/2.2.2) - 2016-03-07
202+
170203
### Added
171204

172205
- `CHANGELOG.md` file.
173206

174207
## [2.2.1](https://github.com/imaginary-cloud/CameraManager/tree/2.2.1) - 2016-03-02
208+
175209
### Added
176210

177211
- Initial support for the Swift Package Manager.
178212

179213
## [2.2.0](https://github.com/imaginary-cloud/CameraManager/tree/2.2.0) - 2016-02-19
214+
180215
### Added
181216

182217
- Zoom support.
@@ -186,50 +221,59 @@ This project adheres to [Semantic Versioning](http://semver.org/).
186221
- Fixed spelling of `embeddingView`.
187222

188223
## [2.1.3](https://github.com/imaginary-cloud/CameraManager/tree/2.1.3) - 2016-01-08
224+
189225
### Changed
190226

191227
- No sound in video with more than 10 seconds fixed.
192228

193229
- Fixed `NewCameraOutputMode` not passed during init.
194230

195231
## [2.1.2](https://github.com/imaginary-cloud/CameraManager/tree/2.1.2) - 2015-12-24
232+
196233
### Added
197234

198235
- Property `cameraIsReady`.
199236

200237
- Completion block `addPreviewLayerToView`.
201238

202239
## [2.1.1](https://github.com/imaginary-cloud/CameraManager/tree/2.1.1) - 2015-12-11
240+
203241
### Added
204242

205243
- Ability to disable responding to device orientation changes.
206244

207245
## [2.1.0](https://github.com/imaginary-cloud/CameraManager/tree/2.1) - 2015-11-20
246+
208247
### Added
209248

210249
- Properties `recordedDuration` and `recordedFileSize`.
211250

212251
## [2.0.2](https://github.com/imaginary-cloud/CameraManager/tree/2.0.2) - 2015-11-17
252+
213253
### Fixed
214254

215255
- iOS 9.0.1 bug.
216256

217257
## [2.0.1](https://github.com/imaginary-cloud/CameraManager/tree/2.0.1) - 2015-09-17
258+
218259
### Changed
219260

220261
- Syntax updates.
221262

222263
## [2.0.0](https://github.com/imaginary-cloud/CameraManager/tree/2.0.0) - 2015-07-30
264+
223265
### Changed
224266

225267
- Syntax update for Swift 2.0.
226268

227269
## [1.0.14](https://github.com/imaginary-cloud/CameraManager/tree/1.0.14) - 2015-07-17
270+
228271
### Changed
229272

230273
- Small fixes.
231274

232275
## [1.0.13](https://github.com/imaginary-cloud/CameraManager/tree/1.0.13) - 2015-05-12
276+
233277
### Added
234278

235279
- Support for installing via Carthage.
@@ -241,6 +285,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
241285
- Syntax update for Swift 1.2.
242286

243287
## [1.0.12](https://github.com/imaginary-cloud/CameraManager/tree/1.0.12) - 2015-03-23
288+
244289
### Added
245290

246291
- Incremental flash mode.
@@ -254,13 +299,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
254299
- `README.md` update.
255300

256301
## [1.0.11](https://github.com/imaginary-cloud/CameraManager/tree/1.0.11) - 2015-03-20
302+
257303
### Added
258304

259305
- Property `showAccessPermissionPopupAutomatically`, to determine if you want the user to be asked about camera permissions automatically or manually.
260306

261307
- Error handling in capture completion blocks.
262308

263309
## [1.0.10](https://github.com/imaginary-cloud/CameraManager/tree/1.0.10) - 2015-03-19
310+
264311
### Added
265312

266313
- Camera state returned when adding the preview layer.
@@ -270,11 +317,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
270317
- `README.md` update.
271318

272319
## [1.0.9](https://github.com/imaginary-cloud/CameraManager/tree/1.0.9) - 2015-03-10
320+
273321
### Changed
274322

275323
- CameraManager class made public.
276324

277325
## [1.0.8](https://github.com/imaginary-cloud/CameraManager/tree/1.0.8) - 2015-02-24
326+
278327
### Fixed
279328

280329
- Wrong orientation when camera preview starts in landscape mode.
@@ -286,6 +335,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
286335
- Bug which prevented from recording audio.
287336

288337
## [1.0.7](https://github.com/imaginary-cloud/CameraManager/tree/1.0.7) - 2014-10-30
338+
289339
### Added
290340

291341
- Version compatible with XCode 6.1.
@@ -297,6 +347,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
297347
- Swift syntax updates to resolve compile errors.
298348

299349
## [1.0.6](https://github.com/imaginary-cloud/CameraManager/tree/1.0.6) - 2014-10-28
350+
300351
### Added
301352

302353
- Check for valid capture session.
@@ -306,13 +357,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
306357
- Fixed video orientation change.
307358

308359
## [1.0.5](https://github.com/imaginary-cloud/CameraManager/tree/1.0.5) - 2014-10-22
360+
309361
### Changed
310362

311363
- Enhanced Camera lifecyle.
312364

313365
- Orientation observers only added if needed.
314366

315367
## [1.0.4](https://github.com/imaginary-cloud/CameraManager/tree/1.0.4) - 2014-10-16
368+
316369
### Added
317370

318371
- Restart session.
@@ -322,9 +375,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
322375
- `README.md` update.
323376

324377
## [1.0.3](https://github.com/imaginary-cloud/CameraManager/tree/1.0.3) - 2014-10-15
378+
325379
### Added
326380

327-
- Property `writeFilesToPhoneLibrary` to conditionally write to user library.
381+
- Property `writeFilesToPhoneLibrary` to conditionally write to user library.
328382

329383
### Changed
330384

@@ -333,16 +387,19 @@ This project adheres to [Semantic Versioning](http://semver.org/).
333387
- `README.md` update.
334388

335389
## [1.0.2](https://github.com/imaginary-cloud/CameraManager/tree/1.0.2) - 2014-10-15
390+
336391
### Added
337392

338393
- `CameraManager.podspec` file.
339394

340395
## [1.0.1](https://github.com/imaginary-cloud/CameraManager/tree/1.0.1) - 2014-10-15
396+
341397
### Changed
342398

343399
- Optional initializer for `addPreviewLayerToView`.
344400

345401
## [1.0.0](https://github.com/imaginary-cloud/CameraManager/tree/1.0.0) - 2014-10-15
402+
346403
### Added
347404

348405
- Front and back camera selection.

CameraManager.podspec

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
Pod::Spec.new do |s|
22
s.name = "CameraManager"
3-
s.version = "4.4.0"
3+
s.version = "5.0.0"
44
s.summary = "This is a simple Swift class to provide all the configurations you need to create custom camera view in your app. Just drag, drop and use."
55
s.requires_arc = true
66
s.homepage = "https://github.com/imaginary-cloud/CameraManager"
77
s.license = 'MIT'
88
s.author = { "torrao" => "rtorrao@imaginarycloud.com" }
9-
s.source = { :git => "https://github.com/imaginary-cloud/CameraManager.git", :tag => "4.4.0" }
9+
s.source = { :git => "https://github.com/imaginary-cloud/CameraManager.git", :tag => "5.0.0" }
1010
s.social_media_url = 'http://www.imaginarycloud.com/'
1111
s.platform = :ios, '9.0'
12-
s.pod_target_xcconfig = { "SWIFT_VERSION" => "4.2" }
13-
s.source_files = 'camera/CameraManager.swift'
12+
s.pod_target_xcconfig = { "SWIFT_VERSION" => "5.2" }
13+
s.swift_version = '5.2'
14+
s.source_files = 'Sources/CameraManager.swift'
1415
end

0 commit comments

Comments
 (0)