Auto Layout in code: addConstraints with Visual Format Language – Auto Layout, part 3

preview_player
Показать описание
In this video we use Visual Format Language (VFL) to create Auto Layout constraints in code.

Рекомендации по теме
Комментарии
Автор

Questions? Comments? Tweet me @twostraws.

twostraws
Автор

Paul, these tutorials are so helpful and well done, I cannot thank you enough for all of your hard work in putting these together! I have been following along for a while now and just want to mention something that I noticed while watching this video.


What I find to be the most helpful way of explaining things, is how in this video, you show the results of each step along the way. It is sometimes more difficult to do a lot of things at once, without seeing the results to know exactly and see visually what each line is doing. Imagine if we had to add the labels, stretch them, and space them out all at once without seeing the results until after the third step... we might not fully grasp how exactly we are altering the labels from their initial positions.


I like when you stop and simulate after each of those steps, because it just makes the concepts so much easier to grasp. I feel like what is most helpful in situations when you are showing us more efficient ways of doing things or how to unwrap optionals in a safer way, is to first show us what would happen if we did not make those extra checks, so we could see exactly how the solution applies. Hopefully that makes sense...


Either way, you clearly have an immense amount of experience teaching, because I don't know how you are able to perfectly convey all of these concepts in such little time. As you can see, I am not as proficient at getting my ideas across in such a concise manner, haha. I am in no way negatively criticizing your methods, rather just providing some feedback as to what I noticed was really helpful in this video particularly.

Thanks again for all of these amazing tutorials, and I cannot wait to get started on the SwiftUI tutorials!


Best,
Austin

ugikie
Автор

Every developer should know about constraining with FL? I think it is a waste of time to learn that tool, given there are too much things to learn in iOS development so constraints in storyboard are easier for beginners

vivienruas
join shbcf.ru