Skip to content

Commit 907dc1f

Browse files
committed
Minor fix in reloading pinned cell
1 parent 5193a1a commit 907dc1f

File tree

74 files changed

+148
-147
lines changed

Some content is hidden

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

74 files changed

+148
-147
lines changed

ChatLayout.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 = 'ChatLayout'
3-
s.version = '2.2.1'
3+
s.version = '2.2.2'
44
s.summary = 'Chat UI Library. It uses custom UICollectionViewLayout to provide you full control over the presentation.'
55
s.swift_version = '6.1'
66

ChatLayout/Classes/Core/Model/StateController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,7 @@ final class StateController<Layout: ChatLayoutRepresentation> {
919919
func applyConfiguration(_ configuration: ItemModel.Configuration, to item: inout ItemModel) {
920920
item.alignment = configuration.alignment
921921
item.interItemSpacing = configuration.interItemSpacing
922+
item.pinningType = configuration.pinningType
922923
if let calculatedSize = configuration.calculatedSize {
923924
item.calculatedSize = calculatedSize
924925
item.calculatedOnce = true

Example/Podfile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
PODS:
2-
- ChatLayout (2.2.1):
3-
- ChatLayout/Ultimate (= 2.2.1)
4-
- ChatLayout/Core (2.2.1)
5-
- ChatLayout/Extras (2.2.1):
2+
- ChatLayout (2.2.2):
3+
- ChatLayout/Ultimate (= 2.2.2)
4+
- ChatLayout/Core (2.2.2)
5+
- ChatLayout/Extras (2.2.2):
66
- ChatLayout/Core
7-
- ChatLayout/Ultimate (2.2.1):
7+
- ChatLayout/Ultimate (2.2.2):
88
- ChatLayout/Core
99
- ChatLayout/Extras
1010
- DifferenceKit (1.3.0):
@@ -35,7 +35,7 @@ EXTERNAL SOURCES:
3535
:path: "../"
3636

3737
SPEC CHECKSUMS:
38-
ChatLayout: 8fd4baf41dfd8bb879dd034cb16829519d765396
38+
ChatLayout: 9cbd56bd38c71e26ebccf1ed72395bd27bae4f65
3939
DifferenceKit: ab185c4d7f9cef8af3fcf593e5b387fb81e999ca
4040
FPSCounter: 884afec377de66637808c4f52ecc3b85a404732b
4141
InputBarAccessoryView: 1d7b0a672b36e370f01f264b3907ef39d03328e3

docs/Classes/CellLayoutContainerView.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<header class="header">
2222
<p class="header-col header-col--primary">
2323
<a class="header-link" href="../index.html">
24-
ChatLayout 2.2.1 Docs
24+
ChatLayout 2.2.2 Docs
2525
</a>
2626
(100% documented)
2727
</p>
@@ -482,7 +482,7 @@ <h4>Parameters</h4>
482482
</article>
483483
</div>
484484
<section class="footer">
485-
<p>&copy; 2025 <a class="link" href="https://github.com/ekazaev" target="_blank" rel="external noopener">Evgeny Kazaev</a>. All rights reserved. (Last updated: 2025-07-17)</p>
485+
<p>&copy; 2025 <a class="link" href="https://github.com/ekazaev" target="_blank" rel="external noopener">Evgeny Kazaev</a>. All rights reserved. (Last updated: 2025-07-30)</p>
486486
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.15.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
487487
</section>
488488
</body>

docs/Classes/ChatLayoutAttributes.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<header class="header">
2222
<p class="header-col header-col--primary">
2323
<a class="header-link" href="../index.html">
24-
ChatLayout 2.2.1 Docs
24+
ChatLayout 2.2.2 Docs
2525
</a>
2626
(100% documented)
2727
</p>
@@ -496,7 +496,7 @@ <h4>Declaration</h4>
496496
</article>
497497
</div>
498498
<section class="footer">
499-
<p>&copy; 2025 <a class="link" href="https://github.com/ekazaev" target="_blank" rel="external noopener">Evgeny Kazaev</a>. All rights reserved. (Last updated: 2025-07-17)</p>
499+
<p>&copy; 2025 <a class="link" href="https://github.com/ekazaev" target="_blank" rel="external noopener">Evgeny Kazaev</a>. All rights reserved. (Last updated: 2025-07-30)</p>
500500
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.15.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
501501
</section>
502502
</body>

docs/Classes/ChatLayoutInvalidationContext.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<header class="header">
2222
<p class="header-col header-col--primary">
2323
<a class="header-link" href="../index.html">
24-
ChatLayout 2.2.1 Docs
24+
ChatLayout 2.2.2 Docs
2525
</a>
2626
(100% documented)
2727
</p>
@@ -218,7 +218,7 @@ <h4>Declaration</h4>
218218
</article>
219219
</div>
220220
<section class="footer">
221-
<p>&copy; 2025 <a class="link" href="https://github.com/ekazaev" target="_blank" rel="external noopener">Evgeny Kazaev</a>. All rights reserved. (Last updated: 2025-07-17)</p>
221+
<p>&copy; 2025 <a class="link" href="https://github.com/ekazaev" target="_blank" rel="external noopener">Evgeny Kazaev</a>. All rights reserved. (Last updated: 2025-07-30)</p>
222222
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.15.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
223223
</section>
224224
</body>

docs/Classes/CollectionViewChatLayout.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<header class="header">
2222
<p class="header-col header-col--primary">
2323
<a class="header-link" href="../index.html">
24-
ChatLayout 2.2.1 Docs
24+
ChatLayout 2.2.2 Docs
2525
</a>
2626
(100% documented)
2727
</p>
@@ -1545,7 +1545,7 @@ <h4>Declaration</h4>
15451545
</article>
15461546
</div>
15471547
<section class="footer">
1548-
<p>&copy; 2025 <a class="link" href="https://github.com/ekazaev" target="_blank" rel="external noopener">Evgeny Kazaev</a>. All rights reserved. (Last updated: 2025-07-17)</p>
1548+
<p>&copy; 2025 <a class="link" href="https://github.com/ekazaev" target="_blank" rel="external noopener">Evgeny Kazaev</a>. All rights reserved. (Last updated: 2025-07-30)</p>
15491549
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.15.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
15501550
</section>
15511551
</body>

docs/Classes/ContainerCollectionReusableView.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<header class="header">
2222
<p class="header-col header-col--primary">
2323
<a class="header-link" href="../index.html">
24-
ChatLayout 2.2.1 Docs
24+
ChatLayout 2.2.2 Docs
2525
</a>
2626
(100% documented)
2727
</p>
@@ -399,7 +399,7 @@ <h4>Parameters</h4>
399399
</article>
400400
</div>
401401
<section class="footer">
402-
<p>&copy; 2025 <a class="link" href="https://github.com/ekazaev" target="_blank" rel="external noopener">Evgeny Kazaev</a>. All rights reserved. (Last updated: 2025-07-17)</p>
402+
<p>&copy; 2025 <a class="link" href="https://github.com/ekazaev" target="_blank" rel="external noopener">Evgeny Kazaev</a>. All rights reserved. (Last updated: 2025-07-30)</p>
403403
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.15.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
404404
</section>
405405
</body>

docs/Classes/ContainerCollectionViewCell.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<header class="header">
2222
<p class="header-col header-col--primary">
2323
<a class="header-link" href="../index.html">
24-
ChatLayout 2.2.1 Docs
24+
ChatLayout 2.2.2 Docs
2525
</a>
2626
(100% documented)
2727
</p>
@@ -399,7 +399,7 @@ <h4>Parameters</h4>
399399
</article>
400400
</div>
401401
<section class="footer">
402-
<p>&copy; 2025 <a class="link" href="https://github.com/ekazaev" target="_blank" rel="external noopener">Evgeny Kazaev</a>. All rights reserved. (Last updated: 2025-07-17)</p>
402+
<p>&copy; 2025 <a class="link" href="https://github.com/ekazaev" target="_blank" rel="external noopener">Evgeny Kazaev</a>. All rights reserved. (Last updated: 2025-07-30)</p>
403403
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.15.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
404404
</section>
405405
</body>

docs/Classes/EdgeAligningView.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<header class="header">
2222
<p class="header-col header-col--primary">
2323
<a class="header-link" href="../index.html">
24-
ChatLayout 2.2.1 Docs
24+
ChatLayout 2.2.2 Docs
2525
</a>
2626
(100% documented)
2727
</p>
@@ -557,7 +557,7 @@ <h4>Declaration</h4>
557557
</article>
558558
</div>
559559
<section class="footer">
560-
<p>&copy; 2025 <a class="link" href="https://github.com/ekazaev" target="_blank" rel="external noopener">Evgeny Kazaev</a>. All rights reserved. (Last updated: 2025-07-17)</p>
560+
<p>&copy; 2025 <a class="link" href="https://github.com/ekazaev" target="_blank" rel="external noopener">Evgeny Kazaev</a>. All rights reserved. (Last updated: 2025-07-30)</p>
561561
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.15.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p>
562562
</section>
563563
</body>

0 commit comments

Comments
 (0)