# Auto Layout by Tutorials

**URL:** https://forums.kodeco.com/c/books/auto-layout-by-tutorials/65.md

[Latest](https://forums.kodeco.com/latest.md) · [Categories](https://forums.kodeco.com/categories.md) · [Tags](https://forums.kodeco.com/tags.md)

---

## [Errata for Auto Layout by Tutorials 1st Edition](https://forums.kodeco.com/t/errata-for-auto-layout-by-tutorials-1st-edition/109437)

<div class="topic-metadata">

**Author:** [@mandafrederick](https://forums.kodeco.com/u/mandafrederick)\
**Replies:** 28\
**Last updated:** [March 24, 2022, 2:24pm UTC](https://forums.kodeco.com/t/errata-for-auto-layout-by-tutorials-1st-edition/109437 "2022-03-24T14:24:58Z")

</div>

Creating this topic to create any typos and bugs in the 1st Edition of Auto Layout by Tutorials.

---

## [About the Auto Layout by Tutorials category](https://forums.kodeco.com/t/about-the-auto-layout-by-tutorials-category/109436)

<div class="topic-metadata">

**Author:** [@mandafrederick](https://forums.kodeco.com/u/mandafrederick)\
**Replies:** 0

</div>

This is the official forum for our book, Auto Layout by Tutorials, available here: https://store.raywenderlich.com/products/auto-layout-by-tutorials

---

## [How anchor works relative to another anchor?](https://forums.kodeco.com/t/how-anchor-works-relative-to-another-anchor/206014)

<div class="topic-metadata">

**Author:** [@darkcavalier11](https://forums.kodeco.com/u/darkcavalier11)\
**Replies:** 3\
**Last updated:** [September 5, 2024, 2:39pm UTC](https://forums.kodeco.com/t/how-anchor-works-relative-to-another-anchor/206014 "2024-09-05T14:39:07Z")

</div>

On chapter 6 Implementing self-sizing cells section there is a line of constraint that is follow contentView.trailingAnchor.constraint( greaterThanOrEqualTo: bubbleImageView.trailingAnchor, constant: 20), Fr…

---

## [Doubts in setting up constraints for Y axis for a subview](https://forums.kodeco.com/t/doubts-in-setting-up-constraints-for-y-axis-for-a-subview/206000)

<div class="topic-metadata">

**Author:** [@darkcavalier11](https://forums.kodeco.com/u/darkcavalier11)\
**Replies:** 1\
**Last updated:** [August 25, 2024, 1:09pm UTC](https://forums.kodeco.com/t/doubts-in-setting-up-constraints-for-y-axis-for-a-subview/206000 "2024-08-25T13:09:34Z")

</div>

On the end of chapter 4, the challenge ask to code a view and center it on the screen. While i was able to build the view, not able to properly center it on the Y-axis. I saw the challenge solution, but it has the same i…

---

## [Link not working](https://forums.kodeco.com/t/link-not-working/116729)

<div class="topic-metadata">

**Author:** [@thomasbagalot](https://forums.kodeco.com/u/thomasbagalot)\
**Replies:** 6\
**Last updated:** [September 2, 2022, 1:20pm UTC](https://forums.kodeco.com/t/link-not-working/116729 "2022-09-02T13:20:58Z")

</div>

The link https://store.raywenderlich.com/products/auto-layout-by-tutorials-source-code is throwing 404 error.

---

## [Vary for Traits xCode 13.1](https://forums.kodeco.com/t/vary-for-traits-xcode-13-1/159429)

<div class="topic-metadata">

**Author:** [@will\_l-b](https://forums.kodeco.com/u/will_l-b)\
**Replies:** 1\
**Last updated:** [December 6, 2021, 12:43pm UTC](https://forums.kodeco.com/t/vary-for-traits-xcode-13-1/159429 "2021-12-06T12:43:02Z")

</div>

Chap 10 page 190 is about adding a constraint for a size class using “Vary for Traits” command from the popup on the “Device Configuration Bar”. However WHERE / HOW is a new constraint created for a particular size clas…

---

## [How to implement dynamic type with collection view compositional layout?](https://forums.kodeco.com/t/how-to-implement-dynamic-type-with-collection-view-compositional-layout/137772)

<div class="topic-metadata">

**Author:** [@skyfoxs](https://forums.kodeco.com/u/skyfoxs)\
**Replies:** 0\
**Last updated:** [April 15, 2021, 2:56am UTC](https://forums.kodeco.com/t/how-to-implement-dynamic-type-with-collection-view-compositional-layout/137772 "2021-04-15T02:56:58Z")

</div>

Hi. To support dynamic type in the collection view, in the book we create a custom collection view layout. I have a question. Can we use the collection view compositional layout and still support the dynamic type? Cur…

---

## [Minimization after application](https://forums.kodeco.com/t/minimization-after-application/132131)

<div class="topic-metadata">

**Author:** [@ahadi](https://forums.kodeco.com/u/ahadi)\
**Replies:** 0\
**Last updated:** [February 7, 2021, 6:24pm UTC](https://forums.kodeco.com/t/minimization-after-application/132131 "2021-02-07T18:24:02Z")

</div>

On Chapter 14.6 - Cassowary, on the topic of Application after solving unrestricted variables it moves to minimization. However there’s no mention of minimization before then. When and how do we come to xm - xl?

---

## [Chapter 2 page 49](https://forums.kodeco.com/t/chapter-2-page-49/119906)

<div class="topic-metadata">

**Author:** [@padupp](https://forums.kodeco.com/u/padupp)\
**Replies:** 2\
**Last updated:** [December 31, 2020, 7:19am UTC](https://forums.kodeco.com/t/chapter-2-page-49/119906 "2020-12-31T07:19:08Z")

</div>

i create ContactPreviewView.xib but i can’t go to view like the last picture on page 49 there is no view

---

## [Bottom Edge constraint seems inverted (but it works!)](https://forums.kodeco.com/t/bottom-edge-constraint-seems-inverted-but-it-works/121054)

<div class="topic-metadata">

**Author:** [@fischej](https://forums.kodeco.com/u/fischej)\
**Replies:** 3\
**Last updated:** [December 19, 2020, 10:38pm UTC](https://forums.kodeco.com/t/bottom-edge-constraint-seems-inverted-but-it-works/121054 "2020-12-19T22:38:57Z")

</div>

C3 “Stack View”, page 79. Point 7 says “Add a constraint that aligns the background view’s bottom edge greater than or equal to the superview’s Safe Area bottom edge with a zero constant.” This is apparently absolutely c…

---

## [Order of programmatically created constraints](https://forums.kodeco.com/t/order-of-programmatically-created-constraints/115557)

<div class="topic-metadata">

**Author:** [@pulkitap](https://forums.kodeco.com/u/pulkitap)\
**Replies:** 1\
**Last updated:** [August 20, 2020, 9:00am UTC](https://forums.kodeco.com/t/order-of-programmatically-created-constraints/115557 "2020-08-20T09:00:46Z")

</div>

On Page 133 of Chapter 6, following code is given for adding constraints - NSLayoutConstraint.activate(\[ //1 contentView.topAnchor.constraint( equalTo: bubbleImageView.topAnchor, constant: -10), contentView.trailingAn…

---

## [Weak vs Strong IBOutlets](https://forums.kodeco.com/t/weak-vs-strong-iboutlets/114950)

<div class="topic-metadata">

**Author:** [@pulkitap](https://forums.kodeco.com/u/pulkitap)\
**Replies:** 7\
**Last updated:** [August 20, 2020, 8:26am UTC](https://forums.kodeco.com/t/weak-vs-strong-iboutlets/114950 "2020-08-20T08:26:17Z")

</div>

Hi, Generally when we create IBOutlets, they are weak, but in book(Chapter 2), we are using strong. Is it intentional or some printing error? And if it is intentional, then what is the difference btw weak and strong IB…
