Skip to content

Commit 503f3e1

Browse files
committed
Releasing version 3.0.0.
1 parent adb025f commit 503f3e1

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ matrix:
2222
env: ACTION=carthage_build
2323

2424
script:
25+
- instruments -s devices # List all available simulators
2526
- bundle exec fastlane $ACTION

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
33

44
# Next
55

6+
## [3.0.0](https://github.com/MLSDev/LoadableViews/releases/tag/3.0.0)
7+
8+
* LoadableView no longer sets 'translatesAutoresizingMasksIntoConstraints' property on container view to false. If you plan to use LoadableView without superview, consider turning this property to false manually, because without a container view it will not be able to compute it's size.
9+
610
## [2.3.0](https://github.com/MLSDev/LoadableViews/releases/tag/2.3.0)
711

812
* Added `LoadableControl` to allow LoadableView subclasses to have UIControl properties and methods.

Example/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.3.0</string>
18+
<string>3.0.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

LoadableViews.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "LoadableViews"
3-
s.version = "2.3.0"
3+
s.version = "3.0.0"
44
s.summary = "Easiest way to load view classes into another XIB or storyboard."
55
s.homepage = "https://github.com/MLSDev/LoadableViews"
66
s.screenshots = "https://github.com/MLSDev/LoadableViews/raw/master/wtf_cat_designable.png"

Source/LoadableView.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ extension NibLoadableProtocol {
6464
}
6565

6666
public func setupView(_ view: UIView, inContainer container: UIView) {
67-
container.translatesAutoresizingMaskIntoConstraints = false
6867
container.backgroundColor = .clear
6968
container.addSubview(view)
7069
view.translatesAutoresizingMaskIntoConstraints = false

Supporting Files/Tests.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.3.0</string>
18+
<string>3.0.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

0 commit comments

Comments
 (0)