Skip to content

Commit b40beb7

Browse files
committed
Indent Readme with spaces instead of tabs
1 parent 142acdf commit b40beb7

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

PinLayout.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236
C8291E40247A242600E95886 /* AutoSizeCalculable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AutoSizeCalculable.swift; sourceTree = "<group>"; };
237237
C82DC20B20CE9F6800B7ACF5 /* Layoutable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Layoutable.swift; sourceTree = "<group>"; };
238238
C83588BF20DBC5E600D6E8F9 /* CALayerSpec.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CALayerSpec.swift; sourceTree = "<group>"; };
239-
C83600A520E2949200A3D891 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; usesTabs = 1; };
239+
C83600A520E2949200A3D891 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; usesTabs = 0; };
240240
C8C4928C20DA7DA700048357 /* CALayer+PinLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "CALayer+PinLayout.swift"; sourceTree = "<group>"; };
241241
DE878C8BA276883C90524382 /* Pods-PinLayoutTests-tvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PinLayoutTests-tvOS.debug.xcconfig"; path = "Target Support Files/Pods-PinLayoutTests-tvOS/Pods-PinLayoutTests-tvOS.debug.xcconfig"; sourceTree = "<group>"; };
242242
DF10846A212D8B4B00C23B80 /* BetweenSpec.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BetweenSpec.swift; sourceTree = "<group>"; };

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ Sizing views as part of the manual layout process is made with `sizeThatFits(_ s
14841484

14851485
###### Traditional example:
14861486
```swift
1487-
override func layoutSubviews() {
1487+
override func layoutSubviews() {
14881488
super.layoutSubviews()
14891489
scrollView.pin.all()
14901490
imageView.pin.top().horizontally().sizeToFit(.width).margin(margin)
@@ -1493,13 +1493,13 @@ Sizing views as part of the manual layout process is made with `sizeThatFits(_ s
14931493
}
14941494

14951495
override func sizeThatFits(_ size: CGSize) -> CGSize {
1496-
let availableSize = CGSize(width: size.width, height: CGFloat.greatestFiniteMagnitude)
1497-
return CGSize(width: size.width, height:
1498-
imageView.sizeThatFits(availableSize).height +
1499-
margin +
1500-
textLabel.sizeThatFits(availableSize).height +
1501-
margin
1502-
)
1496+
let availableSize = CGSize(width: size.width, height: CGFloat.greatestFiniteMagnitude)
1497+
return CGSize(width: size.width, height:
1498+
imageView.sizeThatFits(availableSize).height +
1499+
margin +
1500+
textLabel.sizeThatFits(availableSize).height +
1501+
margin
1502+
)
15031503
}
15041504
```
15051505

0 commit comments

Comments
 (0)