Skip to content

Commit 240af8b

Browse files
author
Ricardo Torrão
committed
4.3.1
1 parent b45f087 commit 240af8b

7 files changed

Lines changed: 25 additions & 15 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [4.3.1](https://github.com/imaginary-cloud/CameraManager/tree/4.3.1) - 2019-03-08
6+
### Fixed
7+
8+
- Swift Support (pull request #173 and #168)
9+
- Example App layout supports iPhone X (pull request #173)
10+
511
## [4.3.0](https://github.com/imaginary-cloud/CameraManager/tree/4.3.0) - 2018-08-17
612
### Added
713

CameraManager.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Pod::Spec.new do |s|
22
s.name = "CameraManager"
3-
s.version = "4.3.0"
3+
s.version = "4.3.1"
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.3.0" }
9+
s.source = { :git => "https://github.com/imaginary-cloud/CameraManager.git", :tag => "4.3.1" }
1010
s.social_media_url = 'http://www.imaginarycloud.com/'
1111
s.platform = :ios, '9.0'
1212
s.pod_target_xcconfig = { "SWIFT_VERSION" => "4.2" }

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 Imaginary Cloud
3+
Copyright (c) 2019 Imaginary Cloud
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

camera.xcodeproj/project.pbxproj

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@
208208
CreatedOnToolsVersion = 6.0.1;
209209
DevelopmentTeam = QM7HJTY23M;
210210
LastSwiftMigration = 1000;
211+
ProvisioningStyle = Automatic;
211212
};
212213
D71DE8801AD677A7001E62F1 = {
213214
CreatedOnToolsVersion = 6.3;
@@ -414,13 +415,15 @@
414415
buildSettings = {
415416
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
416417
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
418+
CODE_SIGN_IDENTITY = "iPhone Developer";
419+
CODE_SIGN_STYLE = Automatic;
417420
DEVELOPMENT_TEAM = "";
418421
INFOPLIST_FILE = camera/Info.plist;
419422
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
420423
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
421424
PRODUCT_BUNDLE_IDENTIFIER = cameraDemo;
422425
PRODUCT_NAME = "$(TARGET_NAME)";
423-
PROVISIONING_PROFILE_SPECIFIER = "General Development";
426+
PROVISIONING_PROFILE_SPECIFIER = "";
424427
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
425428
SWIFT_VERSION = 4.2;
426429
};
@@ -431,13 +434,15 @@
431434
buildSettings = {
432435
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
433436
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
437+
CODE_SIGN_IDENTITY = "iPhone Developer";
438+
CODE_SIGN_STYLE = Automatic;
434439
DEVELOPMENT_TEAM = "";
435440
INFOPLIST_FILE = camera/Info.plist;
436441
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
437442
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
438443
PRODUCT_BUNDLE_IDENTIFIER = cameraDemo;
439444
PRODUCT_NAME = "$(TARGET_NAME)";
440-
PROVISIONING_PROFILE_SPECIFIER = "General Development";
445+
PROVISIONING_PROFILE_SPECIFIER = "";
441446
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
442447
SWIFT_VERSION = 4.2;
443448
};

camera/Base.lproj/LaunchScreen.xib

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES">
33
<device id="retina4_7" orientation="portrait">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
77
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
9-
<capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
109
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1110
</dependencies>
1211
<objects>
@@ -16,8 +15,8 @@
1615
<rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
1716
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1817
<subviews>
19-
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" Copyright (c) 2018 Imaginary Cloud. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye">
20-
<rect key="frame" x="20" y="440" width="441" height="20"/>
18+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" Copyright (c) 2019 Imaginary Cloud. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye">
19+
<rect key="frame" x="20" y="440" width="440" height="20"/>
2120
<fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="17"/>
2221
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
2322
<nil key="highlightedColor"/>
@@ -45,6 +44,6 @@
4544
</view>
4645
</objects>
4746
<resources>
48-
<image name="logo" width="300" height="300"/>
47+
<image name="logo" width="600" height="600"/>
4948
</resources>
5049
</document>

camera/Base.lproj/Main.storyboard

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="bhK-VL-qY4">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="bhK-VL-qY4">
33
<device id="retina4_0" orientation="portrait">
44
<adaptation id="fullscreen"/>
55
</device>
66
<dependencies>
77
<deployment identifier="iOS"/>
8-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
99
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
1010
</dependencies>
1111
<scenes>
@@ -205,7 +205,7 @@
205205
<constraints>
206206
<constraint firstItem="v1g-94-paQ" firstAttribute="leading" secondItem="Qhk-xW-6b1" secondAttribute="leading" id="AJ6-Mx-ha2"/>
207207
<constraint firstItem="hZh-Id-5lE" firstAttribute="leading" secondItem="v1g-94-paQ" secondAttribute="leading" constant="30" id="Jq1-eb-SFZ"/>
208-
<constraint firstItem="qVT-yr-0bo" firstAttribute="top" secondItem="v1g-94-paQ" secondAttribute="bottom" id="QTs-sj-GPP"/>
208+
<constraint firstAttribute="bottom" secondItem="v1g-94-paQ" secondAttribute="bottom" id="QTs-sj-GPP"/>
209209
<constraint firstAttribute="trailing" secondItem="v1g-94-paQ" secondAttribute="trailing" id="SFa-Zd-kVH"/>
210210
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="hZh-Id-5lE" secondAttribute="trailing" constant="20" symbolic="YES" id="UH1-4N-eDV"/>
211211
<constraint firstItem="v1g-94-paQ" firstAttribute="top" secondItem="Qhk-xW-6b1" secondAttribute="top" id="jLa-Hd-QGr"/>

camera/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class ViewController: UIViewController {
203203
self.addCameraToView()
204204
} else {
205205
if #available(iOS 10.0, *) {
206-
UIApplication.shared.open(URL(string:UIApplicationOpenSettingsURLString)!)
206+
UIApplication.shared.open(URL(string:UIApplication.openSettingsURLString)!)
207207
} else {
208208
// Fallback on earlier versions
209209
}

0 commit comments

Comments
 (0)